Hi Jérôme, 2008/9/27 Jerome Laheurte <[EMAIL PROTECTED]>: > > I just noticed that toolbars use NewDomainObject whereas menus use > <domain object>New. I think the reason for the separation dates back > to before your offline work during your last holidays; we can probably > get rid of the <domain object>New commands altogether (and Edit, and > SubNew probably). What do you think ?
I think you are right. We needed two different ways when there was only one toolbar. Now that we have one toolbar per viewer each toolbar should be able to know what type of domain object to create, which won't change during the lifetime of the toolbar. So yes, I guess the toolbars should be able to use <domain object>New commands. Cheers, Frank
