Class EditorFontIconDefinition

    • Constructor Detail

      • EditorFontIconDefinition

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

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

      • getCNImage

        public org.eclipse.swt.graphics.Image getCNImage()
        Gets the image for the Common Navigator.
        Specified by:
        getCNImage in interface IEditorImage
      • getCNType

        public java.lang.String getCNType()
        Gets the type for the Common Navigator.
        Specified by:
        getCNType in interface IEditorImage
      • getCNText

        public java.lang.String getCNText​(int column)
        Gets the label text for the Common Navigator.
        Specified by:
        getCNText in interface IEditorImage
      • createTooltip

        public org.eclipse.swt.widgets.Composite createTooltip​(org.eclipse.swt.widgets.Composite parent)
        Creates the tooltip.
        Specified by:
        createTooltip in interface IEditorImage
      • clone

        public EditorFontIconDefinition clone()
                                       throws java.lang.CloneNotSupportedException
        Clone must be overridden.
        Overrides:
        clone in class FontIconDefinition
        Throws:
        java.lang.CloneNotSupportedException - If a subclass doesn't allow cloning, e.g. the client properties.
      • 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.