|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IExtendedResourceFactory
Mix-in interface to be implemented by Resource.Factory
implementations
that provide extended object name/type/ID information in proxy URIs and/or
custom proxy resolution strategies.
Method Summary | |
---|---|
java.lang.String |
getProxyClassID(org.eclipse.emf.ecore.EObject proxy)
Obtains the ID of the specified proxy object's EClass from its
proxy URI. |
java.lang.String |
getProxyID(org.eclipse.emf.ecore.EObject proxy)
Obtains the ID of the specified proxy object from its
proxy URI. |
java.lang.String |
getProxyName(org.eclipse.emf.ecore.EObject proxy)
Obtains the name of the specified proxy object from its
proxy URI. |
java.lang.String |
getProxyQualifiedName(org.eclipse.emf.ecore.EObject proxy)
Obtains the qualified name of the specified proxy object from its
proxy URI. |
org.eclipse.emf.ecore.EObject |
resolve(org.eclipse.emf.transaction.TransactionalEditingDomain domain,
org.eclipse.emf.ecore.EObject proxy)
Resolves the specified proxy object. |
Method Detail |
---|
java.lang.String getProxyName(org.eclipse.emf.ecore.EObject proxy)
proxy
object from its
proxy URI.
proxy
- a proxy object
null
to defer to the default proxy name
algorithmjava.lang.String getProxyQualifiedName(org.eclipse.emf.ecore.EObject proxy)
proxy
object from its
proxy URI.
proxy
- a proxy object
null
to defer to the default
proxy qualified name algorithmjava.lang.String getProxyID(org.eclipse.emf.ecore.EObject proxy)
proxy
object from its
proxy URI.
proxy
- a proxy object
null
to defer to the default proxy ID
algorithmjava.lang.String getProxyClassID(org.eclipse.emf.ecore.EObject proxy)
proxy
object's EClass from its
proxy URI.
proxy
- a proxy object
null
to defer to the default proxy
EClass ID algorithmorg.eclipse.emf.ecore.EObject resolve(org.eclipse.emf.transaction.TransactionalEditingDomain domain, org.eclipse.emf.ecore.EObject proxy)
proxy
object.
domain
- the editing domain in which to resolve the proxy (provides,
among other things, the resource set context)proxy
- a proxy object
null
if the proxy
cannot be resolved
|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.