IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.notation
Interface Node

All Superinterfaces:
EModelElement, EObject, Notifier, View

public interface Node
extends View

A representation of the model object 'Node'.

A node is a view that can composed and laid out in a container view.

The following features are supported:

See Also:
NotationPackage.getNode()

Method Summary
 LayoutConstraint createLayoutConstraint(EClass eClass)
           A utility method to create a LayoutConstraint object from the given EClass and then sets the node's LayoutConstraint property to the new object.
 LayoutConstraint getLayoutConstraint()
          Returns the value of the 'Layout Constraint' containment reference
 void setLayoutConstraint(LayoutConstraint value)
          Sets the value of the 'Layout Constraint' containment reference
 
Methods inherited from interface com.ibm.xtools.notation.View
createChild, createStyle, getChildren, getDiagram, getElement, getSourceEdges, getStyle, getStyles, getTargetEdges, getType, isVisible, setElement, setType, setVisible
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getLayoutConstraint

public LayoutConstraint getLayoutConstraint()
Returns the value of the 'Layout Constraint' containment reference.

Layout constraints are used by layout managers to properly set the bounds of the node's visuals

Returns:
the value of the 'Layout Constraint' containment reference.
See Also:
setLayoutConstraint(LayoutConstraint), NotationPackage.getNode_LayoutConstraint()

setLayoutConstraint

public void setLayoutConstraint(LayoutConstraint value)
Sets the value of the 'Layout Constraint' containment reference.

Layout constraints are used by layout managers to properly set the bounds of the node's visuals

Parameters:
value - the new value of the 'Layout Constraint' containment reference.
See Also:
getLayoutConstraint()

createLayoutConstraint

public LayoutConstraint createLayoutConstraint(EClass eClass)

A utility method to create a LayoutConstraint object from the given EClass and then sets the node's LayoutConstraint property to the new object.

Parameters:
eClass - the EClass to be used in creating the LayoutConstraint object

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2004. All rights reserved.