public abstract class PaletteWindow extends DockableWindow
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.
Palette
,
PalettePage
,
PaletteGroup
,
PaletteSection
,
PaletteItem
,
PaletteListener
,
PaletteManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LAYOUT_RAISE_PALETTE2
Raises the palette if a property named
Layout.RaisePalette is true |
static java.lang.String |
LAYOUT_SHOW_PALETTE2
Shows the palette if a property named
Layout.ShowPalette2 is true |
static java.lang.String |
VIEW_NAME |
static java.lang.String |
VIEW_TYPE |
CLOSED, HIDDEN, SHOWN
EMPTY_SELECTION, PROJECT_PROP, VISIBLE_PROP, WORKSPACE_PROP
DEFAULT_VISIBILITY_MINIMIZED, DEFAULT_VISIBILITY_RAISED, DEFAULT_VISIBILITY_VISIBLE, TYPE_DISCARDABLE, TYPE_FORGETTABLE, TYPE_GLOBAL_VISIBLE, TYPE_NO_BUTTONS, TYPE_NORMAL, TYPE_NOT_TABBED, TYPE_RECYCLABLE, TYPE_TRUNCATE_TITLE
Modifier | Constructor and Description |
---|---|
protected |
PaletteWindow(java.lang.String viewName) |
Modifier and Type | Method and Description |
---|---|
abstract void |
addPaletteListener(PaletteListener paletteListener)
Add a PaletteListener to listener list.
|
abstract ContextMenu |
getContextMenu() |
abstract PaletteItem |
getFocusedItem()
Returns the currently focused/highlighted item.
|
abstract boolean |
getUseLargeIcons() |
abstract void |
removePaletteListener(PaletteListener paletteListener)
Remove a PaletteListener from listener list.
|
abstract void |
setUseLargeIcons(boolean useLargeIcons) |
abstract void |
unSelectSelectedItem()
Unselects selected component in the palette.
|
static java.lang.String |
viewId() |
addTitleChangeListener, close, dockableHidden, dockableShown, fireTitleChangeListener, getCachedDockable, getDefaultVisibility, getHeaderComponents, getHostedComponent, getMenuTitle, getSite, getTabDropListener, getTabIcon, getType, getUniqueName, isDrawer, isVisible, removeTitleChangeListener, setDockableVisible, setSite, setType, show, stateChange, updateTitle
afterAutoExpanding, afterRestoringFromAutoExpansion, beforeAutoExpanding, getAutoExpansionPreferredSize, getAutoExpansionSize, isAutoExpandable, isAutoExpandableEnabled, setAutoExpandable, setAutoExpandableEnabled
activate, deactivate, getContext, getController, getDecorated, getGUI, getHelpInfo, getSelectionFromUI, getToolbar, getViewWithoutDecoration, isDecorated, loadLayout, newId, saveLayout, setDecorated, setOwner, setToolbarVisible, updateVisibleActions
addViewListener, addViewSelectionListener, addViewStateListener, fireViewCollapsed, fireViewExpanded, fireViewSelectionChanged, getContext, getId, getSelection, getTabName, loadManifestToolbar, loadManifestToolbar, owner, removeViewListener, removeViewSelectionListener, removeViewStateListener, scheduleUpdateSelection, setId, toString, updateSelection, updateSelectionImpl, updateToolbarActions, updateVisibleActions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getTabName, getTitleName, loadLayout, saveLayout
public static final java.lang.String VIEW_TYPE
public static final java.lang.String VIEW_NAME
public static final java.lang.String LAYOUT_SHOW_PALETTE2
Layout.ShowPalette2
is truepublic static final java.lang.String LAYOUT_RAISE_PALETTE2
Layout.RaisePalette
is truepublic static java.lang.String viewId()
public abstract void addPaletteListener(PaletteListener paletteListener)
paletteListener
- to add.public abstract void removePaletteListener(PaletteListener paletteListener)
paletteListener
- to remove.public abstract void unSelectSelectedItem()
public abstract PaletteItem getFocusedItem()
public abstract ContextMenu getContextMenu()
getContextMenu
in class ViewDecorator
public abstract void setUseLargeIcons(boolean useLargeIcons)
public abstract boolean getUseLargeIcons()