Skip to main content



      Home
Home » Modeling » EMF » [EMF .Edit] Customizing child creation behaviour
[EMF .Edit] Customizing child creation behaviour [message #895092] Wed, 11 July 2012 12:36 Go to next message
Eclipse UserFriend
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 15:37 Go to previous message
Eclipse UserFriend
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: Tue Jul 15 20:30:11 EDT 2025

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

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

Back to the top