|
|
| Re: PluginRegistry.getActiveModels() doesn't work properly [message #757494 is a reply to message #757489] |
Fri, 18 November 2011 11:11   |
Jonathan Messages: 15 Registered: July 2011 |
Junior Member |
|
|
Thanks for replying.
No all my plugins have different symbolic names... They are all checked in my "Run Configuration". But none of them are returned by PluginRegistry.getActiveModels()
Same result with PluginRegistry.getAllModels()...
I have modified the targetPlatform (65 plugins at start).Then I added a directory (which contains about 70 plugins). And finally there's all my workspace plugins (10 plugins). So a call to PluginRegistry.getAllModels() should return 65+70+10 models, agree ? But there's only the 65 plugins of my original targetPlatform
[Updated on: Fri, 18 November 2011 11:12] Report message to a moderator
|
|
|
| Re: PluginRegistry.getActiveModels() doesn't work properly [message #757535 is a reply to message #757494] |
Fri, 18 November 2011 14:32  |
Curtis Windatt Messages: 166 Registered: July 2009 |
Senior Member |
|
|
|
Duplicate bundles (same name/version) are removed from the target, and workspace plug-ins will replace the equivalent bundle in the target (even with getAllModels()). Not sure what else to tell you. You can debug through the PluginRegistry and see what is in the PluginModelManager model entry table. What version of Eclipse are you using? If you can provide a test case to reproduce you can file a bug against PDE UI and I will try to look at it in more detail. I am currently in the process of refactoring a lot of the related code.
|
|
|
Powered by
FUDForum. Page generated in 0.01788 seconds