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:
IEUIPanel
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.

Author:
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.
      Throws:
      PropException
    • 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
      Returns:
      The container instance of the Designer Extension.
    • getAcceptedLayoutMgrs

      Class<?>[] getAcceptedLayoutMgrs()
      Gets the possible Layout Manager classes for this component.
      Returns:
      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.
      Returns:
      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.
      Returns:
      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.
      Parameters:
      componentClass - The component class.
      Returns:
      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
      Parameters:
      data - The link data.
      Returns:
      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
      Parameters:
      data - The link data.
      Returns:
      The list of operations required.