Interface Node

All Superinterfaces:
org.eclipse.emf.ecore.EObject, LinkedObject, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
ActivityDetailDiagram, ActivityDiagram, Diagram, NamedNode, NodeContainer, RoleNode, RoleTaskComposite, TaskNode, TypedNode, WorkBreakdownElementNode, WorkProductComposite, WorkProductDependencyDiagram, WorkProductDescriptorNode, WorkProductNode
All Known Implementing Classes:
ActivityDetailDiagramImpl, ActivityDiagramImpl, DiagramImpl, NamedNodeImpl, NodeContainerImpl, NodeImpl, RoleNodeImpl, RoleTaskCompositeImpl, TaskNodeImpl, TypedNodeImpl, WorkBreakdownElementNodeImpl, WorkProductCompositeImpl, WorkProductDependencyDiagramImpl, WorkProductDescriptorNodeImpl, WorkProductNodeImpl

public interface Node
extends LinkedObject
A representation of the model object 'Node'.

The following features are supported:

See Also:
ModelPackage.getNode()
  • Method Summary

    Modifier and Type Method Description
    int getHeight()
    Returns the value of the 'Height' attribute.
    org.eclipse.emf.common.util.EList getIncomingConnections()
    Returns the value of the 'Incoming Connections' reference list.
    org.eclipse.draw2d.geometry.Point getLocation()
    Returns the value of the 'Location' attribute.
    org.eclipse.emf.common.util.EList getOutgoingConnections()
    Returns the value of the 'Outgoing Connections' containment reference list.
    int getWidth()
    Returns the value of the 'Width' attribute.
    boolean isReadOnly()
    Returns the value of the 'Read Only' attribute.
    void setHeight​(int value)
    Sets the value of the 'Height' attribute.
    void setLocation​(org.eclipse.draw2d.geometry.Point value)
    Sets the value of the 'Location' attribute.
    void setReadOnly​(boolean value)
    Sets the value of the 'Read Only' attribute.
    void setWidth​(int value)
    Sets the value of the 'Width' attribute.

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

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

      void setLocation​(org.eclipse.draw2d.geometry.Point value)
      Sets the value of the 'Location' attribute.
      Parameters:
      value - the new value of the 'Location' attribute.
      See Also:
      getLocation()
    • getWidth

      int getWidth()
      Returns the value of the 'Width' attribute. The default value is "-1".
      Returns:
      the value of the 'Width' attribute.
      See Also:
      setWidth(int), ModelPackage.getNode_Width()
    • setWidth

      void setWidth​(int value)
      Sets the value of the 'Width' attribute.
      Parameters:
      value - the new value of the 'Width' attribute.
      See Also:
      getWidth()
    • getHeight

      int getHeight()
      Returns the value of the 'Height' attribute. The default value is "-1".
      Returns:
      the value of the 'Height' attribute.
      See Also:
      setHeight(int), ModelPackage.getNode_Height()
    • setHeight

      void setHeight​(int value)
      Sets the value of the 'Height' attribute.
      Parameters:
      value - the new value of the 'Height' attribute.
      See Also:
      getHeight()
    • getIncomingConnections

      org.eclipse.emf.common.util.EList getIncomingConnections()
      Returns the value of the 'Incoming Connections' reference list. The list contents are of type Link. It is bidirectional and its opposite is 'Target'.
      Returns:
      the value of the 'Incoming Connections' reference list.
      See Also:
      ModelPackage.getNode_IncomingConnections(), Link.getTarget()
    • getOutgoingConnections

      org.eclipse.emf.common.util.EList getOutgoingConnections()
      Returns the value of the 'Outgoing Connections' containment reference list. The list contents are of type Link. It is bidirectional and its opposite is 'Source'.
      Returns:
      the value of the 'Outgoing Connections' containment reference list.
      See Also:
      ModelPackage.getNode_OutgoingConnections(), Link.getSource()
    • isReadOnly

      boolean isReadOnly()
      Returns the value of the 'Read Only' attribute.
      Returns:
      the value of the 'Read Only' attribute.
      See Also:
      setReadOnly(boolean), ModelPackage.getNode_ReadOnly()
    • setReadOnly

      void setReadOnly​(boolean value)
      Sets the value of the 'Read Only' attribute.
      Parameters:
      value - the new value of the 'Read Only' attribute.
      See Also:
      isReadOnly()