Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 72354 - [misc] Accidental clicking "Show Source of Selected Element Only" causes confusion
Summary: [misc] Accidental clicking "Show Source of Selected Element Only" causes con...
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: All Windows XP
: P3 enhancement (vote)
Target Milestone: 3.3 M2   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 20155
Blocks:
  Show dependency tree
 
Reported: 2004-08-20 11:15 EDT by Sandip Chitale CLA
Modified: 2006-08-30 12:26 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sandip Chitale CLA 2004-08-20 11:15:31 EDT
On the newsgroups I have seen many people (mostly beginners) complaining about 
not seeing full cource of their classes. It always turns out that they 
accidentally clicked the "Show Source of Selected Element Only" toolbar button.

Here are few possible enhancements:

1. When the "Show Source of Selected Element Only" is clicked show a message 
dialog indicating how to get out of the state. The dialog could have "Do not 
show this message" checbbox. The message showing behaviour should be 
recoverable from the Java:Editor preferences page.

Alternatively:

2. Make "Show Source of Selected Element Only" a preference.
2.1 Move "Show Source of Selected Element Only" to a submenu under Source i.e. 
making it difficult to get into. It should be possible for an expert to show 
it on the toolbar also.

3. Always indicate the state in the editor - a label at top with instructions 
on how to get out of the state. Or a icon on the Editor tab with a tooltip 
showing how to get out of the state.
Comment 1 Kai-Uwe Maetzel CLA 2004-08-20 13:37:41 EDT
We will at least make the state visible as preference.
Comment 2 Dani Megert CLA 2004-08-23 04:40:19 EDT
See also bug 20155 which asks to replace it with a preference. It contains some
other ideas like putting the state into the editor tab (context menu).
Comment 3 Dani Megert CLA 2005-05-26 18:20:35 EDT
Deferred.
Comment 4 Dani Megert CLA 2006-08-30 12:23:22 EDT
Fixed in HEAD.
Available in builds > N20060830-0010.

See bug 20155 for details.