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

Bug 321648

Summary: No "Source" menu / context menu for IMP editors
Product: z_Archived Reporter: Adam Taylor <awtaylor>
Component: IMPAssignee: Robert M. Fuhrer <rfuhrer>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Here's a possible implementation based upon JDT
none
SWTBot test plugin for the proposed patch
none
missing test plugin dependency none

Description Adam Taylor CLA 2010-08-03 15:11:35 EDT
Build Identifier: 

When in a Java Editor there is a "Source" main menu and a "Source" context menu which contains actions such as toggle comment, indent selection, etc.  This is not present for an IMP editor

Reproducible: Always

Steps to Reproduce:
Open IMP editor
Comment 1 Adam Taylor CLA 2010-08-04 12:20:59 EDT
Created attachment 175848 [details]
Here's a possible implementation based upon JDT
Comment 2 Adam Taylor CLA 2010-08-04 12:22:48 EDT
Created attachment 175850 [details]
SWTBot test plugin for the proposed patch
Comment 3 Adam Taylor CLA 2010-08-04 14:39:28 EDT
Created attachment 175871 [details]
missing test plugin dependency
Comment 4 Robert M. Fuhrer CLA 2010-08-12 16:04:45 EDT
This patch looks like it was all copied/adapted from the JDT. Was any part of this taken from anywhere else?
Comment 5 Adam Taylor CLA 2010-08-12 16:24:43 EDT
That's correct, it all came from the JDT.
Comment 6 Robert M. Fuhrer CLA 2010-09-09 18:35:47 EDT
Reviewed patches; they all looked reasonable to me. Applied to HEAD of SVN trunk. Will go out as part of the next IMP release.

Thanks!