org.eclipse.gmf.map.editor.part
Class GMFMapVisualIDRegistry
java.lang.Object
org.eclipse.gmf.map.editor.part.GMFMapVisualIDRegistry
public class GMFMapVisualIDRegistry
- extends Object
This registry is used to determine which type of visual object should be
created for the corresponding Diagram, Node, ChildNode or Link represented
by a domain model object.
|
Method Summary |
static int |
getDiagramVisualID(org.eclipse.emf.ecore.EObject domainElement)
|
static int |
getLinkWithClassVisualID(org.eclipse.emf.ecore.EObject domainElement)
|
static int |
getLinkWithClassVisualID(org.eclipse.emf.ecore.EObject domainElement,
org.eclipse.emf.ecore.EClass domainElementMetaclass)
|
static String |
getModelID(org.eclipse.gmf.runtime.notation.View view)
|
static int |
getNodeVisualID(org.eclipse.gmf.runtime.notation.View containerView,
org.eclipse.emf.ecore.EObject domainElement)
|
static int |
getNodeVisualID(org.eclipse.gmf.runtime.notation.View containerView,
org.eclipse.emf.ecore.EObject domainElement,
org.eclipse.emf.ecore.EClass domainElementMetaclass,
String semanticHint)
|
static String |
getType(int visualID)
|
static int |
getVisualID(String type)
|
static int |
getVisualID(org.eclipse.gmf.runtime.notation.View view)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GMFMapVisualIDRegistry
public GMFMapVisualIDRegistry()
getVisualID
public static int getVisualID(org.eclipse.gmf.runtime.notation.View view)
getModelID
public static String getModelID(org.eclipse.gmf.runtime.notation.View view)
getVisualID
public static int getVisualID(String type)
getType
public static String getType(int visualID)
getDiagramVisualID
public static int getDiagramVisualID(org.eclipse.emf.ecore.EObject domainElement)
getNodeVisualID
public static int getNodeVisualID(org.eclipse.gmf.runtime.notation.View containerView,
org.eclipse.emf.ecore.EObject domainElement)
getNodeVisualID
public static int getNodeVisualID(org.eclipse.gmf.runtime.notation.View containerView,
org.eclipse.emf.ecore.EObject domainElement,
org.eclipse.emf.ecore.EClass domainElementMetaclass,
String semanticHint)
getLinkWithClassVisualID
public static int getLinkWithClassVisualID(org.eclipse.emf.ecore.EObject domainElement)
getLinkWithClassVisualID
public static int getLinkWithClassVisualID(org.eclipse.emf.ecore.EObject domainElement,
org.eclipse.emf.ecore.EClass domainElementMetaclass)
Copyright © 2011. All Rights Reserved.