Class EUICheckedMenuItem

    • Constructor Detail

      • EUICheckedMenuItem

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

        public EUICheckedMenuItem​(Atom propertyAtom)
        Creates the 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

      • createStyles

        protected Styles createStyles()
        Creates the Styles container (can be overridden by Designer to create EditorStyles).
        Overrides:
        createStyles in class UIComp
      • addPredefinedProps

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

        public void getPredefinedProps()
        Gets the references to predefined properties.
        Overrides:
        getPredefinedProps in class UIComp
      • getCNImage

        public org.eclipse.swt.graphics.Image getCNImage​(boolean isMobile)
        Gets the image for the Common Navigator.
        Specified by:
        getCNImage in interface IEUICompBase
        Parameters:
        isMobile - The mobile theme flag.
        Returns:
        Image or null if there is no image.
      • initializeSampleData

        public void initializeSampleData​(int oper)
        Initialize the sample data for the operation.
        Specified by:
        initializeSampleData in interface IInitializeSampleData
        Parameters:
        oper - The operation INIT_OPER_*.
      • getPossibleChildren

        public java.lang.Class<?>[] getPossibleChildren()
        Gets the acceptable children property classes that can be used in conjunction with e.g. a Paste operation.
        Specified by:
        getPossibleChildren in interface IPropCnr
        Overrides:
        getPossibleChildren in class PropCnr
        Returns:
        An array containing the classes of possible children, or null for no support.
      • getPossibleContainerParents

        public java.lang.Class<?>[] getPossibleContainerParents()
        Gets the supported containers the component can be placed inside.
        Specified by:
        getPossibleContainerParents in interface IEUICompBase
        Returns:
        An array of UIContainer classes, or null for any.
      • getStylesName

        public java.lang.String getStylesName​(EditorStyles styles)
        The name of this styles property for the common navigator.
        Specified by:
        getStylesName in interface IStylesFilter
        Parameters:
        styles - The Styles property container.
      • getSupportedStyles

        public java.lang.String[] getSupportedStyles​(EditorStyles styles)
        Gets the groups supported by the component.
        Specified by:
        getSupportedStyles in interface IStylesFilter
        Parameters:
        styles - The Styles property container.
        Returns:
        An array of property names of the styles. Names beginning with '*' indicates it's a group.
      • getExtendsPossibleClasses

        public java.lang.Class<?>[] getExtendsPossibleClasses()
        Gets the possible classes this container supports for the Extends Framework. The default implementation is to return null.
        Specified by:
        getExtendsPossibleClasses in interface IPropCnr
        Overrides:
        getExtendsPossibleClasses in class PropCnr
        Returns:
        List of supported classes, or null for none.
      • getSelectPropViewerFilter

        public org.eclipse.jface.viewers.ViewerFilter getSelectPropViewerFilter()
        Gets the viewer filter for the tree in the dialog for selecting extends property name.
        Specified by:
        getSelectPropViewerFilter in interface IExtendsSelection
      • 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 UIComp
        Parameters:
        verification - The property verification class.
        Returns:
        true if verification should proceed, false if disposed of and verification should not take place.
      • onEventSelf

        public void onEventSelf​(GEvent event)
        Updates to the "checkNoMatch" property must be reflected in the UI.
        Specified by:
        onEventSelf in interface IGProp<GProp<?>[]>
        Overrides:
        onEventSelf in class UIComp
        Parameters:
        event - The property event.
      • getTransferProps

        public java.lang.Object[] getTransferProps()
        Returns the list of properties that are transferable between layout managers.
        Specified by:
        getTransferProps in interface ITransferContainerProps
        Returns:
        The list of String's or Atom's that are transferable, null for none.