Class EditorDatabaseActionActor.Settings

    • Constructor Detail

      • 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 Detail

      • 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 java.lang.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 - A shell instance of the requestor.
      • getDetails

        public java.lang.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.
      • getFilter

        public org.eclipse.jface.viewers.ViewerFilter getFilter​(java.lang.Class<?> propRefClass)
        Get the viewer filter that should be applied when selecting a property for a reference property class. Make sure it's only DB transactions with the same input VirtualSpace as the VS action's.
        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.