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

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.AnchorImpl
All Implemented Interfaces:
GraphicsAlgorithmContainer, Anchor, PictogramElement, PropertyContainer
Direct Known Subclasses:
BoxRelativeAnchorImpl, ChopboxAnchorImpl, FixPointAnchorImpl

public abstract class AnchorImpl
extends PictogramElementImpl
implements Anchor

An implementation of the model object 'Anchor'.

The following features are implemented:


Field Summary
protected   incomingConnections
          The cached value of the 'Incoming Connections' reference list.
protected   outgoingConnections
          The cached value of the 'Outgoing Connections' reference list.
protected  GraphicsAlgorithm referencedGraphicsAlgorithm
          The cached value of the 'Referenced Graphics Algorithm' reference.
 
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 AnchorImpl()
           
 
Method Summary
 AnchorContainer basicGetParent()
           
 GraphicsAlgorithm basicGetReferencedGraphicsAlgorithm()
           
 NotificationChain basicSetParent(AnchorContainer newParent, 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)
           
  getIncomingConnections()
           
  getOutgoingConnections()
           
 AnchorContainer getParent()
           
 GraphicsAlgorithm getReferencedGraphicsAlgorithm()
           
 void setParent(AnchorContainer newParent)
           
 void setReferencedGraphicsAlgorithm(GraphicsAlgorithm newReferencedGraphicsAlgorithm)
           
 
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.PictogramElement
getGraphicsAlgorithm, getLink, isActive, isVisible, setActive, setGraphicsAlgorithm, setLink, setVisible
 
Methods inherited from interface org.eclipse.graphiti.mm.PropertyContainer
getProperties
 

Field Detail

outgoingConnections

protected  outgoingConnections
The cached value of the 'Outgoing Connections' reference list.

See Also:
getOutgoingConnections()

incomingConnections

protected  incomingConnections
The cached value of the 'Incoming Connections' reference list.

See Also:
getIncomingConnections()

referencedGraphicsAlgorithm

protected GraphicsAlgorithm referencedGraphicsAlgorithm
The cached value of the 'Referenced Graphics Algorithm' reference.

See Also:
getReferencedGraphicsAlgorithm()
Constructor Detail

AnchorImpl

protected AnchorImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class PictogramElementImpl

getParent

public AnchorContainer getParent()

Specified by:
getParent in interface Anchor
Returns:
the value of the 'Parent' container reference.
See Also:
Anchor.setParent(AnchorContainer), PictogramsPackage.getAnchor_Parent(), AnchorContainer.getAnchors()

basicGetParent

public AnchorContainer basicGetParent()


basicSetParent

public NotificationChain basicSetParent(AnchorContainer newParent,
                                        NotificationChain msgs)


setParent

public void setParent(AnchorContainer newParent)

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

getOutgoingConnections

public  getOutgoingConnections()

Specified by:
getOutgoingConnections in interface Anchor
Returns:
the value of the 'Outgoing Connections' reference list.
See Also:
PictogramsPackage.getAnchor_OutgoingConnections(), Connection.getStart()

getIncomingConnections

public  getIncomingConnections()

Specified by:
getIncomingConnections in interface Anchor
Returns:
the value of the 'Incoming Connections' reference list.
See Also:
PictogramsPackage.getAnchor_IncomingConnections(), Connection.getEnd()

getReferencedGraphicsAlgorithm

public GraphicsAlgorithm getReferencedGraphicsAlgorithm()

Specified by:
getReferencedGraphicsAlgorithm in interface Anchor
Returns:
the value of the 'Referenced Graphics Algorithm' reference.
See Also:
Anchor.setReferencedGraphicsAlgorithm(GraphicsAlgorithm), PictogramsPackage.getAnchor_ReferencedGraphicsAlgorithm()

basicGetReferencedGraphicsAlgorithm

public GraphicsAlgorithm basicGetReferencedGraphicsAlgorithm()


setReferencedGraphicsAlgorithm

public void setReferencedGraphicsAlgorithm(GraphicsAlgorithm newReferencedGraphicsAlgorithm)

Specified by:
setReferencedGraphicsAlgorithm in interface Anchor
Parameters:
newReferencedGraphicsAlgorithm - the new value of the 'Referenced Graphics Algorithm' reference.
See Also:
Anchor.getReferencedGraphicsAlgorithm()

eInverseAdd

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

Overrides:
eInverseAdd in class PictogramElementImpl

eInverseRemove

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

Overrides:
eInverseRemove in class PictogramElementImpl

eBasicRemoveFromContainerFeature

public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)


eGet

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

Overrides:
eGet in class PictogramElementImpl

eSet

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

Overrides:
eSet in class PictogramElementImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class PictogramElementImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class PictogramElementImpl


Copyright (c) SAP AG 2005, 2010.