Class EditorTerminalActionActor.Settings

All Implemented Interfaces:
IEditorActionActorSettings, ISelectReferencePropFilter, IPropDesigner, EventListener, IGProp<GProp<?>[]>, IPropCnr, IActionActorSettings, Cloneable, org.eclipse.core.runtime.IAdaptable
Enclosing class:
EditorTerminalActionActor

public static class EditorTerminalActionActor.Settings extends TerminalActionActor.Settings implements IEditorActionActorSettings, ISelectReferencePropFilter
Editor version of the 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

    • getPropertyEditorSetup

      public PropertyEditorSetup getPropertyEditorSetup()
      Gets the Setup used for iiziGo, subclasses must override and provide their instance.
      Specified by:
      getPropertyEditorSetup in interface IEditorActionActorSettings
      Returns:
      The PropertyEditor setup data, or null to use the one from VirtualSpaceEditor.
    • getDesigner

      public TerminalActionActorDesignerProp getDesigner()
      Gets the Designer Extension for Properties.
      Specified by:
      getDesigner in interface IEditorActionActorSettings
      Specified by:
      getDesigner in interface IPropDesigner
      Returns:
      The instance of the Designer Extension.
    • clone

      Clone must be overridden.
      Overrides:
      clone in class AbstractSettings
    • canGoto

      public boolean canGoto()
      Returns if the actor settings provides a way to go to the element in question.
      Specified by:
      canGoto in interface IEditorActionActorSettings
      Returns:
      true if this is possible.
    • getGotoText

      public String getGotoText()
      Gets the go to text that will be displayed in the UI.
      Specified by:
      getGotoText in interface IEditorActionActorSettings
      Returns:
      A text to be used, null for default.
    • gotoActionActorDefinition

      public void gotoActionActorDefinition(org.eclipse.swt.widgets.Shell shell)
      Goes to the actor definition. Override to provide functionality. This method will only be called if canGoto() returns true.
      Specified by:
      gotoActionActorDefinition in interface IEditorActionActorSettings
      Parameters:
      shell - The shell of the requestor.
    • getActorImage

      public org.eclipse.swt.graphics.Image getActorImage()
      Gets the image to use.
      Specified by:
      getActorImage in interface IEditorActionActorSettings
    • getDetails

      public String getDetails()
      Gets details for this action actor.
      Specified by:
      getDetails in interface IEditorActionActorSettings
      Returns:
      A string used in Eclipse details column for the Action Actors table.
    • doEditActorSettings

      public boolean doEditActorSettings()
      Returns the Designer editability of the settings in the properties dialog box as provided by default for the Action Actors. A data connector being an action actor could provide its own settings editor.
      Specified by:
      doEditActorSettings in interface IEditorActionActorSettings
      Returns:
      true if the default Action Actors Edit settings should be provided or not. Override to return false.
    • getScreenActionProp

      public EditorScreenActionProp getScreenActionProp()
      Gets the screen action property that is referenced.
      Overrides:
      getScreenActionProp in class TerminalActionActor.Settings
      Returns:
      The screen action property instance, or null for none.
    • getFilter

      public org.eclipse.jface.viewers.ViewerFilter getFilter(Class<?> propRefClass)
      Get the viewer filter that should be applied when selecting a property for a reference property class.
      Specified by:
      getFilter in interface ISelectReferencePropFilter
      Parameters:
      propRefClass - The property reference class, e.g. DatabaseReference.
      Returns:
      The filter instance, or null for none.
    • verify

      public boolean verify(PropVerification verification)
      Verifies this property container.
      Specified by:
      verify in interface IGProp<GProp<?>[]>
      Overrides:
      verify in class PropCnr
      Parameters:
      verification - The property verification class.
      Returns:
      true if verification should proceed, false if disposed of and verification should not take place.