Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Two editors on one model - Unable to change the model in one of them
Two editors on one model - Unable to change the model in one of them [message #244126] Sun, 06 July 2008 21:31 Go to next message
Eclipse UserFriend
Originally posted by: clandestinesnehal.gmail.com

Hi,
I have opened a model in two different editors.

If i change the model in one of the editor and open the same model in
the other editor, it gives me following exception (and i cant see the
editor view):
"You are attempting to modify an unmodifiable resource!"

Now, i understand that i am trying to modify the model that i have
opened from a file, but not set up for editing.

How do i debug this? How do i make the file set up for editing when
opening in the second editor.


Thanks,
snehal
Re: Two editors on one model - Unable to change the model in one of them [message #244131 is a reply to message #244126] Mon, 07 July 2008 05:42 Go to previous message
Eclipse UserFriend
Originally posted by: shady_86.sify.com

i will suggest that you copy the model first in a temporary file and then open it from that temp file.
then you wont get that exception..,
Previous Topic:connection edit part not hiding
Next Topic:Palette appearance in GEF 3.4
Goto Forum:
  


Current Time: Fri Apr 26 12:50:48 GMT 2024

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

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

Back to the top