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

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
All Implemented Interfaces:
GraphicsAlgorithmContainer, PictogramElement, PropertyContainer
Direct Known Subclasses:
AnchorContainerImpl, AnchorImpl

public abstract class PictogramElementImpl
extends GraphicsAlgorithmContainerImpl
implements PictogramElement

An implementation of the model object 'Pictogram Element'.

The following features are implemented:


Field Summary
protected  boolean active
          The cached value of the 'Active' attribute.
protected static boolean ACTIVE_EDEFAULT
          The default value of the 'Active' attribute.
protected  GraphicsAlgorithm graphicsAlgorithm
          The cached value of the 'Graphics Algorithm' containment reference.
protected  PictogramLink link
          The cached value of the 'Link' containment reference.
protected  boolean visible
          The cached value of the 'Visible' attribute.
protected static boolean VISIBLE_EDEFAULT
          The default value of the 'Visible' attribute.
 
Fields inherited from class org.eclipse.graphiti.mm.impl.PropertyContainerImpl
properties
 
Constructor Summary
protected PictogramElementImpl()
           
 
Method Summary
 GraphicsAlgorithm basicGetGraphicsAlgorithm()
           
 PictogramLink basicGetLink()
           
 NotificationChain basicSetGraphicsAlgorithm(GraphicsAlgorithm newGraphicsAlgorithm, NotificationChain msgs)
           
 NotificationChain basicSetLink(PictogramLink newLink, 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)
           
 GraphicsAlgorithm getGraphicsAlgorithm()
           
 PictogramLink getLink()
           
 boolean isActive()
           
 boolean isVisible()
           
 void setActive(boolean newActive)
           
 void setGraphicsAlgorithm(GraphicsAlgorithm newGraphicsAlgorithm)
           
 void setLink(PictogramLink newLink)
           
 void setVisible(boolean newVisible)
           
 java.lang.String 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.PropertyContainer
getProperties
 

Field Detail

VISIBLE_EDEFAULT

protected static final boolean VISIBLE_EDEFAULT
The default value of the 'Visible' attribute.

See Also:
isVisible(), Constant Field Values

visible

protected boolean visible
The cached value of the 'Visible' attribute.

See Also:
isVisible()

graphicsAlgorithm

protected GraphicsAlgorithm graphicsAlgorithm
The cached value of the 'Graphics Algorithm' containment reference.

See Also:
getGraphicsAlgorithm()

ACTIVE_EDEFAULT

protected static final boolean ACTIVE_EDEFAULT
The default value of the 'Active' attribute.

See Also:
isActive(), Constant Field Values

active

protected boolean active
The cached value of the 'Active' attribute.

See Also:
isActive()

link

protected PictogramLink link
The cached value of the 'Link' containment reference.

See Also:
getLink()
Constructor Detail

PictogramElementImpl

protected PictogramElementImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class GraphicsAlgorithmContainerImpl

isVisible

public boolean isVisible()

Specified by:
isVisible in interface PictogramElement
Returns:
the value of the 'Visible' attribute.
See Also:
PictogramElement.setVisible(boolean), PictogramsPackage.getPictogramElement_Visible()

setVisible

public void setVisible(boolean newVisible)

Specified by:
setVisible in interface PictogramElement
Parameters:
newVisible - the new value of the 'Visible' attribute.
See Also:
PictogramElement.isVisible()

getGraphicsAlgorithm

public GraphicsAlgorithm getGraphicsAlgorithm()

Specified by:
getGraphicsAlgorithm in interface PictogramElement
Returns:
the value of the 'Graphics Algorithm' containment reference.
See Also:
PictogramElement.setGraphicsAlgorithm(GraphicsAlgorithm), PictogramsPackage.getPictogramElement_GraphicsAlgorithm(), GraphicsAlgorithm.getPictogramElement()

basicGetGraphicsAlgorithm

public GraphicsAlgorithm basicGetGraphicsAlgorithm()


basicSetGraphicsAlgorithm

public NotificationChain basicSetGraphicsAlgorithm(GraphicsAlgorithm newGraphicsAlgorithm,
                                                   NotificationChain msgs)


setGraphicsAlgorithm

public void setGraphicsAlgorithm(GraphicsAlgorithm newGraphicsAlgorithm)

Specified by:
setGraphicsAlgorithm in interface PictogramElement
Parameters:
newGraphicsAlgorithm - the new value of the 'Graphics Algorithm' containment reference.
See Also:
PictogramElement.getGraphicsAlgorithm()

isActive

public boolean isActive()

Specified by:
isActive in interface PictogramElement
Returns:
the value of the 'Active' attribute.
See Also:
PictogramElement.setActive(boolean), PictogramsPackage.getPictogramElement_Active()

setActive

public void setActive(boolean newActive)

Specified by:
setActive in interface PictogramElement
Parameters:
newActive - the new value of the 'Active' attribute.
See Also:
PictogramElement.isActive()

getLink

public PictogramLink getLink()

Specified by:
getLink in interface PictogramElement
Returns:
the value of the 'Link' containment reference.
See Also:
PictogramElement.setLink(PictogramLink), PictogramsPackage.getPictogramElement_Link(), PictogramLink.getPictogramElement()

basicGetLink

public PictogramLink basicGetLink()


basicSetLink

public NotificationChain basicSetLink(PictogramLink newLink,
                                      NotificationChain msgs)


setLink

public void setLink(PictogramLink newLink)

Specified by:
setLink in interface PictogramElement
Parameters:
newLink - the new value of the 'Link' containment reference.
See Also:
PictogramElement.getLink()

eInverseAdd

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


eInverseRemove

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

Overrides:
eInverseRemove in class PropertyContainerImpl

eGet

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

Overrides:
eGet in class PropertyContainerImpl

eSet

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

Overrides:
eSet in class PropertyContainerImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class PropertyContainerImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class PropertyContainerImpl

toString

public java.lang.String toString()



Copyright (c) SAP AG 2005, 2010.