net.infonode.docking.action
Class RestoreParentWithAbortWindowAction

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

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 $
Author:
$Author: jesper $
See Also:
Serialized Form

Field Summary
private static javax.swing.Icon icon
           
static RestoreParentWithAbortWindowAction INSTANCE
          The only instance of this class.
private static long serialVersionUID
           
 
Constructor Summary
private RestoreParentWithAbortWindowAction()
           
 
Method Summary
 javax.swing.Icon getIcon()
          Returns the optional icon of this action.
 java.lang.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.
protected  java.lang.Object readResolve()
           
private static void restore(DockingWindow window)
           
 
Methods inherited from class net.infonode.docking.action.DockingWindowAction
getAction, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

INSTANCE

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


icon

private static final javax.swing.Icon icon
Constructor Detail

RestoreParentWithAbortWindowAction

private RestoreParentWithAbortWindowAction()
Method Detail

getName

public java.lang.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 javax.swing.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

restore

private static void restore(DockingWindow window)

readResolve

protected java.lang.Object readResolve()
                                throws java.io.ObjectStreamException
Throws:
java.io.ObjectStreamException