Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Runtime

org.eclipse.gmf.runtime.emf.core.resources
Class GMFResourceFactory

java.lang.Object
  extended by org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl
      extended by org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl
          extended by 
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 Class Summary
 
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
 
Constructor Summary
GMFResourceFactory ()
           
 
Method Summary
 org.eclipse.emf.ecore.resource.Resource createResource (org.eclipse.emf.common.util.URI uri)
           
static java.util.Map getDefaultLoadOptions ()
          Get default load options.
static java.util.Map getDefaultSaveOptions ()
          Get default save options.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GMFResourceFactory

public GMFResourceFactory()
Method Detail

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

Runtime

Guidelines for using Eclipse APIs.

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


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire