Community
Participate
Working Groups
Build Identifier: Version: 4.2.0 Build id: I20120608-1400 1,new report project 2,new a rptdesign, new datasource and data set check top menu Can't find "data" menu Reproducible: Always
Created attachment 219039 [details] screenshot
Did you start with Eclipse from http://www.eclipse.org/downloads/ ? What filename did you unzip to install eclipse? Did you install any other plugins? Is there anything in your error log that you can attach? <workspace>/.metadata/.log Also, if you leave the editor open an switch perspectives and back, does the menu appear? PW
(In reply to comment #2) > Did you start with Eclipse from http://www.eclipse.org/downloads/ ? What > filename did you unzip to install eclipse? Did you install any other plugins? > > Is there anything in your error log that you can attach? > <workspace>/.metadata/.log > > Also, if you leave the editor open an switch perspectives and back, does the > menu appear? > > PW I use "birt-report-designer-all-in-one-4_2_0-20120613.zip" from Actuate, didn't install other plugins. "Data" menu don't appear after switch perspectives.
Created attachment 219089 [details] log
Please provide a URL to the download page, Actuate is not the Eclipse Foundation. PW
BIRT All-In-One can be downloaded from: http://www.eclipse.org/downloads/download.php?file=/birt/downloads/drops/R-R1-4_2_0-201206131143/birt-report-designer-all-in-one-4_2_0.zip
In the WorkbenchMenuService class of e4, it doesn't implement the method populateContributionManager, so we can't get the menu items from the plugin extension points. And I look at the eclipse source code, the eclipse self also has the same problem. I don't know why e4 doesn't implement the method populateContributionManager, and I don't find any relative articles or bugs.
(In reply to comment #7) > In the WorkbenchMenuService class of e4, it doesn't implement the method > populateContributionManager, so we can't get the menu items from the plugin > extension points. How is the Data menu being contributed? The standard use of org.eclipse.ui.menus should just work, as should even an actionSet. See also bug 366528 PW
(In reply to comment #8) > (In reply to comment #7) > > In the WorkbenchMenuService class of e4, it doesn't implement the method > > populateContributionManager, so we can't get the menu items from the plugin > > extension points. > > How is the Data menu being contributed? The standard use of > org.eclipse.ui.menus should just work, as should even an actionSet. > > See also bug 366528 > > PW // Data Menu MenuManager dataMenu = new MenuManager( Messages.getString( "DesignerActionBarContributor.menu.data" ), M_DATA ); //$NON-NLS-1$ // the data actions are now registered through eclipse menu extensions IMenuService menuService = (IMenuService) PlatformUI.getWorkbench( ) .getService( IMenuService.class ); menuService.populateContributionManager( dataMenu, "menu:birtData" ); //$NON-NLS-1$ menubar.insertAfter( M_ELEMENT, dataMenu );
(In reply to comment #8) (In reply to comment #8) > (In reply to comment #7) > > In the WorkbenchMenuService class of e4, it doesn't implement the method > > populateContributionManager, so we can't get the menu items from the plugin > > extension points. > > How is the Data menu being contributed? The standard use of > org.eclipse.ui.menus should just work, as should even an actionSet. > > See also bug 366528 > > PW We custom a menu locationURI="menu:birtData", then use the org.eclipse.ui.menus extension point to registry the menuitem. and use IMenuService.populateContributionManager to gather the registered menuitems. I know the e4 application model can implement this function, but we don't want to depend the e4 framework.
(In reply to comment #9) > (In reply to comment #8) > > (In reply to comment #7) > menubar.insertAfter( M_ELEMENT, dataMenu ); Where did menubar come from? PW
(In reply to comment #10) > We custom a menu locationURI="menu:birtData", then use the > org.eclipse.ui.menus extension point to registry the menuitem. and use > IMenuService.populateContributionManager to gather the registered menuitems. We still plan to support IMenuService.populateContributionManager(*) so that will still work without looking to any new Eclipse4 functionality. It's just not fixed yet. Bug 366528 - [Compatibility] Implement IMenuService#populateContributionManager(*) PW
*** Bug 398058 has been marked as a duplicate of this bug. ***
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. -- The automated Eclipse Genie.
i think this is fixed.