Interface IJavaInterfaceLinkEnabler

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IGProp<GProp<?>[]>, ILinkCapable, IPropCnr
All Known Implementing Classes:
EditorInputProps, EditorOutputColumn, EditorOutputProps, EditorOutputTable, EditorOutputVariable, EditorRESTfulInputProps, EditorResultProps, EditorResultSetProps, EditorScreenFieldProp

public interface IJavaInterfaceLinkEnabler extends ILinkCapable, IPropCnr
Interface implemented by a property container that holds a ClassReference instance where the implementation of the class must implement an interface, used for advanced "hooks" in various parts, such as the database result row processor, web service request processor.
Author:
Christopher Mindus
  • Method Details

    • 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 ILinkCapable
      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 ILinkCapable
      Parameters:
      data - The link data.
      Returns:
      The list of operations required.
    • getInterfaceDefinitions

      Gets the interface definitions for the property used for drag-drop or linking in the Designer.
      Returns:
      An array of the definitions, not null.