views:

24

answers:

0

In an RCP application, we dynamically load plugins and our applicaton can add new plugins. When we create a new plugin, we then load it with:

newBundle = Activator.getDefault().getBundleContext().installBundle(location); newBundle.start();

This causes a confirmation dialog appears with the message "Changes to installed plug-ins have affected this perspective. Would you like to reset this perspective to accept these changes?"

Is there any way of getting rid of this dialog so that user intervention is not required here?