public interface PalettePage extends Folder
| Modifier and Type | Method and Description | 
|---|---|
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 
 | 
PaletteItem | 
getPaletteItem(java.lang.String itemName)
Retrieve PaletteItem by Item Name 
 | 
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 | 
getTechnologyScope()
Return Technology Scope 
 | 
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 | 
setTechnologyScope(java.lang.String scope)
Set Technology Scope 
 | 
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. 
 | 
add, canAdd, canRemove, containsChild, remove, removeAll, sizegetAttributes, getChildren, getData, mayHaveChildrengetIcon, getLongLabel, getShortLabel, getToolTipText, toStringjava.util.ArrayList getPaletteItems()
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 itemboolean - IsPersistent Used to persist item after shutdown.longLabel - 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.boolean isPersistent()
void setIsPersistent(boolean isPersistent)
boolean canShow()
void setCanShow(boolean canShow)
void setShowForTypes(java.lang.String types)
the - semi-colon delimited suffixes.java.lang.String getShowForTypes()
void setName(java.lang.String name)
name - of page.java.lang.String getName()
void setPaletteContext(java.lang.String paletteContextClass)
the - paletteContext to usejava.lang.String getPaletteContext()
void setType(java.lang.String type)
the - suffix to map this page to.java.lang.String getType()
void setView(java.lang.String view)
the - view for this page.java.lang.String getView()
void setCanRemove(boolean canRemove)
false - if this page can be removed, defaults to true.boolean getCanRemove()
void setPageEditor(java.lang.String pageEditor)
pageEditor -java.lang.String getPageEditor()
void setProjectConfigurator(java.lang.String pc)
the - ProjectConfigurator to evaluate this page.java.lang.String getProjectConfigurator()
void setDraggable(boolean draggable)
draggable -boolean getDraggable()
PaletteItem getPaletteItem(java.lang.String itemName)
itemName - Name of Itemvoid setTechnologyScope(java.lang.String scope)
scope -java.lang.String getTechnologyScope()