Class HistoryBackward.Settings

All Implemented Interfaces:
EventListener, IGProp<GProp<?>[]>, IPropCnr, IActionActorSettings, Cloneable
Direct Known Subclasses:
EditorHistoryBackward.Settings
Enclosing class:
HistoryBackward

public static class HistoryBackward.Settings extends AbstractPredefinedSettings
Settings property container.
  • Constructor Details

    • Settings

      public Settings()
      Creates the settings without name.
    • Settings

      public Settings(Atom propertyAtom)
      Creates the settings with specified name.
      Parameters:
      propertyAtom - the property atom.
  • Method Details

    • createActor

      protected IActionActor<HistoryBackward.Settings> createActor(VSAction action)
      Create the instance of the action actor.
      Specified by:
      createActor in class AbstractSettings
      Parameters:
      action - The action instance.
      Returns:
      The new action actor implementation instance.
    • doesModifyVirtualSpace

      public boolean doesModifyVirtualSpace(VSAction action)
      Checks if the VirtualSpace is modified by the Action Actor. Override this method to return the correct setting, default returns true.
      Overrides:
      doesModifyVirtualSpace in class AbstractSettings
      Parameters:
      action - The action in question, perhaps null. If the action is null, it is assumed that the actor could be connected to multiple actions and should therefore return the "worst" scenario, i.e. that it does modify the VS.
      Returns:
      true if any field in the VS is modified (excludes focus).