Class UIMenuCompDesignerProp

  • All Implemented Interfaces:
    INavigatorPresentation, EventListener, org.eclipse.core.runtime.IAdaptable

    public class UIMenuCompDesignerProp
    extends UICompDesignerProp
    Class for the UI menu components in the designer, specialized for UIComp class, all menu components except menu separator.
    Author:
    Christopher Mindus
    • Constructor Detail

      • UIMenuCompDesignerProp

        public UIMenuCompDesignerProp​(UIComp comp)
        The constructor.
        Parameters:
        comp - The component.
    • Method Detail

      • getCNImage

        public org.eclipse.swt.graphics.Image getCNImage​(int flags)
        Gets the image for the Common Navigator.
        Specified by:
        getCNImage in interface INavigatorPresentation
        Overrides:
        getCNImage in class UICompDesignerProp
        Parameters:
        flags - The flags for the image, see FLAG_IMAGE_*.
        Returns:
        Image or null if there is no image.
      • getCNDescriptionType

        public java.lang.String getCNDescriptionType()
        Provide a type description for the status bar view, if available.
        Overrides:
        getCNDescriptionType in class UICompDesignerProp
        Returns:
        A type description for the status bar view, or null if not available.
      • addTooltipInfo

        protected void addTooltipInfo​(org.eclipse.swt.widgets.Composite composite)
        Inserts information into the tooltip. Override e.g. for the menu items.
        Overrides:
        addTooltipInfo in class UIDesignerProp