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

Bug 356843

Summary: Submenus missing from context menu of EGL editor
Product: z_Archived Reporter: broy2
Component: EDTAssignee: Yun Feng Ma <mayunf>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: chenzhh, jspadea, xiaobinc
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Path lasher: iplog+

Description broy2 CLA 2011-09-06 14:41:34 EDT
Build Identifier: 20110906

I opened 356532 for some additions to the context menu.  Of the ones I mentioned, all were added except Debug As.
So I've closed 356532, but according to Justin's comment, Debug isn't the only submenu missing from our editor.  
Here's Justin's comment:

The "Run As/Debug As" submenus are part of Eclipse Platform. Whoever owns the
EGL editor should step through the Java editor to see where/how these submenus
are added, and then step through the EGL editor to see why it's not appearing
there. This isn't the only submenu that's missing from our editor - there's no
"Team", "Compare With", or "Replace With" either - probably for the same
reason.


Reproducible: Always
Comment 1 Yun Feng Ma CLA 2011-09-13 04:02:46 EDT
Created attachment 203220 [details]
Path

Here is a patch, please review it. Thanks.
Comment 2 Yun Feng Ma CLA 2011-09-14 06:35:24 EDT
Hi Justin,

Now the menu itemss are shown in the context menu of EGL Editor. One question: there is no menu to run/debug RUIHandler in EDT, which exists in RBD. Do you think I should do this, or you will do it? Thanks.
Comment 3 Justin Spadea CLA 2011-09-14 14:32:16 EDT
I see the Debug As / Run As submenus in the editor's context menu now. Looking at the enablement for these in org.eclipse.debug.ui's plugin.xml, it appears that the menus won't be displayed if org.eclipse.debug.core hasn't been activated yet. Does opening the Debug perspective make it appear? And before that, when you can't see it in the EGL editor menu do you see it in the Java editor menu?
Comment 4 Yun Feng Ma CLA 2011-09-29 05:40:53 EDT
Resolved. Thanks.
Comment 5 broy2 CLA 2011-09-29 09:59:03 EDT
Verified in 20110929 build.