Skip navigation links 
 
oracle.ide.palette2
Class PaletteWindow
java.lang.Object
   oracle.ide.view.View
oracle.ide.view.View
       oracle.ide.view.ViewDecorator
oracle.ide.view.ViewDecorator
           oracle.ide.docking.DockableView
oracle.ide.docking.DockableView
               oracle.ide.docking.DockableWindow
oracle.ide.docking.DockableWindow
                   oracle.ide.palette2.PaletteWindow
oracle.ide.palette2.PaletteWindow
- All Implemented Interfaces:
- ControllerProvider, Dockable, Helpable
- 
public abstract class PaletteWindow
 
- extends DockableWindow
The PaletteWindow class is the Component Palette View.
PaletteWindow is an abstract class with the implementation class in oracle.ideimpl.palette2.
A reference to the instantiated class is obtained by calling PaletteManager.getPaletteWindow.
- See Also:
- Palette,- PalettePage,- PaletteGroup,- PaletteSection,- PaletteItem,- PaletteListener,- PaletteManager
 
| Field Summary | 
| static java.lang.String | LAYOUT_RAISE_PALETTE2Raises the palette if a property named
 Layout.RaisePaletteis true | 
| static java.lang.String | LAYOUT_SHOW_PALETTE2Shows the palette if a property named
 Layout.ShowPalette2is true | 
| static java.lang.String | VIEW_NAME
 | 
| static java.lang.String | VIEW_TYPE
 | 
 
 
 
  
 
| Constructor Summary | 
| protected | PaletteWindow(java.lang.String viewName)
 | 
  
 
 
| Methods inherited from class oracle.ide.docking.DockableWindow | 
| addTitleChangeListener, close, dockableHidden, dockableShown, fireTitleChangeListener, getCachedDockable, getDefaultVisibility, getHostedComponent, getMenuTitle, getSite, getTabDropListener, getTabIcon, getType, getUniqueName, isVisible, removeTitleChangeListener, setDockableVisible, setSite, setType, show, stateChange, updateTitle | 
 
 
| Methods inherited from class oracle.ide.view.ViewDecorator | 
| activate, deactivate, getContext, getController, getGUI, getHelpInfo, getSelectionFromUI, getToolbar, getViewWithoutDecoration, loadLayout, newId, saveLayout, setOwner, setToolbarVisible, updateVisibleActions | 
 
| Methods inherited from class oracle.ide.view.View | 
| addViewListener, addViewSelectionListener, addViewStateListener, fireViewCollapsed, fireViewExpanded, fireViewSelectionChanged, getContext, getId, getSelection, getTabName, loadManifestToolbar, loadManifestToolbar, owner, removeViewListener, removeViewSelectionListener, removeViewStateListener, scheduleUpdateSelection, setId, toString, updateSelection, updateSelectionImpl, updateToolbarActions, updateVisibleActions | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
 
 
VIEW_TYPE
public static final java.lang.String VIEW_TYPE
- 
- See Also:
- Constant Field Values
 
VIEW_NAME
public static final java.lang.String VIEW_NAME
- 
- See Also:
- Constant Field Values
 
LAYOUT_SHOW_PALETTE2
public static final java.lang.String LAYOUT_SHOW_PALETTE2
- Shows the palette if a property named Layout.ShowPalette2is true
- See Also:
- Constant Field Values
 
LAYOUT_RAISE_PALETTE2
public static final java.lang.String LAYOUT_RAISE_PALETTE2
- Raises the palette if a property named Layout.RaisePaletteis true
- See Also:
- Constant Field Values
 
PaletteWindow
protected PaletteWindow(java.lang.String viewName)
viewId
public static java.lang.String viewId()
addPaletteListener
public abstract void addPaletteListener(PaletteListener paletteListener)
- Add a PaletteListener to listener list.
- 
- Parameters:
- paletteListener- to add.
 
removePaletteListener
public abstract void removePaletteListener(PaletteListener paletteListener)
- Remove a PaletteListener from listener list.
- 
- Parameters:
- paletteListener- to remove.
 
unSelectSelectedItem
public abstract void unSelectSelectedItem()
- Unselects selected component in the palette. Click & Click mode requires this API. This API is called by the client editor after a component has been 'clicked' onto that editor. Note, this API has no affect when sticky mode is active.
getFocusedItem
public abstract PaletteItem getFocusedItem()
- Returns the currently focused/highlighted item. This need not be the selected item necessarily.
- 
- Returns:
- the item in the componenet palette that currently has focus.
 
getContextMenu
public abstract ContextMenu getContextMenu()
- 
- Overrides:
- getContextMenuin class- ViewDecorator
 
- 
- Returns:
- the context menu for Palette2.
 
Skip navigation links 
 
Copyright © 1997, 2015, Oracle. All rights reserved.