Package com.iizix.prop.vs.actor
Class HistoryBackward
- java.lang.Object
- com.iizix.prop.vs.actor.AbstractVSActionActor<HistoryBackward.Settings>
- com.iizix.prop.vs.actor.HistoryBackward
- All Implemented Interfaces:
IActionActor<HistoryBackward.Settings>
- Direct Known Subclasses:
EditorHistoryBackward
public class HistoryBackward extends AbstractVSActionActor<HistoryBackward.Settings>
Action Actor to perform a History Backward action.- Author:
- Christopher Mindus
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HistoryBackward.Settings
Settings property container.
Field Summary
Fields inherited from class com.iizix.prop.vs.actor.AbstractVSActionActor
action, settings
Constructor Summary
Constructors Constructor Description HistoryBackward(VSAction action, HistoryBackward.Settings settings)
Creates a new instance.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HistoryBackward.Settings
createSettings()
Create the container withAtom.SETTINGS
name.boolean
doesModifyVirtualSpace()
Checks if the VirtualSpace is modified by the Action Actor.java.lang.String
getDefaultDescription()
Gets the default description of the Action Actor to be used for the Designer or logging.java.lang.String
getEnabledState(IAppSessionGyro appGyro, VSAction action)
Checks if the runnable is enabled for the current VirtualSpace.Methods inherited from class com.iizix.prop.vs.actor.AbstractVSActionActor
getDescription, newTXPNode
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.iizix.actionactor.IActionActor
delegateNewTXPNode
Constructor Detail
HistoryBackward
public HistoryBackward(VSAction action, HistoryBackward.Settings settings)
Creates a new instance.- Parameters:
action
- The action initiator.settings
- The settings to use, null in the Designer instance.
Method Detail
createSettings
public HistoryBackward.Settings createSettings()
Create the container withAtom.SETTINGS
name.- Specified by:
createSettings
in classAbstractVSActionActor<HistoryBackward.Settings>
getDefaultDescription
public java.lang.String getDefaultDescription()
Gets the default description of the Action Actor to be used for the Designer or logging.- Specified by:
getDefaultDescription
in interfaceIActionActor<HistoryBackward.Settings>
- Specified by:
getDefaultDescription
in classAbstractVSActionActor<HistoryBackward.Settings>
- Returns:
- A short description.
getEnabledState
public java.lang.String getEnabledState(IAppSessionGyro appGyro, VSAction action)
Checks if the runnable is enabled for the current VirtualSpace. This method is checked to see if the action is enabled and also in the Designer.- Parameters:
appGyro
- The application session gyro instance.action
- The action calling the action actor.- Returns:
- null If enabled, otherwise an message why it's not enabled.
doesModifyVirtualSpace
public boolean doesModifyVirtualSpace()
Checks if the VirtualSpace is modified by the Action Actor.- Specified by:
doesModifyVirtualSpace
in interfaceIActionActor<HistoryBackward.Settings>
- Overrides:
doesModifyVirtualSpace
in classAbstractVSActionActor<HistoryBackward.Settings>
- Returns:
- true if any field in the VS is modified (excludes focus).