Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.ide.palette
Class PaletteWindow

java.lang.Object
  extended by oracle.ide.view.View
      extended by oracle.ide.view.ViewDecorator
          extended by oracle.ide.docking.DockableView
              extended by oracle.ide.docking.DockableWindow
                  extended by oracle.ide.palette.PaletteWindow

All Implemented Interfaces:
ControllerProvider, Dockable, Helpable

public abstract class PaletteWindow
extends DockableWindow

The PaletteWindow class is the Component Palette view.


Field Summary
static java.lang.String COMPONENT_PALETTE_ID
           
static java.lang.String LAYOUT_RAISE_PALETTE
          Raises the palette if a property named Layout.RaisePalette is true
static java.lang.String LAYOUT_SHOW_PALETTE
          Shows the palette if a property named Layout.ShowPalette is true

 

Fields inherited from class oracle.ide.docking.DockableView
CLOSED, HIDDEN, SHOWN

 

Fields inherited from class oracle.ide.view.View
EMPTY_SELECTION, PROJECT_PROP, VISIBLE_PROP, WORKSPACE_PROP

 

Fields inherited from interface oracle.ide.docking.Dockable
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

 

Constructor Summary
protected PaletteWindow()
           

 

Method Summary
abstract  void addADAPaletteListener(ADAPaletteListener l)
          Add an ADAPaletteListener to listener list.
abstract  void addPaletteListener(PaletteListener l)
          Add a PaletteListener to listener list.
abstract  void addToHistoryHash(java.lang.String fileType, java.lang.String pageName)
           
abstract  void checkIfPopulated()
           
abstract  PaletteItem getActivePanelItem()
           
abstract  java.util.ArrayList getActivePanelItemList()
           
abstract  Editor getEditor()
           
abstract  Palette getPalette()
           
abstract  PaletteItem getSelectedItem()
           
abstract  boolean isPanelActive()
           
abstract  void removeADAPaletteListener(ADAPaletteListener l)
          Remove an ADAPaletteListener from listener list
abstract  void removePaletteListener(PaletteListener l)
          Remove a PaletteListener from listener list
abstract  void reset()
          Reset is called after item has been placed onto choosen editor.
abstract  void setActivePanelItemEnabled(PaletteItem pi, boolean selected)
           
abstract  void setActivePanelItemSelected(PaletteItem pi, boolean selected)
           
abstract  void showType(java.lang.String pageType)
          Have the palette only show particular items

 

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.docking.DockableView
afterAutoExpanding, afterRestoringFromAutoExpansion, beforeAutoExpanding, getAutoExpansionPreferredSize, getAutoExpansionSize, isAutoExpandable, isAutoExpandableEnabled, setAutoExpandable, setAutoExpandableEnabled

 

Methods inherited from class oracle.ide.view.ViewDecorator
activate, deactivate, getContext, getContextMenu, getController, getDecorated, getGUI, getHelpInfo, getSelectionFromUI, getToolbar, getViewWithoutDecoration, isDecorated, loadLayout, newId, saveLayout, setDecorated, 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

 

Methods inherited from interface oracle.ide.docking.Dockable
getTabName, getTitleName, loadLayout, saveLayout

 

Field Detail

COMPONENT_PALETTE_ID

public static final java.lang.String COMPONENT_PALETTE_ID
See Also:
Constant Field Values

LAYOUT_SHOW_PALETTE

public static final java.lang.String LAYOUT_SHOW_PALETTE
Shows the palette if a property named Layout.ShowPalette is true
See Also:
Constant Field Values

LAYOUT_RAISE_PALETTE

public static final java.lang.String LAYOUT_RAISE_PALETTE
Raises the palette if a property named Layout.RaisePalette is true
See Also:
Constant Field Values

Constructor Detail

PaletteWindow

protected PaletteWindow()

Method Detail

reset

public abstract void reset()
Reset is called after item has been placed onto choosen editor.

getSelectedItem

public abstract PaletteItem getSelectedItem()

getEditor

public abstract Editor getEditor()

checkIfPopulated

public abstract void checkIfPopulated()

getPalette

public abstract Palette getPalette()

addToHistoryHash

public abstract void addToHistoryHash(java.lang.String fileType,
                                      java.lang.String pageName)

isPanelActive

public abstract boolean isPanelActive()
Returns:
true if active IconPanel

getActivePanelItem

public abstract PaletteItem getActivePanelItem()
Returns:
active PaletteItem

getActivePanelItemList

public abstract java.util.ArrayList getActivePanelItemList()
Returns:
active IconList

setActivePanelItemSelected

public abstract void setActivePanelItemSelected(PaletteItem pi,
                                                boolean selected)

setActivePanelItemEnabled

public abstract void setActivePanelItemEnabled(PaletteItem pi,
                                               boolean selected)

showType

public abstract void showType(java.lang.String pageType)
Have the palette only show particular items
Parameters:
pageType - Type of page ( ex. jsp, java )

addPaletteListener

public abstract void addPaletteListener(PaletteListener l)
Add a PaletteListener to listener list.
Parameters:
l - PaletteListener to add

removePaletteListener

public abstract void removePaletteListener(PaletteListener l)
Remove a PaletteListener from listener list
Parameters:
l - PaletteListener to remove.

addADAPaletteListener

public abstract void addADAPaletteListener(ADAPaletteListener l)
Add an ADAPaletteListener to listener list.
Parameters:
l - ADAPaletteListener to add

removeADAPaletteListener

public abstract void removeADAPaletteListener(ADAPaletteListener l)
Remove an ADAPaletteListener from listener list
Parameters:
l - ADAPaletteListener to remove.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


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