|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.jps.util.RSMDiagram
public class RSMDiagram
Contains utilities to manipulate UML diagrams
Constructor Summary | |
---|---|
RSMDiagram()
|
Method Summary | |
---|---|
static org.eclipse.gmf.runtime.notation.Diagram |
findDiagram(org.eclipse.uml2.uml.Namespace inNS,
java.lang.String inDiagName,
com.ibm.xtools.umlnotation.UMLDiagramKind inKind)
Retrieves a specific diagram from the specified namespace. |
static org.eclipse.gmf.runtime.notation.Node |
findNode(org.eclipse.gmf.runtime.notation.Diagram inDiag,
org.eclipse.uml2.uml.Element inElt)
Retrieves in the input diagram the node corresponding to the input UML element. |
static java.util.List<org.eclipse.gmf.runtime.notation.View> |
findViews(org.eclipse.emf.ecore.EObject inContainer,
org.eclipse.uml2.uml.Element inRef)
Returns a list of Views contained in the specified container and corresponding to the input UML element. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RSMDiagram()
Method Detail |
---|
public static org.eclipse.gmf.runtime.notation.Diagram findDiagram(org.eclipse.uml2.uml.Namespace inNS, java.lang.String inDiagName, com.ibm.xtools.umlnotation.UMLDiagramKind inKind)
inNS
- The namespace to searchinDiagName
- The name of the diagraminKind
- The diagram kind (e.g. UMLDiagramKind.CLASS_LITERAL)
public static org.eclipse.gmf.runtime.notation.Node findNode(org.eclipse.gmf.runtime.notation.Diagram inDiag, org.eclipse.uml2.uml.Element inElt)
inDiag
- The diagram to searchinElt
- The UML element that the node is pointing to
public static java.util.List<org.eclipse.gmf.runtime.notation.View> findViews(org.eclipse.emf.ecore.EObject inContainer, org.eclipse.uml2.uml.Element inRef)
inContainer
- The input containerinRef
- The referenced UML element
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |