Interface IUIBuilderFromVSLinkEnabler

All Superinterfaces:
IAdaptable, IGProp<GProp<?>[]>, ILinkCapable, IPropCnr, IPropDesigner
All Known Subinterfaces:
IELayoutMgr<LAYOUT_PROP>, IELayoutMgrDND<LAYOUT_PROP>, IELayoutMgrSimpleDND<LAYOUT_PROP>, IEUIContainer, IEUIPanel
All Known Implementing Classes:
EAbsoluteLayout, EAccordionLayout, EBorderLayout, ECalendarLayout, EContextMenuLayout, EFlexLayout, EGridLayout, EHeadingLayout, EListLayout, EMapLayout, EMapMarkers, EMenuBarLayout, EMenuLayout, EMLGroup, EMLGroupLayout, EMList, EMListLayout, EMUIHeading, EMUISimpleDialog, EMUITabBar, ESwapLayout, ETabBarLayout, ETabLayout, EUIAccordion, EUICalendarList, EUIComps, EUIContainer, EUIContextMenu, EUIDialog, EUIMap, EUIMenu, EUIMenuBar, EUIPanel, EUIPanelPart, EUIPanelPartCnr, EUISwapContainer, EUITabContainer, EUITable, EUITableLayout, EUITitlePane

public interface IUIBuilderFromVSLinkEnabler extends ILinkCapable, IPropDesigner
The UI builder link enabler can be assigned to the UIContainer implementing class and is also used for the UIComps container and layout managers in order to produce the same result when e.g. VS is dropped. This will cause creation of UI components by means of wizard page(s).
Author:
Christopher Mindus
  • Method Details

    • getUIPanel

      UIPanelBase getUIPanel()
      Returns the panel for this building.
    • getDragDropText

      default String getDragDropText()
      Gets the link text to display when drag-dropping into JavaScript Panel Editor.
      Specified by:
      getDragDropText in interface ILinkCapable
      Returns:
      The drag-drop text to use, or null if the method ILinkCapable.getDragDropHTML() is used instead.
    • isUIBuilderFromVSLinkCapable

      default IStatus isUIBuilderFromVSLinkCapable(LinkData data)
      Returns if this property container could potentially be link capable. This will be true if all the IUICreationFromVS sources are in the same VirtualSpace.

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

      Parameters:
      data - The link data.
      Returns:
      The status of capability of the operation.
    • isLinkCapable

      default 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 ILinkCapable
      Parameters:
      data - The link data.
      Returns:
      The status of capability of the operation.
    • addUIBuilderFromVSLinkOperations

      default void addUIBuilderFromVSLinkOperations(LinkData data, Collection<ILinkOperation> linkOps)
      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.
      Parameters:
      data - The link data.
      linkOps - List of link operations is filled in when operations are found.
    • 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 ILinkCapable
      Parameters:
      data - The link data.
      Returns:
      The list of operations required.