Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [EMF .Edit] Customizing child creation behaviour
[EMF .Edit] Customizing child creation behaviour [message #895092] Wed, 11 July 2012 16:36 Go to next message
Leonid Ripeynih is currently offline Leonid RipeynihFriend
Messages: 150
Registered: February 2012
Senior Member
Hi there! My question is how to customize the behaviour of CreateChildCommand/Action. As I've looked into the code, I saw that the command is actually create before the action run method. However I want to provide user a nice dialod window, where parameters of created object should be setted up. What is a right way to achive that?
Re: [EMF .Edit] Customizing child creation behaviour [message #895146 is a reply to message #895092] Wed, 11 July 2012 19:37 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30688
Registered: July 2009
Senior Member
You'll have to create your own action for that. A dialog can always be
canceled but EMF commands, once executed, should just complete. They're
not intended for intermediate user intervention. The intended design is
that the user creates an object and then configures it (via the
properties view, though you can use EEF to have nice forms). They can
always undo if they don't like the result.


On 11/07/2012 6:36 PM, Dark Diver wrote:
> Hi there! My question is how to customize the behaviour of
> CreateChildCommand/Action. As I've looked into the code, I saw that
> the command is actually create before the action run method. However I
> want to provide user a nice dialod window, where parameters of created
> object should be setted up. What is a right way to achive that?
Previous Topic:Generating Setters and Getters API for EMF.Edit commands
Next Topic:EMF databinding and resource change
Goto Forum:
  


Current Time: Wed Dec 11 05:41:35 GMT 2019

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

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

Back to the top