Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 33292 - Show Source of selected element and Java Snippet Editor
Summary: Show Source of selected element and Java Snippet Editor
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 RC2   Edit
Assignee: Darin Swanson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-26 12:10 EST by Darin Swanson CLA
Modified: 2003-03-02 10:52 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Swanson CLA 2003-02-26 12:10:50 EST
This action is enabled for the JavaSnippetEditor and it has no meaning.
No bad side-effects either..
Can we get rid of it?
Comment 1 Darin Wright CLA 2003-02-26 12:22:18 EST
Where is this action (i.e. which menu)?
Comment 2 Darin Swanson CLA 2003-02-26 12:24:53 EST
It is up in the editor contribution actions in the window toolbar.
Comment 3 Darin Wright CLA 2003-02-26 12:52:45 EST
Our SnippetEditorActionContributor subclasses the java editor action 
contributor, which is likely the source of the problem.
Comment 4 Darin Wright CLA 2003-03-01 21:40:40 EST
Fixed. Removed call to super.contributeActionsToToolbar()... This also removes 
the next/prev error actions, which I believe also makes sense, as the snippet 
editor does not support those actions either.
Comment 5 Darin Wright CLA 2003-03-01 21:41:06 EST
Please verify, Darin (S).
Comment 6 Darin Swanson CLA 2003-03-02 10:52:18 EST
Verified.