Package net.infonode.docking.action
Class RestoreViewWithAbortTitleBarAction
java.lang.Object
net.infonode.docking.action.DockingWindowAction
net.infonode.docking.action.RestoreViewWithAbortTitleBarAction
- All Implemented Interfaces:
Serializable,IconProvider
Restores a window using the DockingWindow.restoreWithAbort() method.
This action is only meant to be used as restore action on a button on a view's title bar.
- Since:
- IDW 1.4.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RestoreViewWithAbortTitleBarActionThe only instance of this class. -
Method Summary
Modifier and TypeMethodDescriptiongetIcon()Returns the optional icon of this action.getName()Returns the name of this action.booleanisPerformable(DockingWindow window) Returns true if this action is performable on a window.voidperform(DockingWindow window) Performs this action on a window.protected ObjectMethods inherited from class net.infonode.docking.action.DockingWindowAction
getAction, toString
-
Field Details
-
INSTANCE
The only instance of this class.
-
-
Method Details
-
getName
Description copied from class:DockingWindowActionReturns the name of this action.- Specified by:
getNamein classDockingWindowAction- Returns:
- the name of this action
-
isPerformable
Description copied from class:DockingWindowActionReturns true if this action is performable on a window.- Specified by:
isPerformablein classDockingWindowAction- Parameters:
window- the window on which the action will be performed- Returns:
- true if this action is performable on the window
-
perform
Description copied from class:DockingWindowActionPerforms this action on a window.- Specified by:
performin classDockingWindowAction- Parameters:
window- the window on which to perform the action
-
getIcon
Description copied from class:DockingWindowActionReturns the optional icon of this action.- Specified by:
getIconin interfaceIconProvider- Overrides:
getIconin classDockingWindowAction- Returns:
- the optional icon of this action, null if there is no icon
-
readResolve
- Throws:
ObjectStreamException
-