|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
addPaletteItem(java.lang.String icon,
java.lang.String info,
boolean isPersistent,
java.lang.String longLabel,
java.lang.String shortLabel,
java.lang.String type,
java.lang.String editor,
java.lang.String library)
Add a palette item to the Palette Page |
boolean |
canShow()
Returns true if palette page can display itself. |
boolean |
getCanRemove()
Returns if this page can be removed by the user. |
boolean |
getDraggable()
Return dnd. |
java.lang.String |
getName()
Return the name of the page. |
java.lang.String |
getPageEditor()
Return the PageEditor for this PalettePage |
java.lang.String |
getPaletteContext()
Return the PaletteContext |
java.util.ArrayList |
getPaletteItems()
Return list of the palette items contained within the page |
java.lang.String |
getProjectConfigurator()
Return the project configurator for this PalettePage |
java.lang.String |
getShowForTypes()
Get current type list |
java.lang.String |
getType()
Return the main type( suffix ) that maps to this page |
java.lang.String |
getView()
Return the current view |
boolean |
isPersistent()
Return true if page info should be persisted |
void |
setCanRemove(boolean canRemove)
Set if this page can be removed by the users |
void |
setCanShow(boolean canShow)
Set whether to allow the palette page to display itself. |
void |
setDraggable(boolean draggable)
Sets if the all palette items belonging to this page can be dragged. |
void |
setIsPersistent(boolean isPersistent)
Set whether to save information during shutdown. |
void |
setName(java.lang.String name)
Set the name of the page. |
void |
setPageEditor(java.lang.String pageEditor)
Set the PageEditor for this Palette Page |
void |
setPaletteContext(java.lang.String paletteContextClass)
Set the PaletteContext |
void |
setProjectConfigurator(java.lang.String pc)
Set the project configuration for this PalettePage |
void |
setShowForTypes(java.lang.String types)
Set which page types to show this page for. |
void |
setType(java.lang.String type)
Set the main type( suffix ) to map this page to. |
void |
setView(java.lang.String view)
Set the main view( list or icon ) for this page. |
Methods inherited from interface oracle.ide.model.Folder |
add, canAdd, canRemove, containsChild, remove, removeAll, size |
Methods inherited from interface oracle.ide.model.Element |
getAttributes, getChildren, mayHaveChildren |
Methods inherited from interface oracle.ide.model.Data |
getData |
Methods inherited from interface oracle.ide.model.Displayable |
getIcon, getLongLabel, getShortLabel, getToolTipText, toString |
Method Detail |
public java.util.ArrayList getPaletteItems()
public void addPaletteItem(java.lang.String icon, java.lang.String info, boolean isPersistent, java.lang.String longLabel, java.lang.String shortLabel, java.lang.String type, java.lang.String editor, java.lang.String library)
icon
- URL of Icon for palette to displayinfo
- Extra information associated with itemlongLabel
- Tooltip infoshortLabel
- Generally used as the display name.type
- Type of palette item( java, jsp, html, etc. )editor
- Editor associated with item which will be invoked.library
- All libraries that should be added to project when item is pressed.public boolean isPersistent()
public void setIsPersistent(boolean isPersistent)
public boolean canShow()
public void setCanShow(boolean canShow)
public void setShowForTypes(java.lang.String types)
public java.lang.String getShowForTypes()
public void setName(java.lang.String name)
name
- of page.public java.lang.String getName()
public void setPaletteContext(java.lang.String paletteContextClass)
public java.lang.String getPaletteContext()
public void setType(java.lang.String type)
public java.lang.String getType()
public void setView(java.lang.String view)
public java.lang.String getView()
public void setCanRemove(boolean canRemove)
public boolean getCanRemove()
public void setPageEditor(java.lang.String pageEditor)
pageEditor
- public java.lang.String getPageEditor()
public void setProjectConfigurator(java.lang.String pc)
public java.lang.String getProjectConfigurator()
public void setDraggable(boolean draggable)
draggable
- public boolean getDraggable()
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.