net.infonode.docking.action
Class RestoreParentWithAbortWindowAction

java.lang.Object
  extended bynet.infonode.docking.action.DockingWindowAction
      extended bynet.infonode.docking.action.RestoreParentWithAbortWindowAction
All Implemented Interfaces:
IconProvider, Serializable

public final class RestoreParentWithAbortWindowAction
extends DockingWindowAction

Restores a window using the DockingWindow.restore() method. If the parent window is a TabWindow which is maximized, it is restored. The action calls DockingWindow.restoreWithAbort().

Since:
IDW 1.4.0
Version:
$Revision: 1.3 $
See Also:
Serialized Form

Field Summary
static RestoreParentWithAbortWindowAction INSTANCE
          The only instance of this class.
 
Method Summary
 Icon getIcon()
          Returns the optional icon of this action.
 String getName()
          Returns the name of this action.
 boolean isPerformable(DockingWindow window)
          Returns true if this action is performable on a window.
 void perform(DockingWindow window)
          Performs this action on a window.
 
Methods inherited from class net.infonode.docking.action.DockingWindowAction
getAction, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final RestoreParentWithAbortWindowAction INSTANCE
The only instance of this class.

Method Detail

getName

public String getName()
Description copied from class: DockingWindowAction
Returns the name of this action.

Specified by:
getName in class DockingWindowAction
Returns:
the name of this action

isPerformable

public boolean isPerformable(DockingWindow window)
Description copied from class: DockingWindowAction
Returns true if this action is performable on a window.

Specified by:
isPerformable in class DockingWindowAction
Parameters:
window - the window on which the action will be performed
Returns:
true if this action is performable on the window

perform

public void perform(DockingWindow window)
Description copied from class: DockingWindowAction
Performs this action on a window.

Specified by:
perform in class DockingWindowAction
Parameters:
window - the window on which to perform the action

getIcon

public Icon getIcon()
Description copied from class: DockingWindowAction
Returns the optional icon of this action.

Specified by:
getIcon in interface IconProvider
Overrides:
getIcon in class DockingWindowAction
Returns:
the optional icon of this action, null if there is no icon


Copyright © 2007 NNL Technology AB. All Rights Reserved.