oracle.ide.docking
Interface DockableView
- All Superinterfaces:
- ControllerProvider, Dockable, Helpable, View
- All Known Subinterfaces:
- ExplorerWindow, InspectorWindow, LogWindow, NavigatorWindow, PaletteWindow
- All Known Implementing Classes:
- DockableWindow
- public interface DockableView
- extends Dockable, View
This interface is the bridge between the Dockable
interface docking system and the View
interface. Addin writers should extend DockableWindow
, and not implement this interface directly.
- See Also:
- Docking Package Summary
Field Summary |
static int |
CLOSED
stateChange constant. |
static int |
HIDDEN
stateChange constant. |
static int |
SHOWN
stateChange constant. |
Method Summary |
void |
setDockableVisible(boolean bVisible)
Shows/hides the dockable. |
void |
setType(int type)
Set the dockable type. |
Methods inherited from interface oracle.ide.docking.Dockable |
addTitleChangeListener, getDefaultVisibility, getHostedComponent, getMenuPreferredMnemonic, getMenuTitle, getSite, getTabDropListener, getTabIcon, getTabName, getTitleName, getType, getUniqueName, loadLayout, removeTitleChangeListener, saveLayout, setSite |
Methods inherited from interface oracle.ide.addin.View |
activate, addViewListener, addViewSelectionListener, close, deactivate, getContext, getContext, getContextMenu, getGUI, getId, getSelection, getToolbar, isVisible, owner, removeViewListener, removeViewSelectionListener, setToolbarVisible, show, updateTitle, updateVisibleActions |
SHOWN
public static final int SHOWN
- stateChange constant.
Used when the UI is made visible or accessible.
Accessible means it is tabbed with other dockable windows. In this case, the SHOWN stateChange will be sent although the JComponent.isVisible==false.
SHOWN will be used when a layout is loaded as well as when the API is used.
- See Also:
- Constant Field Values
HIDDEN
public static final int HIDDEN
- stateChange constant.
HIDDEN is the counterpart of SHOWN
It will be called when the user pressed the 'X' button, and when the layout changes (even if the dockable is visible in both layouts)
- See Also:
- Constant Field Values
CLOSED
public static final int CLOSED
- stateChange constant.
CLOSED is sent to Dockable that return TYPE_DISCARDABLE on getType().
CLOSED is sent when the close button is pressed after HIDDEN only if the dockable is alone in a window or tabbed only with other discardable windows.
- See Also:
- Constant Field Values
setDockableVisible
public void setDockableVisible(boolean bVisible)
- Shows/hides the dockable. This should be called in place of setVisible
setType
public void setType(int type)
- Set the dockable type.
Copyright © 1997, 2004, Oracle. All rights reserved.