|Duplicate Extension Element IDs [message #503288]
||Fri, 11 December 2009 06:58
| Aaron L
Registered: November 2009
I have an Eclipse-based RCP application that allows other plugins to extend it via a custom extension point that I have created. The extension point element requires an ID that uniquely identifies the item being contributed by the plugin.|
I was wondering if I could prevent other plugins from contributing items that have an ID that is the same as an item that has already been contributed or what the best way to handle this scenario would be.
Should my RCP application be modified to handle contributions with duplicate IDs (perhaps by ignoring duplicate contributions or notifying the user of an error condition) or does Eclipse already have something built in to handle these cases?
I quickly tried to see how Eclipse handles this by contributing 2 views to the Eclipse workbench with identical IDs. Eclipse seems to ignore the second view with the duplicate ID but does not indicate any error condition.
Any suggestions would be greatly appreciated.
Powered by FUDForum
. Page generated in 0.01466 seconds