| Menu Contribution appears multiple times on restart [message #892450]
||Thu, 28 June 2012 09:16
| Marc Leiendecker
Registered: May 2012
I have written a plugin that adds a menu item to my main plugin (via model contribution, model fragment)
When i start the application for the first time (new workspace), the new menu item is inserted correctly, but when i start the application again, the menu item gets insterted again. With each start the Item gets inserted one more time.
When i look at the "workbench.xmi", I see that with each start the menu item is inserted once more.
To reproduce my problem I attached a file containing 2 plugins and the feature containing both. When you run the product more than once without cleaning the workspace, the menu Item ist inserted multiple times.
Any help would be greatly appreciated.
[Updated on: Thu, 28 June 2012 10:39]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02333 seconds