Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Create proxy EObject
Create proxy EObject [message #537783] Thu, 03 June 2010 15:47 Go to next message
Dénes Harmath is currently offline Dénes HarmathFriend
Messages: 157
Registered: July 2009
Senior Member
Hi all,

How can I create a proxy EObject given the proxy URI?
(Seemingly simple question, but no matter how hard I tried, I found no answer nor on the web, nor on this forum.)

Thanks in advance,
thSoft
Re: Create proxy EObject [message #537793 is a reply to message #537783] Thu, 03 June 2010 16:20 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Dennis,

All EObjects can be cast to InternalEObject and it has an eSetProxyURI
method.


Dennis Harmath wrote:
> Hi all,
>
> How can I create a proxy EObject given the proxy URI?
> (Seemingly simple question, but no matter how hard I tried, I found no
> answer nor on the web, nor on this forum.)
>
> Thanks in advance,
> thSoft


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Create proxy EObject [message #537846 is a reply to message #537793] Thu, 03 June 2010 20:05 Go to previous message
Dénes Harmath is currently offline Dénes HarmathFriend
Messages: 157
Registered: July 2009
Senior Member
Great! I found eSetProxyURI in InternalEObject, but didn't think (especially given the name) that EObjects can be safely cast to it. Thanks!
Previous Topic:Derived EReference implementation in Ecore
Next Topic:EditingDomain (ChangeRecorder)
Goto Forum:
  


Current Time: Fri Apr 19 22:09:25 GMT 2024

Powered by FUDForum. Page generated in 0.02964 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top