Skip to main content



      Home
Home » Modeling » EMF » Reload-refresh resource supporting opened editor
Reload-refresh resource supporting opened editor [message #636912] Wed, 03 November 2010 06:19 Go to next message
Eclipse UserFriend
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 10:28 Go to previous message
Eclipse UserFriend
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.
>
>
Previous Topic:EDataType creation
Next Topic:How to access object of bpmn model from emf
Goto Forum:
  


Current Time: Fri Jul 04 16:33:16 EDT 2025

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

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

Back to the top