|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ide.palette2.PaletteGroup
oracle.ide.palette2.DefaultPaletteGroup
public class DefaultPaletteGroup
DefaultPaletteGroup - class provides a default PaletteGroup 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
, DefaultPalettePage
, DefaultPaletteSection
Field Summary | |
---|---|
static java.lang.String |
GROUP_GROUPEDITOR |
static java.lang.String |
GROUP_GROUPID HashMap pageData keys |
static java.lang.String |
GROUP_PROJECTCONFIGURATION |
static java.lang.String |
GROUP_SHOWFORTYPES |
static java.lang.String |
GROUP_TECHNOLOGYSCOPES |
static java.lang.String |
GROUP_TYPE |
Constructor Summary | |
---|---|
DefaultPaletteGroup() |
|
DefaultPaletteGroup(java.lang.String name, java.lang.String description, java.lang.String groupId, java.lang.String type) |
|
DefaultPaletteGroup(java.lang.String name, java.lang.String description, java.lang.String icon, java.lang.String groupId, java.lang.String groupEditor, java.lang.String projectConfiguration, java.util.List<java.lang.String> showForTypes, java.util.List<java.lang.String> technologyScopes, java.lang.String type) |
Method Summary | |
---|---|
void |
addSection(PaletteSection section) Add Palette Section |
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
getData(java.lang.Object key) Get data |
java.lang.String |
getDescription() Get description. |
javax.swing.Icon |
getIcon() Get Icon. |
PaletteItem |
getItem(java.lang.String itemId) |
java.lang.String |
getName() Get display name. |
java.util.Collection<PaletteSection> |
getSections() Get Palette Sections |
boolean |
isVisible(Context context) Indicates whether or not a palette group should be visible based on the supplied context. |
protected void |
removeAllSections() Remove All Palette Items |
protected void |
removeSection(PaletteSection section) Remove Palette Section |
protected void |
setData(java.lang.Object key, java.lang.Object data) |
protected void |
setDescription(java.lang.String description) |
protected void |
setIcon(javax.swing.Icon icon) |
protected void |
setIcon(java.lang.String iconParm) |
protected void |
setName(java.lang.String 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 GROUP_GROUPID
public static final java.lang.String GROUP_GROUPEDITOR
public static final java.lang.String GROUP_PROJECTCONFIGURATION
public static final java.lang.String GROUP_SHOWFORTYPES
public static final java.lang.String GROUP_TECHNOLOGYSCOPES
public static final java.lang.String GROUP_TYPE
Constructor Detail |
---|
public DefaultPaletteGroup()
public DefaultPaletteGroup(java.lang.String name, java.lang.String description, java.lang.String groupId, java.lang.String type)
public DefaultPaletteGroup(java.lang.String name, java.lang.String description, java.lang.String icon, java.lang.String groupId, java.lang.String groupEditor, java.lang.String projectConfiguration, java.util.List<java.lang.String> showForTypes, java.util.List<java.lang.String> technologyScopes, java.lang.String type)
Method Detail |
---|
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 PaletteGroup
protected void setData(java.lang.Object key, java.lang.Object data)
public PaletteItem getItem(java.lang.String itemId)
public void addSection(PaletteSection section)
section
-protected void removeSection(PaletteSection section)
section
-protected void removeAllSections()
public java.lang.String getName()
PaletteGroup
getName
in class PaletteGroup
protected void setName(java.lang.String name)
public java.lang.String getDescription()
PaletteGroup
getDescription
in class PaletteGroup
protected void setDescription(java.lang.String description)
public javax.swing.Icon getIcon()
PaletteGroup
getIcon
in class PaletteGroup
protected void setIcon(java.lang.String iconParm)
protected void setIcon(javax.swing.Icon icon)
public java.util.Collection<PaletteSection> getSections()
getSections
in class PaletteGroup
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isVisible(Context context)
PaletteGroup
isVisible
in class PaletteGroup
context
- The active context
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |