org.eclipse.graphiti.mm.pictograms.impl
Class ConnectionImpl

java.lang.Object
  extended by EObjectImpl
      extended by org.eclipse.graphiti.mm.impl.PropertyContainerImpl
          extended by org.eclipse.graphiti.mm.impl.GraphicsAlgorithmContainerImpl
              extended by org.eclipse.graphiti.mm.pictograms.impl.PictogramElementImpl
                  extended by org.eclipse.graphiti.mm.pictograms.impl.AnchorContainerImpl
                      extended by org.eclipse.graphiti.mm.pictograms.impl.ConnectionImpl
All Implemented Interfaces:
GraphicsAlgorithmContainer, AnchorContainer, Connection, PictogramElement, PropertyContainer
Direct Known Subclasses:
CompositeConnectionImpl, CurvedConnectionImpl, FreeFormConnectionImpl, ManhattanConnectionImpl

public class ConnectionImpl
extends AnchorContainerImpl
implements Connection

An implementation of the model object 'Connection'.

The following features are implemented:


Field Summary
protected   connectionDecorators
          The cached value of the 'Connection Decorators' containment reference list.
protected  Anchor end
          The cached value of the 'End' reference.
protected  Anchor start
          The cached value of the 'Start' reference.
 
Fields inherited from class org.eclipse.graphiti.mm.pictograms.impl.AnchorContainerImpl
anchors
 
Fields inherited from class org.eclipse.graphiti.mm.pictograms.impl.PictogramElementImpl
active, ACTIVE_EDEFAULT, graphicsAlgorithm, link, visible, VISIBLE_EDEFAULT
 
Fields inherited from class org.eclipse.graphiti.mm.impl.PropertyContainerImpl
properties
 
Constructor Summary
protected ConnectionImpl()
           
 
Method Summary
 Anchor basicGetEnd()
           
 Diagram basicGetParent()
           
 Anchor basicGetStart()
           
 NotificationChain basicSetEnd(Anchor newEnd, NotificationChain msgs)
           
 NotificationChain basicSetParent(Diagram newParent, NotificationChain msgs)
           
 NotificationChain basicSetStart(Anchor newStart, NotificationChain msgs)
           
 NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
  getConnectionDecorators()
           
 Anchor getEnd()
           
 Diagram getParent()
           
 Anchor getStart()
           
 void setEnd(Anchor newEnd)
           
 void setParent(Diagram newParent)
           
 void setStart(Anchor newStart)
           
 
Methods inherited from class org.eclipse.graphiti.mm.pictograms.impl.AnchorContainerImpl
getAnchors
 
Methods inherited from class org.eclipse.graphiti.mm.pictograms.impl.PictogramElementImpl
basicGetGraphicsAlgorithm, basicGetLink, basicSetGraphicsAlgorithm, basicSetLink, getGraphicsAlgorithm, getLink, isActive, isVisible, setActive, setGraphicsAlgorithm, setLink, setVisible, toString
 
Methods inherited from class org.eclipse.graphiti.mm.impl.PropertyContainerImpl
getProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.graphiti.mm.pictograms.AnchorContainer
getAnchors
 
Methods inherited from interface org.eclipse.graphiti.mm.pictograms.PictogramElement
getGraphicsAlgorithm, getLink, isActive, isVisible, setActive, setGraphicsAlgorithm, setLink, setVisible
 
Methods inherited from interface org.eclipse.graphiti.mm.PropertyContainer
getProperties
 

Field Detail

start

protected Anchor start
The cached value of the 'Start' reference.

See Also:
getStart()

end

protected Anchor end
The cached value of the 'End' reference.

See Also:
getEnd()

connectionDecorators

protected  connectionDecorators
The cached value of the 'Connection Decorators' containment reference list.

See Also:
getConnectionDecorators()
Constructor Detail

ConnectionImpl

protected ConnectionImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class AnchorContainerImpl

getStart

public Anchor getStart()

Specified by:
getStart in interface Connection
Returns:
the value of the 'Start' reference.
See Also:
Connection.setStart(Anchor), PictogramsPackage.getConnection_Start(), Anchor.getOutgoingConnections()

basicGetStart

public Anchor basicGetStart()


basicSetStart

public NotificationChain basicSetStart(Anchor newStart,
                                       NotificationChain msgs)


setStart

public void setStart(Anchor newStart)

Specified by:
setStart in interface Connection
Parameters:
newStart - the new value of the 'Start' reference.
See Also:
Connection.getStart()

getEnd

public Anchor getEnd()

Specified by:
getEnd in interface Connection
Returns:
the value of the 'End' reference.
See Also:
Connection.setEnd(Anchor), PictogramsPackage.getConnection_End(), Anchor.getIncomingConnections()

basicGetEnd

public Anchor basicGetEnd()


basicSetEnd

public NotificationChain basicSetEnd(Anchor newEnd,
                                     NotificationChain msgs)


setEnd

public void setEnd(Anchor newEnd)

Specified by:
setEnd in interface Connection
Parameters:
newEnd - the new value of the 'End' reference.
See Also:
Connection.getEnd()

getParent

public Diagram getParent()

Specified by:
getParent in interface Connection
Returns:
the value of the 'Parent' container reference.
See Also:
Connection.setParent(Diagram), PictogramsPackage.getConnection_Parent(), Diagram.getConnections()

basicGetParent

public Diagram basicGetParent()


basicSetParent

public NotificationChain basicSetParent(Diagram newParent,
                                        NotificationChain msgs)


setParent

public void setParent(Diagram newParent)

Specified by:
setParent in interface Connection
Parameters:
newParent - the new value of the 'Parent' container reference.
See Also:
Connection.getParent()

getConnectionDecorators

public  getConnectionDecorators()

Specified by:
getConnectionDecorators in interface Connection
Returns:
the value of the 'Connection Decorators' containment reference list.
See Also:
PictogramsPackage.getConnection_ConnectionDecorators(), ConnectionDecorator.getConnection()

eInverseAdd

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

Overrides:
eInverseAdd in class AnchorContainerImpl

eInverseRemove

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

Overrides:
eInverseRemove in class AnchorContainerImpl

eBasicRemoveFromContainerFeature

public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)


eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Overrides:
eGet in class AnchorContainerImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Overrides:
eSet in class AnchorContainerImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class AnchorContainerImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class AnchorContainerImpl


Copyright (c) SAP AG 2005, 2012.