Interface IEUICompBase

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IGProp<GProp<?>[]>, IPropCnr, IPropDesigner
All Known Subinterfaces:
IELayoutMgr<LAYOUT_PROP>, IELayoutMgrDND<LAYOUT_PROP>, IELayoutMgrSimpleDND<LAYOUT_PROP>, IEUIComp, IEUICompCommon, IEUIContainer, IEUIPanel
All Known Implementing Classes:
EAbsoluteLayout, EAccordionLayout, EBorderLayout, ECalendarEvent, ECalendarLayout, EContextMenuLayout, EFlexLayout, EGridLayout, EHeadingLayout, EListLayout, EMapLayout, EMapMarkerProp, EMapMarkers, EMenuBarLayout, EMenuLayout, EMLGroup, EMLGroupLayout, EMList, EMListLayout, EMLItemProp, EMUIHeading, EMUISimpleDialog, EMUISwitch, EMUITabBar, ESwapLayout, ETabBarLayout, ETabLayout, EUIAccordion, EUIButton, EUICalendar, EUICalendarList, EUIChart, EUICheckBox, EUICheckedMenuItem, EUIComboBox, EUIComps, EUIContainer, EUIContextMenu, EUIDateTime, EUIDialog, EUIEmpty, EUIGauge, EUIImage, EUIImage2, EUILabel, EUIMap, EUIMedia, EUIMenu, EUIMenuBar, EUIMenuItem, EUIMenuSeparator, EUIOutput, EUIPanel, EUIPanelPart, EUIPanelPartCnr, EUIProgress, EUIRadioButton, EUIRadioMenuItem, EUISlider, EUISpinner, EUISwapContainer, EUITabContainer, EUITable, EUITableColumn, EUITableLayout, EUIText, EUITextArea, EUITitlePane

public interface IEUICompBase extends IPropDesigner
Interface implemented by all Editor UIComp and their extended classes.

This interface extends IPropRenamable that will enable the Rename dialog to be shown.

Author:
Christopher Mindus
  • Method Details

    • getCNImage

      org.eclipse.swt.graphics.Image getCNImage(boolean isMobile)
      Gets the image for the Common Navigator.
      Parameters:
      isMobile - Mobile theme flag.
      Returns:
      Image or null if there is no image.
    • getCNDescriptionType

      String getCNDescriptionType()
      Provide a type description for the status bar view, if available.
      Returns:
      A type description for the status bar view, or null if not available.
    • getPossibleContainerParents

      default Class<?>[] getPossibleContainerParents()
      Gets the supported containers the component can be placed inside.
      Returns:
      An array of UIContainer classes, or null for any.
    • isValidContainer

      default boolean isValidContainer(UIContainer cnr)
      Verifies if this component can be added in a specific container.
      Parameters:
      cnr - The container.
      Returns:
      true by default.