Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Reload-refresh resource supporting opened editor
Reload-refresh resource supporting opened editor [message #636912] Wed, 03 November 2010 10:19 Go to next message
Carlos  is currently offline Carlos Friend
Messages: 6
Registered: November 2010
Junior Member
Hello.

I want to implement an utility for reloading a XMI resource into the editor.
I have tried to close the editor and open it, but this is not very smart. I would prefer loading the model without closing the editor.

Is there any method in the EMF API to do this?
Have you got any suggestion?

Thanks in advance.
Best regards.
Carlos.

Re: Reload-refresh resource supporting opened editor [message #636961 is a reply to message #636912] Wed, 03 November 2010 14:28 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Carlos,

Have a look in a generated editor how it handles a resource delta. Look
for the code that calls Resource.unload...


Carlos wrote:
> Hello.
>
> I want to implement an utility for reloading a XMI resource into the
> editor.
> I have tried to close the editor and open it, but this is not very
> smart. I would prefer loading the model without closing the editor.
>
> Is there any method in the EMF API to do this?
> Have you got any suggestion?
>
> Thanks in advance.
> Best regards.
> Carlos.
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:EDataType creation
Next Topic:How to access object of bpmn model from emf
Goto Forum:
  


Current Time: Fri Apr 26 04:51:57 GMT 2024

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

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

Back to the top