Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Not to dirty the editor when figure is collapsed/expanded(collapse expand code)
Not to dirty the editor when figure is collapsed/expanded [message #1328536] Fri, 02 May 2014 14:57 Go to next message
Eclipse UserFriend
Hi,

I just like to ask if it is possible not to "dirty" the diagram editor when a figure compartment is collapsed/expanded.

I've been trying to research this over the net but I can't find a straight solution.

Appreciate your help!

Che

Re: Not to dirty the editor when figure is collapsed/expanded [message #1328545 is a reply to message #1328536] Fri, 02 May 2014 15:00 Go to previous messageGo to next message
Eclipse UserFriend
The visual appearance of the diagram is part of what is stored. You've changed the visual appearance, therefore the diagram is dirty. Same as if you moved an element in the diagram.
Re: Not to dirty the editor when figure is collapsed/expanded [message #1334338 is a reply to message #1328545] Mon, 05 May 2014 10:22 Go to previous message
Eclipse UserFriend
I see. So there's now way to filter out those notation changes and not having the Editor dirty? I actually don't need the diagram file that gets created. I'm deleting it after I close the editor.

I was thinking, is there a way maybe to access the GMF CommandStack and add a listener to it so I can check which commands are being executed? Then may be I can filter out which ones I want and decide if I make the editor dirty or not?
Previous Topic:Diagram AND model partitioning with GMF
Next Topic:GMF tutorial
Goto Forum:
  


Current Time: Fri Jul 04 09:26:27 EDT 2025

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

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

Back to the top