Community
Participate
Working Groups
Created attachment 174700 [details] patch It takes the attributes from menus/toolbar/handler and *moves* them from the PartDescriptor to the Part-Instance! This means on 2nd use of the descriptor there are NO menus and Toolbar informations available. One needs to copy those elements because they are containments which means adding them to another container removes them from the original one (you can see that this happens in bug 320235 comment 3)
Created attachment 174701 [details] patch adds a null check (though not needed technically because EcoreUtil.copy) does such a check too internally it's JavaDoc doesn't say something about it.
Thanks for catching this, Tom.
Looks good.
fixed in HEAD