|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.palette2.PalettePage oracle.ide.palette2.DefaultPalettePage
public class DefaultPalettePage
DefaultPalettePage - class provides a default PalettePage model implementation that can be extended by client extension developers. Page provider oracle.ideimpl.palete2.DeclaredPageProvider utilizes the DefaultPalette* classes as concrete implementations for static Pages defined in the extension manifest.
Palette
,
DefaultPaletteGroup
,
DefaultPaletteSection
,
DefaultPaletteItem
Nested Class Summary | |
---|---|
static class |
DefaultPalettePage.Builder
|
static class |
DefaultPalettePage.PageRecord
Holds parameters passed during the creation a page. |
static class |
DefaultPalettePage.ShowForTypeRecord
Holds information about what document types are associated with this page. |
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_ICON
|
static java.lang.String |
PAGE_PAGECONTEXT
|
static java.lang.String |
PAGE_PAGEEDITOR
|
static java.lang.String |
PAGE_PAGEID
HashMap pageData keys |
static java.lang.String |
PAGE_PROJECTCONFIGURATION
|
static java.lang.String |
PAGE_SHOWFORTYPES
|
static java.lang.String |
PAGE_TECHNOLOGYSCOPES
|
static java.lang.String |
PAGE_TYPE
|
Constructor Summary | |
---|---|
DefaultPalettePage()
Deprecated. Use the public static inner Builder class to
construct a new instance. |
|
DefaultPalettePage(DefaultPalettePage.PageRecord record)
Deprecated. Use the public static inner Builder class to
construct a new instance. |
|
DefaultPalettePage(java.lang.String name,
java.lang.String description,
java.lang.String icon,
java.lang.String pageId)
Deprecated. Use the public static inner Builder class to
construct a new instance. |
|
DefaultPalettePage(java.lang.String name,
java.lang.String description,
java.lang.String icon,
java.lang.String pageId,
java.lang.String pageEditor,
java.lang.String projectConfiguration,
java.util.List<java.lang.String> showForTypes,
java.util.List<java.lang.String> technologyScopes,
java.lang.String type,
java.lang.String pageContext)
Deprecated. Use the public static inner Builder class to
construct a new instance. |
Method Summary | |
---|---|
void |
addGroup(PaletteGroup group)
Add Palette Group |
boolean |
equals(java.lang.Object obj)
|
java.lang.Object |
getData(java.lang.Object key)
Get data |
java.lang.String |
getDescription()
Get description. |
java.util.Collection<PaletteGroup> |
getGroups()
Get all Palette Groups |
javax.swing.Icon |
getIcon()
Get Icon. |
PaletteItem |
getItem(java.lang.String itemId)
|
java.lang.String |
getName()
Get display name. |
protected void |
removeGroup(DefaultPaletteGroup group)
Remove Palette Group |
protected void |
setData(java.lang.Object key,
java.lang.Object data)
|
protected void |
setDescription(java.lang.String description)
Set description |
protected void |
setIcon(javax.swing.Icon icon)
Set Icon. |
protected void |
setIcon(java.lang.String iconParm)
Set Icon. |
protected void |
setName(java.lang.String name)
Set display name. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_ICON
public static final java.lang.String PAGE_PAGEID
public static final java.lang.String PAGE_PAGEEDITOR
public static final java.lang.String PAGE_PROJECTCONFIGURATION
public static final java.lang.String PAGE_SHOWFORTYPES
public static final java.lang.String PAGE_TECHNOLOGYSCOPES
public static final java.lang.String PAGE_TYPE
public static final java.lang.String PAGE_PAGECONTEXT
Constructor Detail |
---|
@Deprecated public DefaultPalettePage()
Builder
class to
construct a new instance.
@Deprecated public DefaultPalettePage(java.lang.String name, java.lang.String description, java.lang.String icon, java.lang.String pageId, java.lang.String pageEditor, java.lang.String projectConfiguration, java.util.List<java.lang.String> showForTypes, java.util.List<java.lang.String> technologyScopes, java.lang.String type, java.lang.String pageContext)
Builder
class to
construct a new instance.
showForTypes
values as one of its arguments. This
did not allow to specify the active page for a given document type.
A new constructor, taking a PageRecord as parameter, has been introduced.
The new constructor should be used, it allows specifying the preferred
page in the showForTypes
paramenter.
Copies Groups and Items.
@Deprecated public DefaultPalettePage(java.lang.String name, java.lang.String description, java.lang.String icon, java.lang.String pageId)
Builder
class to
construct a new instance.
null
.
@Deprecated public DefaultPalettePage(DefaultPalettePage.PageRecord record)
Builder
class to
construct a new instance.
showForTypes
paramenter.
Copies Groups and Items.
Method Detail |
---|
public java.lang.String getName()
See attribute shortLabel.
getName
in class PalettePage
protected void setName(java.lang.String name)
See attribute shortLabel.
public java.lang.String getDescription()
See attribut longLabel.
getDescription
in class PalettePage
protected void setDescription(java.lang.String description)
See attribut longLabel.
public javax.swing.Icon getIcon()
getIcon
in class PalettePage
protected void setIcon(java.lang.String iconParm)
iconParm
- protected void setIcon(javax.swing.Icon icon)
See attribute icon.
icon
- public java.lang.Object getData(java.lang.Object key)
Use to surface arbitrary additional data. This is used to identify the item to their clients without requiring clients to cast to a PaletteItem subclass.
For example, in XMLEF, use getData to get from a PaletteItem back to the identification of what type of element to create (XmlKey). XMLEF's PaletteItem instances will have this data.
getData
in class PalettePage
protected void setData(java.lang.Object key, java.lang.Object data)
public PaletteItem getItem(java.lang.String itemId)
public void addGroup(PaletteGroup group)
group
- protected void removeGroup(DefaultPaletteGroup group)
group
- public java.util.Collection<PaletteGroup> getGroups()
getGroups
in class PalettePage
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |