de.cau.cs.kieler.kiml.klayoutdata.impl
Class KEdgeLayoutImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by de.cau.cs.kieler.core.kgraph.impl.EMapPropertyHolderImpl
                  extended by de.cau.cs.kieler.core.kgraph.impl.KGraphDataImpl
                      extended by de.cau.cs.kieler.kiml.klayoutdata.impl.KEdgeLayoutImpl
All Implemented Interfaces:
EMapPropertyHolder, KGraphData, IPropertyHolder, KEdgeLayout, Notifier, EObject, InternalEObject

public class KEdgeLayoutImpl
extends KGraphDataImpl
implements KEdgeLayout

An implementation of the model object ' KEdge Layout'.

The following features are implemented:

Rating yellow
(2011-03-14) reviewed by cmot, cds
Generated:
This code was automatically generated.

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
protected  EList<KPoint> bendPoints
          The cached value of the 'Bend Points' containment reference list.
protected  KPoint sourcePoint
          The cached value of the 'Source Point' containment reference.
protected  KPoint targetPoint
          The cached value of the 'Target Point' containment reference.
 
Fields inherited from class de.cau.cs.kieler.core.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
protected KEdgeLayoutImpl()
           
 
Method Summary
 void applyVectorChain(KVectorChain points)
          Set the source point, bend points, and target point of this edge layout from the given vector chain.
 NotificationChain basicSetSourcePoint(KPoint newSourcePoint, NotificationChain msgs)
           
 NotificationChain basicSetTargetPoint(KPoint newTargetPoint, NotificationChain msgs)
           
 KVectorChain createVectorChain()
          Create a vector chain from the points of this edge layout.
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 EList<KPoint> getBendPoints()
           
 KPoint getSourcePoint()
           
 KPoint getTargetPoint()
           
 void setSourcePoint(KPoint newSourcePoint)
           
 void setTargetPoint(KPoint newTargetPoint)
           
 String toString()
           
 
Methods inherited from class de.cau.cs.kieler.core.kgraph.impl.EMapPropertyHolderImpl
copyProperties, getAllProperties, getPersistentEntries, getProperties, getProperty, makePersistent, setProperty
 
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, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, 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, 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.core.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.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface de.cau.cs.kieler.core.properties.IPropertyHolder
copyProperties, getAllProperties, getProperty, setProperty
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

bendPoints

protected EList<KPoint> bendPoints
The cached value of the 'Bend Points' containment reference list.

See Also:
getBendPoints()
Generated:
This code was automatically generated.
Ordered

sourcePoint

protected KPoint sourcePoint
The cached value of the 'Source Point' containment reference.

See Also:
getSourcePoint()
Generated:
This code was automatically generated.
Ordered

targetPoint

protected KPoint targetPoint
The cached value of the 'Target Point' containment reference.

See Also:
getTargetPoint()
Generated:
This code was automatically generated.
Ordered
Constructor Detail

KEdgeLayoutImpl

protected KEdgeLayoutImpl()

Generated:
This code was automatically generated.
Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class KGraphDataImpl
Generated:
This code was automatically generated.

getBendPoints

public EList<KPoint> getBendPoints()

Specified by:
getBendPoints in interface KEdgeLayout
Returns:
the value of the 'Bend Points' containment reference list.
See Also:
KLayoutDataPackage.getKEdgeLayout_BendPoints()
Generated:
This code was automatically generated.

getSourcePoint

public KPoint getSourcePoint()

Specified by:
getSourcePoint in interface KEdgeLayout
Returns:
the value of the 'Source Point' containment reference.
See Also:
KEdgeLayout.setSourcePoint(KPoint), KLayoutDataPackage.getKEdgeLayout_SourcePoint()
Generated:
This code was automatically generated.

basicSetSourcePoint

public NotificationChain basicSetSourcePoint(KPoint newSourcePoint,
                                             NotificationChain msgs)

Generated:
This code was automatically generated.

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:
KEdgeLayout.getSourcePoint()
Generated:
This code was automatically generated.

getTargetPoint

public KPoint getTargetPoint()

Specified by:
getTargetPoint in interface KEdgeLayout
Returns:
the value of the 'Target Point' containment reference.
See Also:
KEdgeLayout.setTargetPoint(KPoint), KLayoutDataPackage.getKEdgeLayout_TargetPoint()
Generated:
This code was automatically generated.

basicSetTargetPoint

public NotificationChain basicSetTargetPoint(KPoint newTargetPoint,
                                             NotificationChain msgs)

Generated:
This code was automatically generated.

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:
KEdgeLayout.getTargetPoint()
Generated:
This code was automatically generated.

applyVectorChain

public void applyVectorChain(KVectorChain points)
Set the source point, bend points, and target point of this edge layout from the given vector chain. The vector chain should contain at least two points; the first point is taken as source point, while the last one is taken as target point.

Specified by:
applyVectorChain in interface KEdgeLayout
Parameters:
points - the new points for this edge layout
Not generated:
This code was hand-written.

createVectorChain

public KVectorChain createVectorChain()
Create a vector chain from the points of this edge layout. The resulting vector chain contains at least two points; the first point is the source point, while the last one is the target point.

Specified by:
createVectorChain in interface KEdgeLayout
Returns:
the points of this edge layout
Not generated:
This code was hand-written.

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)

Overrides:
eInverseRemove in class EMapPropertyHolderImpl
Generated:
This code was automatically generated.

eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)

Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class EMapPropertyHolderImpl
Generated:
This code was automatically generated.

eSet

public void eSet(int featureID,
                 Object newValue)

Specified by:
eSet in interface InternalEObject
Overrides:
eSet in class EMapPropertyHolderImpl
Generated:
This code was automatically generated.

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface InternalEObject
Overrides:
eUnset in class EMapPropertyHolderImpl
Generated:
This code was automatically generated.

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface InternalEObject
Overrides:
eIsSet in class EMapPropertyHolderImpl
Generated:
This code was automatically generated.

toString

public String toString()

Overrides:
toString in class BasicEObjectImpl
Not generated:
This code was hand-written.