Class NodeImpl

java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.epf.diagram.model.impl.LinkedObjectImpl
org.eclipse.epf.diagram.model.impl.NodeImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, LinkedObject, Node
Direct Known Subclasses:
NamedNodeImpl, NodeContainerImpl, TypedNodeImpl

public abstract class NodeImpl
extends LinkedObjectImpl
implements Node
An implementation of the model object 'Node'.

The following features are implemented:

  • Nested Class Summary

    Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl

    org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList

    Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject

    org.eclipse.emf.ecore.InternalEObject.EStore
  • Field Summary

    Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl

    ELAST_EOBJECT_FLAG

    Fields inherited from interface org.eclipse.emf.ecore.InternalEObject

    EOPPOSITE_FEATURE_BASE
  • Method Summary

    Modifier and Type Method Description
    java.lang.Object eGet​(int featureID, boolean resolve, boolean coreType)
    org.eclipse.emf.common.notify.NotificationChain eInverseAdd​(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
    org.eclipse.emf.common.notify.NotificationChain eInverseRemove​(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
    boolean eIsSet​(int featureID)
    void eSet​(int featureID, java.lang.Object newValue)
    void eUnset​(int featureID)
    int getHeight()
    org.eclipse.emf.common.util.EList getIncomingConnections()
    org.eclipse.draw2d.geometry.Point getLocation()
    org.eclipse.emf.common.util.EList getOutgoingConnections()
    int getWidth()
    boolean isReadOnly()
    void setHeight​(int newHeight)
    void setLocation​(org.eclipse.draw2d.geometry.Point newLocation)
    void setReadOnly​(boolean newReadOnly)
    void setWidth​(int newWidth)
    java.lang.String toString()

    Methods inherited from class org.eclipse.epf.diagram.model.impl.LinkedObjectImpl

    basicGetLinkedElement, getLinkedElement, getObject, setLinkedElement, setObject

    Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl

    eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI

    Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl

    eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset

    Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl

    eNotificationRequired, eNotify

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

    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.ecore.InternalEObject

    eNotificationRequired

    Methods inherited from interface org.eclipse.epf.diagram.model.LinkedObject

    getLinkedElement, getObject, setLinkedElement, setObject

    Methods inherited from interface org.eclipse.emf.common.notify.Notifier

    eAdapters, eDeliver, eNotify, eSetDeliver
  • Method Details

    • getLocation

      public org.eclipse.draw2d.geometry.Point getLocation()
      Specified by:
      getLocation in interface Node
      Returns:
      the value of the 'Location' attribute.
      See Also:
      Node.setLocation(Point), ModelPackage.getNode_Location()
    • setLocation

      public void setLocation​(org.eclipse.draw2d.geometry.Point newLocation)
      Specified by:
      setLocation in interface Node
      Parameters:
      newLocation - the new value of the 'Location' attribute.
      See Also:
      Node.getLocation()
    • getWidth

      public int getWidth()
      Specified by:
      getWidth in interface Node
      Returns:
      the value of the 'Width' attribute.
      See Also:
      Node.setWidth(int), ModelPackage.getNode_Width()
    • setWidth

      public void setWidth​(int newWidth)
      Specified by:
      setWidth in interface Node
      Parameters:
      newWidth - the new value of the 'Width' attribute.
      See Also:
      Node.getWidth()
    • getHeight

      public int getHeight()
      Specified by:
      getHeight in interface Node
      Returns:
      the value of the 'Height' attribute.
      See Also:
      Node.setHeight(int), ModelPackage.getNode_Height()
    • setHeight

      public void setHeight​(int newHeight)
      Specified by:
      setHeight in interface Node
      Parameters:
      newHeight - the new value of the 'Height' attribute.
      See Also:
      Node.getHeight()
    • getIncomingConnections

      public org.eclipse.emf.common.util.EList getIncomingConnections()
      Specified by:
      getIncomingConnections in interface Node
      Returns:
      the value of the 'Incoming Connections' reference list.
      See Also:
      ModelPackage.getNode_IncomingConnections(), Link.getTarget()
    • getOutgoingConnections

      public org.eclipse.emf.common.util.EList getOutgoingConnections()
      Specified by:
      getOutgoingConnections in interface Node
      Returns:
      the value of the 'Outgoing Connections' containment reference list.
      See Also:
      ModelPackage.getNode_OutgoingConnections(), Link.getSource()
    • isReadOnly

      public boolean isReadOnly()
      Specified by:
      isReadOnly in interface Node
      Returns:
      the value of the 'Read Only' attribute.
      See Also:
      Node.setReadOnly(boolean), ModelPackage.getNode_ReadOnly()
    • setReadOnly

      public void setReadOnly​(boolean newReadOnly)
      Specified by:
      setReadOnly in interface Node
      Parameters:
      newReadOnly - the new value of the 'Read Only' attribute.
      See Also:
      Node.isReadOnly()
    • eInverseAdd

      public org.eclipse.emf.common.notify.NotificationChain eInverseAdd​(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
      Overrides:
      eInverseAdd in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
    • eInverseRemove

      public org.eclipse.emf.common.notify.NotificationChain eInverseRemove​(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
      Overrides:
      eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
    • eGet

      public java.lang.Object eGet​(int featureID, boolean resolve, boolean coreType)
      Specified by:
      eGet in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eGet in class LinkedObjectImpl
    • eSet

      public void eSet​(int featureID, java.lang.Object newValue)
      Specified by:
      eSet in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eSet in class LinkedObjectImpl
    • eUnset

      public void eUnset​(int featureID)
      Specified by:
      eUnset in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eUnset in class LinkedObjectImpl
    • eIsSet

      public boolean eIsSet​(int featureID)
      Specified by:
      eIsSet in interface org.eclipse.emf.ecore.InternalEObject
      Overrides:
      eIsSet in class LinkedObjectImpl
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class LinkedObjectImpl