org.eclipse.gmf.runtime.emf.core.resources
Interface IResourceHelper
- All Superinterfaces:
- Adapter
- All Known Implementing Classes:
- ResourceHelperImpl
public interface IResourceHelper
- extends Adapter
Interface of an adapter for Resource
s that provides
services such as creation of objects in that resource.
This interface is used by the EMFCoreUtil
class to implement
extensible/overrideable object creation behaviours.
Method Summary |
EObject |
create(EClass eClass)
Creates an instance of the specified EClass for the
intention of attention of attaching it to the resource providing this
helper. |
create
EObject create(EClass eClass)
- Creates an instance of the specified
EClass
for the
intention of attention of attaching it to the resource providing this
helper.
- Parameters:
eClass
- the EClass
to instantiate
- Returns:
- the instance
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.