Skip to main content



      Home
Home » Modeling » EMF » EMF.Edit Commands
EMF.Edit Commands [message #403799] Mon, 25 September 2006 01:56 Go to next message
Eclipse UserFriend
What is the difference between AddCommand , SetCommand and CreateCommand
in EMF.Edit . Any rule of thumb which states when to use what command .

Thanks and Regards,
Kamesh
Re: EMF.Edit Commands [message #403801 is a reply to message #403799] Mon, 25 September 2006 07:10 Go to previous messageGo to next message
Eclipse UserFriend
Kamesh,

The child creation command is intended to make populating the New
Child/Sibling menus easy by allowing you simply to create a description
of what needs to be done in the specialized code of the generated item
provider. Things like AddCommand and SetCommand are basic building
blocks intended to do simple operations like x.getYs().add(y) and
x.setZ(z) as commands. Use the simplest thing that accomplishes the task...


Kamesh Sampath wrote:

>
> What is the difference between AddCommand , SetCommand and
> CreateCommand in EMF.Edit . Any rule of thumb which states when to use
> what command .
>
> Thanks and Regards,
> Kamesh
>
Re: EMF.Edit Commands [message #403807 is a reply to message #403801] Mon, 25 September 2006 10:11 Go to previous message
Eclipse UserFriend
Ed,

Thanks for the information . My editor is going in a full swing ..
thanks for the insight that you gave to me on the Command Frameowork ,
the Eclipse documentation really helped me a lot .. Hats off to you :-)

Regards,
Kamesh

Ed Merks wrote:
> Kamesh,
>
> The child creation command is intended to make populating the New
> Child/Sibling menus easy by allowing you simply to create a
> description of what needs to be done in the specialized code of the
> generated item provider. Things like AddCommand and SetCommand are
> basic building blocks intended to do simple operations like
> x.getYs().add(y) and x.setZ(z) as commands. Use the simplest thing
> that accomplishes the task...
>
>
> Kamesh Sampath wrote:
>
>>
>> What is the difference between AddCommand , SetCommand and
>> CreateCommand in EMF.Edit . Any rule of thumb which states when to
>> use what command .
>>
>> Thanks and Regards,
>> Kamesh
>>
Previous Topic:Commit EMF Model Data in FormPage
Next Topic:Adding Selection in an Editor
Goto Forum:
  


Current Time: Mon Oct 27 02:16:49 EDT 2025

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

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

Back to the top