The strange case of the eProxy EObject as a Business Object [message #840817] |
Tue, 10 April 2012 10:46  |
Eclipse User |
|
|
|
Hi again,
I have a mystery I'm hoping someone can help me with...
In most of the Graphiti code, my business objects are resolving to the actual EMF model objects from my SCA model. And all is hunky dory.
But in some places, I'm getting this:
(org.eclipse.emf.ecore.impl.EObjectImpl) org.eclipse.emf.ecore.impl.EObjectImpl@87fb3d (eProxyURI: platform:/resource/scatest/helpdesk/switchyard.xml#//@switchyard/@composite)
Which is maddening. Obviously this is a path in the XML file to a particular node. But I'm not assigning anything to do with an eProxyURI so far as I know to these shape elements in the diagram.
Is there a way to translate these back to actual model objects? Or why am I getting them?
It's a bit crazy to me. Or maybe it's me that's crazy...
Thanks in advance
--Fitz
|
|
|
Re: The strange case of the eProxy EObject as a Business Object [message #840829 is a reply to message #840817] |
Tue, 10 April 2012 11:00   |
Eclipse User |
|
|
|
Brian,
Proxies are generally resolved as you access them so you'll only
generally see them if the proxy can't be resolved for some reason, i.e.,
if the resource fails to load (look for the resource with that URI in
the resource set and see if its getErrors() contains reasons for why
it's fail, or, if that resource is there and loaded properly, does it
contain an object at this path?
On 10/04/2012 4:47 PM, Brian Fitzpatrick wrote:
> Hi again,
>
> I have a mystery I'm hoping someone can help me with...
> In most of the Graphiti code, my business objects are resolving to the
> actual EMF model objects from my SCA model. And all is hunky dory.
>
> But in some places, I'm getting this:
>
> (org.eclipse.emf.ecore.impl.EObjectImpl)
> org.eclipse.emf.ecore.impl.EObjectImpl@87fb3d (eProxyURI:
> platform:/resource/scatest/helpdesk/switchyard.xml#//@switchyard/@composite)
>
>
> Which is maddening. Obviously this is a path in the XML file to a
> particular node. But I'm not assigning anything to do with an
> eProxyURI so far as I know to these shape elements in the diagram.
> Is there a way to translate these back to actual model objects? Or why
> am I getting them?
>
> It's a bit crazy to me. Or maybe it's me that's crazy...
>
> Thanks in advance
> --Fitz
|
|
|
|
Powered by
FUDForum. Page generated in 0.04443 seconds