Annotation Interface OutgoingReferenceBuilder


Annotation for an outgoing reference builder method. The method shall have 4 or 5 parameters compatible with parameters of

EObjectNodeProcessor.buildOutgoingReference(
     EReference eReference,
     List<Map.Entry<{EReferenceConnection, WidgetFactory>> referenceOutgoingEndpoints,
     Collection<Label> labels,
     Map<EReferenceConnection, Collection<Label>&gt outgoingLabels,
     ProgressMonitor progressMonitor)

In the case of 4 parameters it is the last 4 parameters because the reference is already bound by the annotation.

Author:
Pavel
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
    Declaring class ID, obtained from EPackage constants, e.g.
    Namespace URI of declaring class' EPackage, obtained from EPackage constants, e.g.
    int
    Reference ID, obtained from EPackage constants, e.g.
  • Element Details

    • referenceID

      Reference ID, obtained from EPackage constants, e.g. EcorePackage.ECLASS__EALL_ATTRIBUTES.
      Returns:
    • classID

      int classID
      Declaring class ID, obtained from EPackage constants, e.g. EcorePackage.ECLASS. Declaring class ID may need to be specified in situations with multiple inheritance where the reference builder method is defined in a common sub-class.
      Returns:
    • nsURI

      Namespace URI of declaring class' EPackage, obtained from EPackage constants, e.g. EcorePackage.eNS_URI. Namespace URI may need to be specified in situations with multiple inheritance where the reference builder method is defined in a common sub-class.
      Returns: