Interface IShowJavaSource

    • Method Detail

      • showJava

        default boolean showJava​(boolean doPerform,
                                 AnnotationType type,
                                 org.eclipse.swt.widgets.Shell shell)
        Shows the Java code associated with this component.

        The supported annotation types for VirtualSpace or its VS components are:

        • VS - associated Java class source.
        • OnVSCreate - method.
        • OnVSDestroy - method.
        • OnVSAction - method.
        • OnVSField - method.
        • OnVSChange - method.
        • OnVSFocus - method.
        • OnVSState - method.

        The supported annotation types for Panels or its UI components are:

        • UI - associated Java class source.
        • OnUIConnect - method.
        • OnUICreate - method.
        • OnUIDestroy - method.
        • OnUIFocus - method.
        • OnUIAction - method.
        • OnUIBack - method.
        • OnUITextChange - method.
        • OnUIValueChange - method.
        • OnUISelection - method.
        Parameters:
        doPerform - Flag indicating the operation should be performed, false indicates testing if this operation is valid.
        type - The annotation type.
        shell - The shell of the caller, only used when doPerform is true.
        Returns:
        Success flag, i.e. was successfully performed or its action is enabled and would most certainly succeed if called to perform it.
      • showJava

        default boolean showJava​(boolean doPerform,
                                 AnnotationType type,
                                 org.eclipse.swt.widgets.Shell shell,
                                 IGProp<?>[] rcProp)
        Shows the Java code associated with this component.

        The supported annotation types for VirtualSpace or its VS components are:

        • VS - associated Java class source.
        • OnVSCreate - method.
        • OnVSDestroy - method.
        • OnVSAction - method.
        • OnVSField - method.
        • OnVSChange - method.
        • OnVSFocus - method.
        • OnVSState - method.

        The supported annotation types for Panels or its UI components are:

        • UI - associated Java class source.
        • OnUIConnect - method.
        • OnUICreate - method.
        • OnUIDestroy - method.
        • OnUIFocus - method.
        • OnUIAction - method.
        • OnUIBack - method.
        • OnUITextChange - method.
        • OnUIValueChange - method.
        • OnUISelection - method.
        Parameters:
        doPerform - Flag indicating the operation should be performed, false indicates testing if this operation is valid.
        type - The annotation type.
        shell - The shell of the caller, only used when doPerform is true.
        rcProp - Array that should be of length 1 and is filled in with the property associated with the show action in case of success.
        Returns:
        Success flag, i.e. was successfully performed or its action is enabled and would most certainly succeed if called to perform it.