Class EditorScreenProp

    • Field Detail

      • EMPTY_ARRAY

        public static final EditorScreenProp[] EMPTY_ARRAY
        An empty array of ScreenProp's.
    • Constructor Detail

      • EditorScreenProp

        public EditorScreenProp()
        Creates the screen property container without a name. The name must be set in all cases using the setPropertyAtom call.
      • EditorScreenProp

        public EditorScreenProp​(Atom propertyAtom)
        Creates the screen property container with the specified name. All system-reserved names for components begins with "$".
        Parameters:
        propertyAtom - the name of the component, unique within it's parent.
    • Method Detail

      • addPredefinedPropsImpl

        protected void addPredefinedPropsImpl()
                                       throws PropException
        Adds the predefined containers for identifications, fields and actions. This method is overridden fully by the Editor versions of the class.
        Overrides:
        addPredefinedPropsImpl in class ScreenProp
        Throws:
        PropException
      • getPredefinedProps

        protected void getPredefinedProps()
        Adds the predefined containers for identifications, fields and actions. This method is overridden fully by the Editor versions of the class.
        Overrides:
        getPredefinedProps in class ScreenProp
      • getUndoContext

        public org.eclipse.core.commands.operations.IUndoContext getUndoContext()
        Gets the undo context.
        Specified by:
        getUndoContext in interface IPropUndoContext
        Returns:
        The undo context for the Editor part(s) for this container.
      • clone

        public EditorScreenProp clone()
                               throws java.lang.CloneNotSupportedException
        Clone must be overridden.
        Overrides:
        clone in class PropCnr
        Throws:
        java.lang.CloneNotSupportedException - If a subclass doesn't allow cloning, e.g. the client properties.
      • isPropPopupWindow

        public boolean isPropPopupWindow()
        Checks if the screen is a pop-up window by means of checking the current properties.
        Returns:
        true for pop-up, false for full-screen.
      • getIdentificationRects

        public IScreenRectangle[] getIdentificationRects()
        Gets the screen identifications screen rectangles.
        Returns:
        The identifications, not null.
      • canSelectPopupWindow

        public boolean canSelectPopupWindow()
        Check if the pop-up window can be chosen, i.e. the screen is of pop-up type and that there are no identifications and fields.
        Returns:
        true if there are more than one rectangle.
      • getFieldRects

        public IScreenRectangle[] getFieldRects()
        Gets the screen identifications screen rectangles.
        Returns:
        The screen fields as rectangles, never null.
      • getSettingsContainer

        public EditorPropCnr getSettingsContainer()
        Gets the settings container.
        Returns:
        The editor property container for settings.
      • createToolTip

        public org.eclipse.swt.widgets.Composite createToolTip​(org.eclipse.swt.widgets.Composite parent)
        Creates the tooltip composite.
        Parameters:
        parent - The parent composite.
        Returns:
        The created tooltip composite.
      • verify

        public boolean verify​(PropVerification verification)
        Verifies this property container. The check performed is the extension of classes and that no circular reference is present.
        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.