| [news.eclipse.tools.emf] [PROXY] How to get the proxy uri of the referred objects without resolving them |
Collection col=(Collection )eObject.eGet(ref,false);
it didn't resolve them , but when i tried to iterate on the collection to gather the proxy URIs, this iteration resolved them
printEObjectsCollection(col,System.out);
public static void printEObjectsCollection (Collection col,PrintStream ps){
ps.println("\n\nsize="+col.size());
for(Iterator i=col.iterator();i.hasNext();){
EObject eobj=(EObject)i.next(); <<<<< this resolved the eobj
InternalEObject intEObj=(InternalEObject)eobj;
ps.println(eobj);
ps.println("proxy="+eobj.eIsProxy()+" URI="+intEObj.eProxyURI());
}
can any one help me ??
Best regards ,
Joseph