Package com.iizix.prop.vs.actor
Class SetSourceFieldValue
- java.lang.Object
- com.iizix.prop.vs.actor.AbstractVSActionActor<SetSourceFieldValue.Settings>
- com.iizix.prop.vs.actor.SetSourceFieldValue
- All Implemented Interfaces:
IActionActor<SetSourceFieldValue.Settings>
- Direct Known Subclasses:
EditorSetSourceFieldValue
public class SetSourceFieldValue extends AbstractVSActionActor<SetSourceFieldValue.Settings>
Action Actor for VirtualSpace performing the action as the class name says.- Author:
- Christopher Mindus
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SetSourceFieldValue.Settings
Settings property container.
Field Summary
Fields inherited from class com.iizix.prop.vs.actor.AbstractVSActionActor
action, settings
Constructor Summary
Constructors Constructor Description SetSourceFieldValue(VSAction action, SetSourceFieldValue.Settings settings)
Creates a new instance.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SetSourceFieldValue.Settings
createSettings()
Create the container withAtom.SETTINGS
name.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
doesModifyVirtualSpace, 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
SetSourceFieldValue
public SetSourceFieldValue(VSAction action, SetSourceFieldValue.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 SetSourceFieldValue.Settings createSettings()
Create the container withAtom.SETTINGS
name.- Specified by:
createSettings
in classAbstractVSActionActor<SetSourceFieldValue.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<SetSourceFieldValue.Settings>
- Specified by:
getDefaultDescription
in classAbstractVSActionActor<SetSourceFieldValue.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 invoking the action actor.- Returns:
- null If enabled, otherwise an message why it's not enabled.