Class KEdgeImpl

java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
All Implemented Interfaces:
EMapPropertyHolder, KEdge, KEdgeLayout, KGraphElement, KLabeledGraphElement, KLayoutData, org.eclipse.elk.graph.properties.IPropertyHolder, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class KEdgeImpl extends KLabeledGraphElementImpl implements KEdge
An implementation of the model object 'KEdge'.

The following features are implemented:

EMF generated code
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl

    org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl

    Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl

    org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList

    Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject

    org.eclipse.emf.ecore.InternalEObject.EStore
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.eclipse.emf.common.util.EList<KPoint>
    The cached value of the 'Bend Points' containment reference list.
    protected boolean
    Whether the position or size has been modified.
    protected KPoint
    The cached value of the 'Source Point' containment reference.
    protected KPort
    The cached value of the 'Source Port' reference.
    protected KNode
    The cached value of the 'Target' reference.
    protected KPoint
    The cached value of the 'Target Point' containment reference.
    protected KPort
    The cached value of the 'Target Port' reference.

    Fields inherited from class de.cau.cs.kieler.klighd.kgraph.impl.KLabeledGraphElementImpl

    labels

    Fields inherited from class de.cau.cs.kieler.klighd.kgraph.impl.KGraphElementImpl

    data

    Fields inherited from class de.cau.cs.kieler.klighd.kgraph.impl.EMapPropertyHolderImpl

    persistentEntries, properties

    Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl

    eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY

    Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl

    EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET

    Fields inherited from interface org.eclipse.emf.ecore.InternalEObject

    EOPPOSITE_FEATURE_BASE
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    applyVectorChain(org.eclipse.elk.core.math.KVectorChain points)
    org.eclipse.emf.common.notify.NotificationChain
    basicSetSource(KNode newSource, org.eclipse.emf.common.notify.NotificationChain msgs)
    org.eclipse.emf.common.notify.NotificationChain
    basicSetSourcePoint(KPoint newSourcePoint, org.eclipse.emf.common.notify.NotificationChain msgs)
    org.eclipse.emf.common.notify.NotificationChain
    basicSetTarget(KNode newTarget, org.eclipse.emf.common.notify.NotificationChain msgs)
    org.eclipse.emf.common.notify.NotificationChain
    basicSetTargetPoint(KPoint newTargetPoint, org.eclipse.emf.common.notify.NotificationChain msgs)
    org.eclipse.elk.core.math.KVectorChain
    int
    eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
    org.eclipse.emf.common.notify.NotificationChain
    eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
    int
    eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
    eGet(int featureID, boolean resolve, boolean coreType)
    org.eclipse.emf.common.notify.NotificationChain
    eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
    org.eclipse.emf.common.notify.NotificationChain
    eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
    boolean
    eIsSet(int featureID)
    void
    eSet(int featureID, Object newValue)
    protected org.eclipse.emf.ecore.EClass
    void
    eUnset(int featureID)
    org.eclipse.emf.common.util.EList<KPoint>
    boolean
    void
    void
    setSource(KNode newSource)
    void
    setSourcePoint(KPoint newSourcePoint)
    void
    setSourcePort(KPort newSourcePort)
    The original generated code is extended so the KPort.getEdges() list is also updated.
    void
    setTarget(KNode newTarget)
    void
    setTargetPoint(KPoint newTargetPoint)
    void
    setTargetPort(KPort newTargetPort)
    The original generated code is extended so the KPort.getEdges() list is also updated.

    Methods inherited from class de.cau.cs.kieler.klighd.kgraph.impl.KLabeledGraphElementImpl

    getLabels

    Methods inherited from class de.cau.cs.kieler.klighd.kgraph.impl.KGraphElementImpl

    getData, getData, getData

    Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl

    eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI

    Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl

    eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues

    Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl

    eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface de.cau.cs.kieler.klighd.kgraph.EMapPropertyHolder

    getPersistentEntries, getProperties, makePersistent

    Methods inherited from interface org.eclipse.emf.ecore.EObject

    eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset

    Methods inherited from interface org.eclipse.emf.ecore.InternalEObject

    eNotificationRequired

    Methods inherited from interface org.eclipse.elk.graph.properties.IPropertyHolder

    copyProperties, getAllProperties, getProperty, hasProperty, setProperty

    Methods inherited from interface de.cau.cs.kieler.klighd.kgraph.KGraphElement

    getData, getData, getData

    Methods inherited from interface de.cau.cs.kieler.klighd.kgraph.KLabeledGraphElement

    getLabels

    Methods inherited from interface org.eclipse.emf.common.notify.Notifier

    eAdapters, eDeliver, eNotify, eSetDeliver
  • Field Details

    • bendPoints

      protected org.eclipse.emf.common.util.EList<KPoint> bendPoints
      The cached value of the 'Bend Points' containment reference list.
      See Also:
      EMF generated code
      EMF ordered element
    • sourcePoint

      protected KPoint sourcePoint
      The cached value of the 'Source Point' containment reference.
      See Also:
      EMF generated code
      EMF ordered element
    • targetPoint

      protected KPoint targetPoint
      The cached value of the 'Target Point' containment reference.
      See Also:
      EMF generated code
      EMF ordered element
    • target

      protected KNode target
      The cached value of the 'Target' reference.
      See Also:
      EMF generated code
      EMF ordered element
    • sourcePort

      protected KPort sourcePort
      The cached value of the 'Source Port' reference.
      See Also:
      EMF generated code
      EMF ordered element
    • targetPort

      protected KPort targetPort
      The cached value of the 'Target Port' reference.
      See Also:
      EMF generated code
      EMF ordered element
    • modified

      protected boolean modified
      Whether the position or size has been modified.
      EMF generated code
      NOT
  • Constructor Details

    • KEdgeImpl

      protected KEdgeImpl()
      EMF generated code
  • Method Details

    • eStaticClass

      protected org.eclipse.emf.ecore.EClass eStaticClass()
      Overrides:
      eStaticClass in class KLabeledGraphElementImpl
      EMF generated code
    • getBendPoints

      public org.eclipse.emf.common.util.EList<KPoint> getBendPoints()
      Specified by:
      getBendPoints in interface KEdgeLayout
      Returns:
      the value of the 'Bend Points' containment reference list.
      See Also:
      EMF generated code
    • getSourcePoint

      public KPoint getSourcePoint()
      Specified by:
      getSourcePoint in interface KEdgeLayout
      Returns:
      the value of the 'Source Point' containment reference.
      See Also:
      EMF generated code
    • basicSetSourcePoint

      public org.eclipse.emf.common.notify.NotificationChain basicSetSourcePoint(KPoint newSourcePoint, org.eclipse.emf.common.notify.NotificationChain msgs)
      EMF generated code
    • setSourcePoint

      public void setSourcePoint(KPoint newSourcePoint)
      Specified by:
      setSourcePoint in interface KEdgeLayout
      Parameters:
      newSourcePoint - the new value of the 'Source Point' containment reference.
      See Also:
      EMF generated code
    • getTargetPoint

      public KPoint getTargetPoint()
      Specified by:
      getTargetPoint in interface KEdgeLayout
      Returns:
      the value of the 'Target Point' containment reference.
      See Also:
      EMF generated code
    • basicSetTargetPoint

      public org.eclipse.emf.common.notify.NotificationChain basicSetTargetPoint(KPoint newTargetPoint, org.eclipse.emf.common.notify.NotificationChain msgs)
      EMF generated code
    • setTargetPoint

      public void setTargetPoint(KPoint newTargetPoint)
      Specified by:
      setTargetPoint in interface KEdgeLayout
      Parameters:
      newTargetPoint - the new value of the 'Target Point' containment reference.
      See Also:
      EMF generated code
    • getSource

      public KNode getSource()
      Specified by:
      getSource in interface KEdge
      Returns:
      the value of the 'Source' container reference.
      See Also:
      EMF generated code
    • basicSetSource

      public org.eclipse.emf.common.notify.NotificationChain basicSetSource(KNode newSource, org.eclipse.emf.common.notify.NotificationChain msgs)
      EMF generated code
    • setSource

      public void setSource(KNode newSource)
      Specified by:
      setSource in interface KEdge
      Parameters:
      newSource - the new value of the 'Source' container reference.
      See Also:
      EMF generated code
    • getTarget

      public KNode getTarget()
      Specified by:
      getTarget in interface KEdge
      Returns:
      the value of the 'Target' reference.
      See Also:
      EMF generated code
    • basicGetTarget

      public KNode basicGetTarget()
      EMF generated code
    • basicSetTarget

      public org.eclipse.emf.common.notify.NotificationChain basicSetTarget(KNode newTarget, org.eclipse.emf.common.notify.NotificationChain msgs)
      EMF generated code
    • setTarget

      public void setTarget(KNode newTarget)
      Specified by:
      setTarget in interface KEdge
      Parameters:
      newTarget - the new value of the 'Target' reference.
      See Also:
      EMF generated code
    • getSourcePort

      public KPort getSourcePort()
      Specified by:
      getSourcePort in interface KEdge
      Returns:
      the value of the 'Source Port' reference.
      See Also:
      EMF generated code
    • basicGetSourcePort

      public KPort basicGetSourcePort()
      EMF generated code
    • setSourcePort

      public void setSourcePort(KPort newSourcePort)
      The original generated code is extended so the KPort.getEdges() list is also updated.
      Specified by:
      setSourcePort in interface KEdge
      Parameters:
      newSourcePort - the new value of the 'Source Port' reference.
      See Also:
      EMF generated code
      NOT
    • getTargetPort

      public KPort getTargetPort()
      Specified by:
      getTargetPort in interface KEdge
      Returns:
      the value of the 'Target Port' reference.
      See Also:
      EMF generated code
    • basicGetTargetPort

      public KPort basicGetTargetPort()
      EMF generated code
    • setTargetPort

      public void setTargetPort(KPort newTargetPort)
      The original generated code is extended so the KPort.getEdges() list is also updated.
      Specified by:
      setTargetPort in interface KEdge
      Parameters:
      newTargetPort - the new value of the 'Target Port' reference.
      See Also:
      EMF generated code
      NOT
    • applyVectorChain

      public void applyVectorChain(org.eclipse.elk.core.math.KVectorChain points)
      Specified by:
      applyVectorChain in interface KEdgeLayout
      Parameters:
      points - the new points for this edge layout
      EMF generated code
      NOT
    • createVectorChain

      public org.eclipse.elk.core.math.KVectorChain createVectorChain()
      Specified by:
      createVectorChain in interface KEdgeLayout
      Returns:
      the points of this edge layout
      EMF generated code
      NOT
    • isModified

      public boolean isModified()
      Specified by:
      isModified in interface KLayoutData
      EMF generated code
      NOT
    • resetModificationFlag

      public void resetModificationFlag()
      Specified by:
      resetModificationFlag in interface KLayoutData
      EMF generated code
      NOT
    • eInverseAdd

      public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
      Overrides:
      eInverseAdd in class KLabeledGraphElementImpl
      EMF generated code
    • eInverseRemove

      public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
      Overrides:
      eInverseRemove in class KLabeledGraphElementImpl
      EMF generated code
    • eBasicRemoveFromContainerFeature

      public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
      Overrides:
      eBasicRemoveFromContainerFeature in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
      EMF generated code
    • eGet

      public Object eGet(int featureID, boolean resolve, boolean coreType)
      Specified by:
      eGet in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eGet in class KLabeledGraphElementImpl
      EMF generated code
    • eSet

      public void eSet(int featureID, Object newValue)
      Specified by:
      eSet in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eSet in class KLabeledGraphElementImpl
      EMF generated code
    • eUnset

      public void eUnset(int featureID)
      Specified by:
      eUnset in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eUnset in class KLabeledGraphElementImpl
      EMF generated code
    • eIsSet

      public boolean eIsSet(int featureID)
      Specified by:
      eIsSet in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eIsSet in class KLabeledGraphElementImpl
      EMF generated code
    • eBaseStructuralFeatureID

      public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
      Specified by:
      eBaseStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eBaseStructuralFeatureID in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
      EMF generated code
    • eDerivedStructuralFeatureID

      public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
      Specified by:
      eDerivedStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eDerivedStructuralFeatureID in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
      EMF generated code
    • toString

      public String toString()
      Overrides:
      toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
      EMF generated code
      NOT