Community
Participate
Working Groups
My project is part of wtp and we have moved to targeting eclipse 4.2M3 I have a pulldown toolbar button defined which was working fine when targeting eclipse 3.7 platform. Now that I am targeting 4.2 platform, the toolbar pulldown is just a button, no longer a pulldown. I can fix this easily enough by changing pulldown="true" to style="pulldown". My concern is for compatibility purposes. I just happened to notice that my toolbar button was no longer a pulldown. The pulldown attribute is deprecated, but if it's not going to work at all I think it should be removed from the .exsd. <extension point="org.eclipse.ui.actionSets"> <actionSet description="%JptCreationActionSet.description" id="org.eclipse.jpt.jpa.ui.JptCreationActionSet" label="%JptCreationActionSet.label"> <action class="org.eclipse.jpt.jpa.ui.internal.wizards.NewEntityDropDownAction" disabledIcon="icons/full/etool16/new_entity_wiz.gif" icon="icons/full/etool16/new_entity_wiz.gif" id="org.eclipse.jpt.jpa.ui.NewEntityAction" label="%NewEntityAction.label" pulldown="true" toolbarPath="Normal/JptWizards"> </action> </actionSet> </extension>
All of the action extension points are deprecated in the 4.x stream. But I think we can make the pulldown="true" work. PW
Fixed by http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=1274549d1d31d09adc60f7fdd14f32a75b6ee2c0 PW
In I20120123-2200 Karen, could you confirm this works for you in a recent build? PW
Is the fix in the M5 build?
I downloaded 4.2M5, and this bug is not fixed. Looks like that contains org.eclipse.ui plug-in from 1/18
(In reply to comment #5) > I downloaded 4.2M5, and this bug is not fixed. Looks like that contains > org.eclipse.ui plug-in from 1/18 The fix is in M5. org.eclipse.ui_3.102.0.v20120118-1650 and org.eclipse.ui.workbench_3.103.0.v20120126-1500 I just ran it with extension below and I get a toolbar with a dropdown filled in from the z.ex.rcp.mail.MyTBDropdown.getMenu(Control) method. <extension point="org.eclipse.ui.actionSets"> <actionSet id="z.ex.rcp.mail.actionSet1" label="MyActionSet" visible="true"> <action class="z.ex.rcp.mail.MyTBDropdown" icon="icons/sample3.gif" id="z.ex.rcp.mail.action1" label="MyTB" pulldown="true" style="push" toolbarPath="Normal/JptWizards" tooltip="MyTB"> </action> </actionSet> </extension> Is M5 set as your target platform? PW
The fix only works for me if I also add style="push". I did not have to have this set for the 3.7 platform
Ah, OK. PW
Released http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=79e43a45861593201d51793e31b458883c3b6581 PW
In I20120313-0610 PW