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

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
                      extended by org.eclipse.graphiti.mm.pictograms.impl.AdvancedAnchorImpl
All Implemented Interfaces:
GraphicsAlgorithmContainer, AdvancedAnchor, Anchor, PictogramElement, PropertyContainer
Direct Known Subclasses:
BoxRelativeAnchorImpl, FixPointAnchorImpl

public abstract class AdvancedAnchorImpl
extends AnchorImpl
implements AdvancedAnchor

An implementation of the model object 'Advanced Anchor'.

The following features are implemented:


Field Summary
protected static boolean USE_ANCHOR_LOCATION_AS_CONNECTION_ENDPOINT_EDEFAULT
          The default value of the 'Use Anchor Location As Connection Endpoint' attribute.
protected  boolean useAnchorLocationAsConnectionEndpoint
          The cached value of the 'Use Anchor Location As Connection Endpoint' attribute.
 
Fields inherited from class org.eclipse.graphiti.mm.pictograms.impl.AnchorImpl
incomingConnections, outgoingConnections, referencedGraphicsAlgorithm
 
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 AdvancedAnchorImpl()
           
 
Method Summary
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 boolean isUseAnchorLocationAsConnectionEndpoint()
           
 void setUseAnchorLocationAsConnectionEndpoint(boolean newUseAnchorLocationAsConnectionEndpoint)
           
 String toString()
           
 
Methods inherited from class org.eclipse.graphiti.mm.pictograms.impl.AnchorImpl
basicGetParent, basicGetReferencedGraphicsAlgorithm, basicSetParent, eBasicRemoveFromContainerFeature, eInverseAdd, eInverseRemove, getIncomingConnections, getOutgoingConnections, getParent, getReferencedGraphicsAlgorithm, setParent, setReferencedGraphicsAlgorithm
 
Methods inherited from class org.eclipse.graphiti.mm.pictograms.impl.PictogramElementImpl
basicGetGraphicsAlgorithm, basicGetLink, basicSetGraphicsAlgorithm, basicSetLink, getGraphicsAlgorithm, getLink, isActive, isVisible, setActive, setGraphicsAlgorithm, setLink, setVisible
 
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.Anchor
getIncomingConnections, getOutgoingConnections, getParent, getReferencedGraphicsAlgorithm, setParent, setReferencedGraphicsAlgorithm
 
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

USE_ANCHOR_LOCATION_AS_CONNECTION_ENDPOINT_EDEFAULT

protected static final boolean USE_ANCHOR_LOCATION_AS_CONNECTION_ENDPOINT_EDEFAULT
The default value of the 'Use Anchor Location As Connection Endpoint' attribute.

See Also:
isUseAnchorLocationAsConnectionEndpoint(), Constant Field Values

useAnchorLocationAsConnectionEndpoint

protected boolean useAnchorLocationAsConnectionEndpoint
The cached value of the 'Use Anchor Location As Connection Endpoint' attribute.

See Also:
isUseAnchorLocationAsConnectionEndpoint()
Constructor Detail

AdvancedAnchorImpl

protected AdvancedAnchorImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class AnchorImpl

isUseAnchorLocationAsConnectionEndpoint

public boolean isUseAnchorLocationAsConnectionEndpoint()

Specified by:
isUseAnchorLocationAsConnectionEndpoint in interface AdvancedAnchor
Returns:
the value of the 'Use Anchor Location As Connection Endpoint' attribute.
See Also:
AdvancedAnchor.setUseAnchorLocationAsConnectionEndpoint(boolean), PictogramsPackage.getAdvancedAnchor_UseAnchorLocationAsConnectionEndpoint()

setUseAnchorLocationAsConnectionEndpoint

public void setUseAnchorLocationAsConnectionEndpoint(boolean newUseAnchorLocationAsConnectionEndpoint)

Specified by:
setUseAnchorLocationAsConnectionEndpoint in interface AdvancedAnchor
Parameters:
newUseAnchorLocationAsConnectionEndpoint - the new value of the 'Use Anchor Location As Connection Endpoint' attribute.
See Also:
AdvancedAnchor.isUseAnchorLocationAsConnectionEndpoint()

eGet

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

Overrides:
eGet in class AnchorImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Overrides:
eSet in class AnchorImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class AnchorImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class AnchorImpl

toString

public String toString()

Overrides:
toString in class PictogramElementImpl


Copyright (c) SAP AG 2005, 2012.