Extension Point Question [message #461572] |
Fri, 12 January 2007 11:07  |
Eclipse User |
|
|
|
In my RCP app I have two main plugins, a UI plugin and a 'core' plugin. The core plugin provides some extension points used to notify the UI plugin about certain changes and events. This works fine, the UI updates correctly and does everything I want. I also want to be able to run just the core plugin, ie no gui. To do this I have a command line option, that when specified caused the Display not to be created and skips right into starting up my plugin. When my plugin gets to the part where it accesses the Extension registry,gets the extension, and returns the elements, it still finds my class in the UI plugin that is making use of the extension point, even though the plugin has not been loaded. Why is that? My initial thoughts were that if the UI plugin was not running the core plugin would go through its extensions, find out no current plugin is making use of its extension point and then go on. What currently happens is that plugin finds out that something is making use of its extension point and acts on it. This causes my UI plugin to then be loaded by the framework, which is unneccesary in this case.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03193 seconds