Extension SDK 10.1.2

oracle.ide.palette
Interface Palette

All Superinterfaces:
Data, Displayable, Element, Folder

public interface Palette
extends Folder

Palette - Palette Model based on PalettePage and PaletteItem.

See Also:
PalettePage.java, PaletteItem.java

Method Summary
 void addItems(java.util.List items)
          Add Items to Palette.
 PalettePage addPage(java.lang.String pageName, java.lang.String showForTypes, java.lang.String type, boolean canRemove, boolean listView, boolean isPersistent)
          Add page to palette
 void addPaletteModelListener(PaletteModelListener l)
          Add a PaletteListener to the listener list.
 PaletteItem getActiveItem()
          Returns Active PaletteItem
 PalettePage getActivePage()
          Returns Active PalettePage
 PalettePage getPalettePage(java.lang.String pageName)
          Retrieve the PalettePage by name
 boolean removePage(java.lang.String pageName)
          Remove a page from the palette
 void removePaletteModelListener(PaletteModelListener l)
          Remove a PaletteListener from listener list
 void setActiveItem(PaletteItem activeItem)
          Sets PaletteItem as active PaletteItem
 void setActivePage(PalettePage activePage)
          Sets Active PalettePage
 
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

setActiveItem

public void setActiveItem(PaletteItem activeItem)
Sets PaletteItem as active PaletteItem


getActiveItem

public PaletteItem getActiveItem()
Returns Active PaletteItem


setActivePage

public void setActivePage(PalettePage activePage)
Sets Active PalettePage


getActivePage

public PalettePage getActivePage()
Returns Active PalettePage


getPalettePage

public PalettePage getPalettePage(java.lang.String pageName)
Retrieve the PalettePage by name

Parameters:
pageName - Name of PalettePage
Returns:
PalettePage

addPaletteModelListener

public void addPaletteModelListener(PaletteModelListener l)
Add a PaletteListener to the listener list.

Parameters:
l - PaletteListener to add.

removePaletteModelListener

public void removePaletteModelListener(PaletteModelListener l)
Remove a PaletteListener from listener list

Parameters:
l - PaletteListener to remove.

addItems

public void addItems(java.util.List items)
Add Items to Palette.

Parameters:
items - List of PaletteItems to Add.

addPage

public PalettePage addPage(java.lang.String pageName,
                           java.lang.String showForTypes,
                           java.lang.String type,
                           boolean canRemove,
                           boolean listView,
                           boolean isPersistent)
Add page to palette


removePage

public boolean removePage(java.lang.String pageName)
Remove a page from the palette


Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.