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 Details

    • UIMenuCompDesignerProp

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

    • 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 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.