Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 365488

Summary: JPA perspective 'New Entity' tool bar button is not a drop-down with e4 platform
Product: [WebTools] Dali JPA Tools Reporter: Karen Butzke <karenfbutzke>
Component: JPAAssignee: Karen Butzke <karenfbutzke>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jolene.moffitt
Version: 3.1   
Target Milestone: 3.2 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard: wtp4x

Description Karen Butzke CLA 2011-12-02 16:13:59 EST
Using e4, the JPA perspective has a tool bar button that is labeled 'New Entity', but it is not a drop-down. With eclipse 3.7 platform it is correctly shown as a drop-down where you can choose to create a new entity or a mapping file.
Comment 1 Karen Butzke CLA 2011-12-07 14:41:36 EST
we are using a deprecated extension point org.eclipse.ui.actionsSets. Within that extension point the 'pulldown' attribute is deprecated, I think we need to instead use  style="pulldown" or completely get rid of the use of the deprecated extension point.

Of course this also points to an error in e4, they are ignoring the 'pulldown' attribute, that makes it unsupported instead of deprecated.
Comment 2 Karen Butzke CLA 2011-12-22 10:32:31 EST
I changed our actionSets extension point to use style="pulldown". Also entered a bug against the platform to still support the deprecated 'pulldown' attribute: bug 366037.

Attempted to remove our use of the deprecated actionSets extension point, but this is how this type of toolbar dropdown menu is done in jdt.ui and jee.ui and I am unsure how to support this without spending days of effort. I also don't want to break any extenders that might be adding to that menu.
Comment 3 Jolene Moffitt CLA 2011-12-28 18:30:19 EST
Verified in Build I-3.4.0-20111226173932

Verified using e4, the JPA perspective has a drop down for the New Entity button on the tool bar.  See the link to view test steps for verification. http://wiki.eclipse.org/Dali_3.2_M5