|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Guide
A representation of the model object 'Guide'.
A guide is a constraint on the x-y layout of nodes. A guide is defined by a position along one the of the diagram rulers. Nodes attached to a guide can be attached by a varierty of alignments
The following features are supported:
NotationPackage.getGuide()| Method Summary | |
|---|---|
EMap |
getNodeMap()
Returns the value of the 'Node Map' map. |
int |
getPosition()
Returns the value of the 'Position' attribute. |
void |
setPosition(int value)
Sets the value of the ' Position' attribute |
| 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 |
|---|
int getPosition()
"0".
The position is the distance along the diagram ruler of the guide
setPosition(int),
NotationPackage.getGuide_Position()void setPosition(int value)
Position' attribute.
The position is the distance along the diagram ruler of the guide
value - the new value of the 'Position' attribute.getPosition()EMap getNodeMap()
Node,
and the value is of type Alignment,
The map is an unordered map from nodes to their alignment in respect to the guide.
NotationPackage.getGuide_NodeMap()
|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.