|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.ecp.view.model.provider.xmi.ViewModelFileExtensionsManager
public final class ViewModelFileExtensionsManager
Manages the view models provided by the file extension point.
Method Summary | |
---|---|
VView |
createView(org.eclipse.emf.ecore.EObject eObject,
Map<String,Object> context)
|
static void |
dispose()
Disposed the instance. |
static Map<org.eclipse.emf.common.util.URI,org.eclipse.emf.ecp.view.model.provider.xmi.ViewModelFileExtensionsManager.ExtensionDescription> |
getExtensionURIS()
|
static ViewModelFileExtensionsManager |
getInstance()
|
boolean |
hasViewModelFor(org.eclipse.emf.ecore.EObject eObject,
Map<String,Object> context)
|
static org.eclipse.emf.ecore.resource.Resource |
loadResource(org.eclipse.emf.common.util.URI uri)
Loads a resource containing a view model. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ViewModelFileExtensionsManager getInstance()
public static org.eclipse.emf.ecore.resource.Resource loadResource(org.eclipse.emf.common.util.URI uri)
uri
- a URI containing the path to the file
public static void dispose()
public static Map<org.eclipse.emf.common.util.URI,org.eclipse.emf.ecp.view.model.provider.xmi.ViewModelFileExtensionsManager.ExtensionDescription> getExtensionURIS()
public boolean hasViewModelFor(org.eclipse.emf.ecore.EObject eObject, Map<String,Object> context)
eObject
- the object to be renderedcontext
- a key-value-map from String to Object
public VView createView(org.eclipse.emf.ecore.EObject eObject, Map<String,Object> context)
eObject
- The EObject
to create a view forcontext
- a key-value-map from String to Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |