WorkbenchWindowAdvisor question [message #635086] |
Mon, 25 October 2010 11:27  |
Eclipse User |
|
|
|
Hi all,
I have a question regarding the WorkbenchWindowAdvisor. I currently have an application that has a WorkbenchWindowAdvisor that creates a Menu. The items that appear on the menu are determined by plugins that use an extension point defined in the application. When a menu item is clicked, the plugin that defined that menu element opens a new workbench window with a new perspective. My issue is that every new workbench window opened contains the menu of the main application, and I don't want it to. Is there a way from within the called plugin to override the behavior of the main app's WorkbenchWindowAdvisor? Perhaps define a new WorkbenchWindowAdvisor for that specific workbench window? How would I go about doing this, since PlatformUI.getWorkbench().openWorkbenchWindow does not take an advisor like createAndRunWorkbench does?
Thanks!
Jim
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.30732 seconds