Interface IEUIContainer

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IComponent, ICustomDataProvider, IEImagePreview, IEUICompBase, IEUICompCommon, IExtendsSelection, IGProp<GProp<?>[]>, IJavaMethodLinkEnabler, ILinkCapable, IMessageBox, IPropCnr, IPropDesigner, IPropRenameable, IShowJavaSource, IStylesFilter, ITransferContainerProps, IUIBuilderFromVSLinkEnabler, IUIComp, IUIComponentLinkEnabler, IUIContainer, IVSComponentListener, IVSComponentState, IVSFieldListener
All Known Subinterfaces:
All Known Implementing Classes:
EMapMarkers, EMLGroup, EMList, EMUIHeading, EMUISimpleDialog, EMUITabBar, EUIAccordion, EUICalendarList, EUIContainer, EUIContextMenu, EUIDialog, EUIMap, EUIMenu, EUIMenuBar, EUIPanel, EUIPanelPart, EUIPanelPartCnr, EUISwapContainer, EUITabContainer, EUITable, EUITitlePane

Interface implemented by all Editor UIContainer and their extended classes.

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

Christopher Mindus
  • Method Details

    • createStyles

      Styles createStyles()
      Creates the Styles container (can be overridden by Designer to create EditorStyles).
    • addPredefinedPropsImpl

      void addPredefinedPropsImpl() throws PropException
      Adds the predefined containers for identifications, fields and actions. This method is overridden fully by the Editor versions of the class.
    • getPredefinedProps

      void getPredefinedProps()
      Adds the predefined containers for identifications, fields and actions. This method is overridden fully by the Editor versions of the class.
    • createCompsCnr

      EUIComps createCompsCnr()
      Creates the components for the Editor.
    • getDesigner

      Gets the Designer Extension for Properties.
      Specified by:
      getDesigner in interface IPropDesigner
      The container instance of the Designer Extension.
    • getAcceptedLayoutMgrs

      Class<?>[] getAcceptedLayoutMgrs()
      Gets the possible Layout Manager classes for this component.
      null To accept all.
    • getPossibleCompChildren

      Class<?>[] getPossibleCompChildren()
      Gets the acceptable component children property classes that can be used in conjunction with e.g. a Paste operation.
      An array containing the classes of possible children, or null for no support.
    • getClientBounds

      default GRect getClientBounds()
      Gets the current bounds of the client area inside the container where children are placed. The position is relative the page or document bounds, including the scrollbars and their current scroll.
      The rectangle, or null if not yet defined.
    • canContainComponent

      default boolean canContainComponent(Class<? extends UIComp> componentClass)
      Checks if the UIComponent class in question can be added in this container.
      componentClass - The component class.
      true If the component is allowed, false otherwise.
    • isLinkCapable

      default org.eclipse.core.runtime.IStatus isLinkCapable(LinkData data)
      Returns if this property container could potentially be link capable.

      This call is done many times during drag-drop and must be very fast and not cause too much garbage collection.

      Specified by:
      isLinkCapable in interface IJavaMethodLinkEnabler
      Specified by:
      isLinkCapable in interface ILinkCapable
      Specified by:
      isLinkCapable in interface IUIBuilderFromVSLinkEnabler
      data - The link data.
      The status of capability of the operation.
    • getLinkOperations

      default Collection<ILinkOperation> getLinkOperations(LinkData data)
      Called when the drag-drop is to be performed (link or paste-link menu item). The link-capable instance fills in only what it handles.
      Specified by:
      getLinkOperations in interface IJavaMethodLinkEnabler
      Specified by:
      getLinkOperations in interface ILinkCapable
      Specified by:
      getLinkOperations in interface IUIBuilderFromVSLinkEnabler
      data - The link data.
      The list of operations required.