Generation Framework

org.eclipse.gmf.gmfgraph.util
Interface FigureQualifiedNameSwitch

All Known Implementing Classes:
RuntimeFQNSwitch, RuntimeLiteFQNSwitch

Deprecated. this switch is no longer necessary, the only method being used now, getDependencies(FigureGallery), should move elsewhere

@Deprecated
public interface FigureQualifiedNameSwitch

FigureQualifiedNameSwitch serves to substitute base implementation class names for figures defined in GMFGraph. Namely, we use this switch to provide different implementation for some classes available in gmf-runtime (e.g. RuntimeFQNSwitch)


Method Summary
 java.lang.String get(org.eclipse.emf.ecore.EObject gmfgraphObject)
          Deprecated. (XXX) tell about/change behavior with wrong arguments - exception?
 java.lang.String get(org.eclipse.emf.ecore.EObject gmfgraphObject, ImportAssistant importManager)
          Deprecated. Handy addition to get(EObject), with return value passed through ImportAssistant.getImportedName(String)
 java.lang.String[] getDependencies(FigureGallery gallery)
          Deprecated. (XXX) decide whether org.eclipse.draw2d should be included there.
 

Method Detail

get

java.lang.String get(org.eclipse.emf.ecore.EObject gmfgraphObject)
Deprecated. 
(XXX) tell about/change behavior with wrong arguments - exception?

Returns:
fully-qualified class name corresponding to object, or null if it's not suitable graphical object

get

java.lang.String get(org.eclipse.emf.ecore.EObject gmfgraphObject,
                     ImportAssistant importManager)
Deprecated. 
Handy addition to get(EObject), with return value passed through ImportAssistant.getImportedName(String)

Returns:
qualified or imported class name

getDependencies

java.lang.String[] getDependencies(FigureGallery gallery)
Deprecated. 
(XXX) decide whether org.eclipse.draw2d should be included there.

Returns:
symbolic names of plug-ins. Figures of the gallery may need these in classpath.

Generation Framework

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.