Class EUIImage

    • Constructor Detail

      • EUIImage

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

        public EUIImage​(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 UIImage
      • 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.
      • 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.
      • 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
      • 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_*.
      • 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.