org.openpermis.editor.policy.gui.dock
Class ToolDockable

java.lang.Object
  extended by bibliothek.gui.dock.common.intern.AbstractCDockable
      extended by bibliothek.gui.dock.common.intern.DefaultCDockable
          extended by bibliothek.gui.dock.common.DefaultSingleCDockable
              extended by org.openpermis.editor.policy.gui.dock.ToolDockable
All Implemented Interfaces:
bibliothek.gui.dock.common.intern.CDockable, bibliothek.gui.dock.common.SingleCDockable, ViewDockable

public class ToolDockable
extends bibliothek.gui.dock.common.DefaultSingleCDockable
implements ViewDockable

Dockable implementation for tool views.

Tool views are displayed at the sides of the working area and display generic information like search results, filtered trees and other non-editable information.

The difference between an EditorDockable and a ToolDockable is that while a tool dockable is unique there may be several EditorDockables that display different parts of a policy.

See Also:
EditorDockable
Since:
0.1.0

Nested Class Summary
 
Nested classes/interfaces inherited from class bibliothek.gui.dock.common.intern.DefaultCDockable
bibliothek.gui.dock.common.intern.DefaultCDockable.Permissions
 
Nested classes/interfaces inherited from interface bibliothek.gui.dock.common.intern.CDockable
bibliothek.gui.dock.common.intern.CDockable.ExtendedMode
 
Field Summary
 
Fields inherited from class bibliothek.gui.dock.common.intern.AbstractCDockable
listenerCollection
 
Fields inherited from interface bibliothek.gui.dock.common.intern.CDockable
ACTION_KEY_CLOSE, ACTION_KEY_EXTERNALIZE, ACTION_KEY_MAXIMIZE, ACTION_KEY_MINIMIZE, ACTION_KEY_NORMALIZE
 
Constructor Summary
ToolDockable(Tool view)
          Creates a new tool dockable and attaches the specified view.
 
Method Summary
 Tool getView()
          Returns the view rendered by the dockable.
 void updateTitle()
          Updates the title of the dockable according to the view state.
 
Methods inherited from class bibliothek.gui.dock.common.DefaultSingleCDockable
getUniqueId
 
Methods inherited from class bibliothek.gui.dock.common.intern.DefaultCDockable
add, add, addAction, addSeparator, getContentPane, getTitleIcon, getTitleText, getTitleToolTip, insertAction, insertSeparator, intern, isCloseable, isExternalizable, isMaximizable, isMinimizable, isStackable, remove, removeAction, removeAction, setCloseable, setExternalizable, setLayout, setMaximizable, setMinimizable, setStackable, setTitleIcon, setTitleText, setTitleToolTip
 
Methods inherited from class bibliothek.gui.dock.common.intern.AbstractCDockable
addCDockablePropertyListener, addCDockableStateListener, addDoubleClickListener, addFocusListener, addKeyboardListener, control, getAction, getAndClearResizeRequest, getBaseLocation, getClose, getColors, getControl, getDefaultLocation, getExtendedMode, getFonts, getMinimizedSize, getWorkingArea, init, isMinimizedHold, isResizeLocked, isResizeLockedHorizontally, isResizeLockedVertically, isTitleShown, isVisible, propertyListeners, putAction, removeCDockablePropertyListener, removeCDockableStateListener, removeDoubleClickListener, removeFocusListener, removeKeyboardListener, setControl, setDefaultLocation, setExtendedMode, setLocation, setMinimizedHold, setMinimizedSize, setResizeLocked, setResizeLockedHorizontally, setResizeLockedVertically, setResizeRequest, setResizeRequest, setTitleShown, setVisible, setWorkingArea, stateListeners, toFront
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface bibliothek.gui.dock.common.intern.CDockable
addCDockablePropertyListener, addCDockableStateListener, addDoubleClickListener, addFocusListener, addKeyboardListener, getAction, getAndClearResizeRequest, getBaseLocation, getColors, getControl, getExtendedMode, getFonts, getMinimizedSize, getWorkingArea, intern, isCloseable, isExternalizable, isMaximizable, isMinimizable, isMinimizedHold, isResizeLockedHorizontally, isResizeLockedVertically, isStackable, isTitleShown, isVisible, removeCDockablePropertyListener, removeCDockableStateListener, removeDoubleClickListener, removeFocusListener, removeKeyboardListener, setControl, setExtendedMode, setLocation, setMinimizedHold, setMinimizedSize, setVisible, setWorkingArea
 

Constructor Detail

ToolDockable

public ToolDockable(Tool view)
Creates a new tool dockable and attaches the specified view.

Parameters:
view - the view displayed by this tool.
Since:
0.1.0
Method Detail

getView

public Tool getView()
Description copied from interface: ViewDockable
Returns the view rendered by the dockable.

Specified by:
getView in interface ViewDockable
Returns:
the view rendered by the dockable.
Since:
0.1.0

updateTitle

public void updateTitle()
Description copied from interface: ViewDockable
Updates the title of the dockable according to the view state.

Specified by:
updateTitle in interface ViewDockable
Since:
0.1.0


PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:15:11
Copyright (c) 2002-2007 Ergon Informatik AG