Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Editor doesnt become dirty on custom changes
Editor doesnt become dirty on custom changes [message #229200] Thu, 07 May 2009 13:30 Go to next message
spyro  is currently offline spyro Friend
Messages: 18
Registered: July 2009
Junior Member
hello,
i have a problem with my GMF editor. I added a new option in the context
menu which changes the color of my nodes when used but my problem is that
my editor doesnt become dirty when i change the colors and therefore i
cant save the color changes. when i open my diagram file it is all in but
the colors are unchanged(default).
can some of you help me please
Re: Editor doesnt become dirty on custom changes [message #229636 is a reply to message #229200] Tue, 12 May 2009 13:47 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello spyro,

Generated xxxDocumentProvider.ResourceSetModificationListener inner class
is responsible for listening for any modifications made in the EMF resources
loaded into the editor and marking an editor as "dirty". I sugest you debugging
this code to find a reason why editor was not marked as "dirty".

-----------------
Alex Shatalin
Previous Topic:Deleting a node that has source and target connection
Next Topic:How can we draw a line from one Point to another Point?
Goto Forum:
  


Current Time: Fri Apr 26 01:12:15 GMT 2024

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

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

Back to the top