org.eclipse.gmf.graphdef.editor.part
Class GMFGraphVisualIDRegistry

java.lang.Object
  extended by org.eclipse.gmf.graphdef.editor.part.GMFGraphVisualIDRegistry

public class GMFGraphVisualIDRegistry
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.

Generated

Constructor Summary
GMFGraphVisualIDRegistry()
           
 
Method Summary
static boolean canCreateNode(org.eclipse.gmf.runtime.notation.View containerView, int nodeVisualID)
           
static int getDiagramVisualID(org.eclipse.emf.ecore.EObject domainElement)
           
static int getLinkWithClassVisualID(org.eclipse.emf.ecore.EObject domainElement)
           
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 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
 

Constructor Detail

GMFGraphVisualIDRegistry

public GMFGraphVisualIDRegistry()
Method Detail

getVisualID

public static int getVisualID(org.eclipse.gmf.runtime.notation.View view)
Generated

getModelID

public static String getModelID(org.eclipse.gmf.runtime.notation.View view)
Generated

getVisualID

public static int getVisualID(String type)
Generated

getType

public static String getType(int visualID)
Generated

getDiagramVisualID

public static int getDiagramVisualID(org.eclipse.emf.ecore.EObject domainElement)
Generated

getNodeVisualID

public static int getNodeVisualID(org.eclipse.gmf.runtime.notation.View containerView,
                                  org.eclipse.emf.ecore.EObject domainElement)
Generated

canCreateNode

public static boolean canCreateNode(org.eclipse.gmf.runtime.notation.View containerView,
                                    int nodeVisualID)
Generated

getLinkWithClassVisualID

public static int getLinkWithClassVisualID(org.eclipse.emf.ecore.EObject domainElement)
Generated


Copyright © 2012. All Rights Reserved.