Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » How to change the default dirty mechanism of properties view.? (How to change the default dirty mechanism of properties view.? )
How to change the default dirty mechanism of properties view.? [message #830089] Tue, 27 March 2012 07:05 Go to next message
kalpa Missing name is currently offline kalpa Missing nameFriend
Messages: 3
Registered: January 2012
Location: Colombo
Junior Member
I am developing a EMF based xml editor.In the generated editor, when i double click on a node it will show the attributes in the "Properties view" but when i edit the stuff in the properties view it just make the editor state to "Dirty" and I should click on the editor to save the change.What i wanted to do is after changing a property value of from the property sheet, user should be able to save it by pressing Ctrl+S, without clicking on the editor.How can i do this? Please give me some tips on this.
Re: How to change the default dirty mechanism of properties view.? [message #830224 is a reply to message #830089] Tue, 27 March 2012 10:51 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Kalpa,

Comments below.

On 27/03/2012 3:06 AM, kalpa Mising name wrote:
> I am developing a EMF based xml editor.In the generated editor, when i
> double click on a node it will show the attributes in the "Properties
> view" but when i edit the stuff in the properties view it just make
> the editor state to "Dirty" and I should click on the editor to save
> the change.What i wanted to do is after changing a property value of
> from the property sheet, user should be able to save it by pressing
> Ctrl+S, without clicking on the editor.How can i do this?
It already works this way for me. Of course you need to commit the
changes you're making in the properties view such that the cell editor
dismisses and actually makes the change to the model, but at that point,
pressing Ctrl-S saves the more for me.
> Please give me some tips on this.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Problem with part activation: The Prevented recursive attempt to activate part ...
Next Topic:XML processing instruction with EMF 2.2
Goto Forum:
  


Current Time: Fri Apr 26 09:59:17 GMT 2024

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

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

Back to the top