org.eclipse.gmf.runtime.emf.core.resources
Class GMFResourceFactory
java.lang.Object
org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl
org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl
org.eclipse.gmf.runtime.emf.core.resources.GMFResourceFactory
-
All Implemented Interfaces:
- org.eclipse.emf.ecore.resource.Resource.Factory
-
public class GMFResourceFactory
- extends org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl
A custom implementation of a resource factory. This factory when registered
against some file extensions or protocol schemas will create an GMFResource
and assigns it default save a load options.
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.resource.Resource.Factory
|
org.eclipse.emf.ecore.resource.Resource.Factory.Descriptor, org.eclipse.emf.ecore.resource.Resource.Factory.Registry
|
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
|
GMFResourceFactory
public GMFResourceFactory()
getDefaultLoadOptions
public static java.util.Map getDefaultLoadOptions()
- Get default load options.
-
getDefaultSaveOptions
public static java.util.Map getDefaultSaveOptions()
- Get default save options.
-
createResource
public org.eclipse.emf.ecore.resource.Resource createResource(org.eclipse.emf.common.util.URI uri)
-
-
Specified by:
-
createResource
in interface org.eclipse.emf.ecore.resource.Resource.Factory
-
Overrides:
-
createResource
in class org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl
-
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.