| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
RwiReference is a generic type of a reference. References are
used in diagrams to represent elements of the model. Every element can have many references to it from
different diagrams.
A reference can be set to be visible or invisible within the diagram via setVisible method.
An imported reference can be deleted using the delete method. (Imported references are described in the RwiDiagram interface). It's very important to understand that references are only pointers to elements. Deleting an imported reference from a diagram doesn't remove the referenced element from the model, but from this diagram only.
The RwiNodeReference, RwiMemberReference, RwiDiagramReference and
the RwiLinkReference interfaces extend RwiReference and represent
references to the nodes, members, diagrams and links respectively.
| Method Summary | |
boolean | canDelete()Checks whether it is possible to remove an imported reference to model's element from its diagram. |
void | delete()Removes an imported reference to model's element from its diagram. |
RwiDiagram | getContainingDiagram()Returns a diagram this reference belongs to. |
RwiElement | getElement()Returns an element for this reference. |
RwiPositions | getPositions() |
RwiLinkReferenceEnumeration | outgoingLinkReferences()Returns an enumeration of references to outgoing links. |
| Methods inherited from interface com.togethersoft.openapi.rwi.RwiPropertyMap |
addProperty, canAddProperty, canSetProperty, canSetProperty, getProperty, hasProperty, isPropertyReadable, isPropertyWritable, properties, properties, setProperty, setProperty |
| Method Detail |
public boolean canDelete()
true if it is possible to remove a reference, false otherwisepublic void delete()
public RwiDiagram getContainingDiagram()
public RwiElement getElement()
public RwiPositions getPositions()
public RwiLinkReferenceEnumeration outgoingLinkReferences()
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||