Interface IJavaMethodLinkEnabler

All Superinterfaces:
IAdaptable, IGProp<GProp<?>[]>, ILinkCapable, IPropCnr
All Known Subinterfaces:
IEUIComp, IEUIContainer, IEUIPanel, IUIComponentLinkEnabler
All Known Implementing Classes:
ECalendarEvent, EditorVirtualSpace, EditorVSAction, EditorVSField, EMapMarkerProp, EMapMarkers, EMLDefaultItemProp, EMLGroup, EMList, EMLItemProp, EMUIHeading, EMUISimpleDialog, EMUISwitch, EMUITabBar, EUIAccordion, EUIButton, EUICalendar, EUICalendarList, EUIChart, EUICheckBox, EUICheckedMenuItem, EUIComboBox, 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, EUIText, EUITextArea, EUITitlePane

public interface IJavaMethodLinkEnabler extends ILinkCapable, IPropCnr
The link enabler for a Java method using the MethodReference class (not MethodReference2).
Author:
Christopher Mindus
  • Method Details

    • isMethodLinkCapable

      default boolean isMethodLinkCapable(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.

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

      default void addMethodLinkOperations(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.
    • getJavaClassLinkEnabler

      IJavaClassLinkEnabler getJavaClassLinkEnabler()
      Gets the instance that links to the class.
      Returns:
      The class link enabler instance, never null.
    • getMethodReferenceAnnotationTypes

      AnnotationType[] getMethodReferenceAnnotationTypes()
      Returns the annotation types for the method reference(s).
      Returns:
      An array with the annotations supported.
    • getRelativeMethodAnnotationReference

      String getRelativeMethodAnnotationReference()
      Gets the annotation relative reference to the element.
      Returns:
      The relative reference in the method annotation of e.g. "OnUIFocus" for this component.