|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.palette2.PaletteSection oracle.ide.palette2.DefaultPaletteSection
public class DefaultPaletteSection
DefaultPaletteSection - class provides a default PaletteSection 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
,
DefaultPaletteGroup
,
DefaultPaletteItem
Field Summary | |
---|---|
static java.lang.String |
SECTION_SECTIONID
HashMap pageData keys |
Constructor Summary | |
---|---|
DefaultPaletteSection()
Default constructor. |
|
DefaultPaletteSection(java.lang.String name,
java.lang.String sectionId)
Constructor |
Method Summary | |
---|---|
void |
addItem(PaletteItem item)
Add Palette Item |
boolean |
equals(java.lang.Object obj)
Equals |
java.lang.Object |
getData(java.lang.Object key)
Get data |
PaletteItem |
getItem(java.lang.String itemId)
|
java.util.Collection<PaletteItem> |
getItems()
Get Palette Items Items are ordered by Weight followed by name. |
java.lang.String |
getName()
Get display name. |
java.util.List<PaletteItem> |
getPaletteItems()
Get Palette Items Returns unsorted list; as opposed to getItems. |
protected void |
removeAllItems()
Remove All Palette Items |
void |
removeItem(PaletteItem item)
Remove Palette Item |
protected void |
setData(java.lang.Object key,
java.lang.Object data)
|
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 SECTION_SECTIONID
Constructor Detail |
---|
public DefaultPaletteSection()
public DefaultPaletteSection(java.lang.String name, java.lang.String sectionId)
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 PaletteSection
protected void setData(java.lang.Object key, java.lang.Object data)
public PaletteItem getItem(java.lang.String itemId)
public void addItem(PaletteItem item)
item
- public void removeItem(PaletteItem item)
item
- protected void removeAllItems()
public java.util.Collection<PaletteItem> getItems()
getItems
in class PaletteSection
public java.util.List<PaletteItem> getPaletteItems()
public java.lang.String getName()
See attribute shortLabel.
getName
in class PaletteSection
protected void setName(java.lang.String name)
See attribute shortLabel.
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
-
public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |