Community
Participate
Working Groups
Build Identifier: 3.7.0 I20110613-1736 I'd like to say goodbye to the ActionBarAdvisor for good, but the one thing that's stopping me is the BaseNewWizardMenu contribution. If there's a way to add this declaratively and I'm just unaware of it, let me know. I've tried to add it as a dynamic menu, but it fails because BaseNewWizardMenu does not have a zero-arg constructor. The current constructor is: public BaseNewWizardMenu(IWorkbenchWindow window, String id) Could the window be replaced with a call to PlatformUI.getWorkbench().getActiveWorkbencWindow(). And perhaps the id could just not be set? In my admittedly simplistic testing this seems to work fine, but I'm guessing I'm missing something. In any case, if there's a way to make BaseNewWizardMenu work declaratively that would be great. Reproducible: Always
after determining what the contribution should look like, we should look at org.eclipse.ui.ExtensionFactory as a way to provide the contribution item without making the implementation visible. PW
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. If the bug is still relevant, please remove the "stalebug" whiteboard tag.