Class EditorFieldActor

  • All Implemented Interfaces:
    IClassReferenceListener, IPropDesigner, EventListener, IGProp<GProp<?>[]>, IPropCnr, java.lang.Cloneable, org.eclipse.core.runtime.IAdaptable

    public class EditorFieldActor
    extends EditorMethodReference2
    implements IPropDesigner
    The VirtualSpace Field Actor reference property holds the reference, and the annotation values for implementing Operations, and Source and Target classes for Conversion.

    Two variants are supported:

    1. As for classic MethodReference:
      a Java class reference "ClassReference" is held by a parent container in the tree, and this method reference is a simple name without '.' and is the method in the class.
    2. a static method reference in a class, where this name is the fully qualified class name with the method name last.
    Author:
    Christopher Mindus
    • Constructor Detail

      • EditorFieldActor

        public EditorFieldActor()
        Creates a VS Field Processor property with no name and with a null value.
      • EditorFieldActor

        public EditorFieldActor​(Atom propertyAtom)
        Creates a VS Field Processor property with the specified name with a null value.
        Parameters:
        propertyAtom - the property atom.
      • EditorFieldActor

        public EditorFieldActor​(Atom propertyAtom,
                                java.lang.String reference)
        Creates a VS Field Processor property with the specified name and value.
        Parameters:
        propertyAtom - the property atom.
        reference - the reference string.
    • Method Detail

      • getRequiredNonStaticAnnotation

        public java.lang.String getRequiredNonStaticAnnotation()
        Get the fully qualified annotation name that the Java Class should be annotated with when non-static.
        Specified by:
        getRequiredNonStaticAnnotation in class EditorMethodReference2
        Returns:
        Gets the required annotation name, null for none.
      • getRequiredStaticAnnotation

        public java.lang.String getRequiredStaticAnnotation()
        Get the fully qualified annotation name that the Java Class should be annotated with when static.
        Specified by:
        getRequiredStaticAnnotation in class EditorMethodReference2
        Returns:
        Gets the required annotation name, null for none.