Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318425 - [Perspectives] Empty Submenus combo in Customize Perspective Dialog
Summary: [Perspectives] Empty Submenus combo in Customize Perspective Dialog
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.7   Edit
Assignee: Platform UI Triaged CLA
QA Contact: Paul Webster CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-30 05:13 EDT by vidhvan CLA
Modified: 2011-01-31 08:49 EST (History)
2 users (show)

See Also:


Attachments
stack trace (3.42 KB, text/plain)
2010-06-30 05:18 EDT, vidhvan CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description vidhvan CLA 2010-06-30 05:13:20 EDT
Build Identifier: 

In a custom RCP application, there are no entries in the submenus combo(Shortcuts Tab) of customize perspective dialog.

Reproducible: Always

Steps to Reproduce:
1. Create an RCP Application using "RCP Application with a view" template.
2. In ApplicationWorkbenchWindowAdvisor-> preWindowOpen(), add the line "configurer.setShowPerspectiveBar(true);" 
3. Launch the application and open customize perspective dialog(right-click on Perspective button-> Customize).
4. In the shortcuts tab, there are no entries in the submenus combo, pressing "Ok" button throws NPE and the dialog won't close.
Comment 1 vidhvan CLA 2010-06-30 05:18:59 EDT
Created attachment 173072 [details]
stack trace
Comment 2 vidhvan CLA 2010-06-30 05:20:01 EDT
Build id: 20100218-1602
Comment 3 Remy Suen CLA 2010-06-30 05:30:05 EDT
I'm pretty sure we fixed this. See bug 284558.

Please try with 3.6.
http://download.eclipse.org/eclipse/downloads/drops/R-3.6-201006080911/index.php
Comment 4 vidhvan CLA 2010-06-30 05:37:43 EDT
Tested with "Build id: 20100617-1415". NPE is gone but the entries are still missing.
Comment 5 Paul Webster CLA 2011-01-31 08:49:18 EST
(In reply to comment #4)
> Tested with "Build id: 20100617-1415". NPE is gone but the entries are still
> missing.

Which entries are missing?  That combo will only contain entries if the corresponding menu actions are instantiated in the ActionBarAdvisor.

PW