Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » Support for rollback/cancel-button for EMF data binding actions?
Support for rollback/cancel-button for EMF data binding actions? [message #1720860] Thu, 21 January 2016 13:59 Go to next message
Jens Bürger is currently offline Jens BürgerFriend
Messages: 55
Registered: October 2012
Hi all,

what I need to do is a dialog to edit information stored in an EMF model. What I need is some kind of rollback / "cancel" button in case the user decides that the changes should not be written to the model.
In this thread, a tutorial is discussed which realizes this using manual code additions and CDO.

Is there a way to do this using WindowBuilder?

Kind Regards,
Re: Support for rollback/cancel-button for EMF data binding actions? [message #1720875 is a reply to message #1720860] Thu, 21 January 2016 15:33 Go to previous message
Vincenzo Caselli is currently offline Vincenzo CaselliFriend
Messages: 232
Registered: January 2012
Senior Member

Hi Jens,
I wouldn't know how to do it using WindowBuilder, but EMF Parsley does it with just one line in its DSL.
See here:
look for block
By default, double-clicking on a tree viewer of a saveable view will show a dialog to edit that object ...

From the scenario you are describing I guess you can benefit from this project.
See here for more details

Previous Topic:bug report - font disappear in the component tree
Next Topic:WindowBuilder and EMF databinding Tutorial
Goto Forum:

Current Time: Wed Sep 28 20:31:54 GMT 2022

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

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

Back to the top