Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 15946 - Java Outliner shows fields with "Show Fields" turned off
Summary: Java Outliner shows fields with "Show Fields" turned off
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: Other Linux
: P2 normal (vote)
Target Milestone: 2.0 M6   Edit
Assignee: Martin Aeschlimann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 15511 15750 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-05-14 10:41 EDT by Jared Burns CLA
Modified: 2002-05-22 09:13 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jared Burns CLA 2002-05-14 10:41:03 EDT
If you have "Show Statics" selected and "Show Fields" deselected, Static 
fields are shown. If the user turns off "Show Fields" we should not show 
fields.

The logic for filtering things from the view is:
- No fields should be shown if the "Show Fields" toggle is off.
- No statics should be shown if the "Show Statics" toggle is off.
Comment 1 Martin Aeschlimann CLA 2002-05-14 11:00:53 EDT
Sorry for continuing this detail discussion, but the behaviour is correct.
Please read also bug 15505.

If we implement the behaviour that you propose, the button should be labeled:
'Do not hide fields' and 'Do not hide statics'

Note that only a pressed button has a meaning. An unpressed (unchecked) button 
should not have an influence on the view. 
So having 'Show statics' unpressed does not mean 'No Statics Shown'

Note that we had a clean behaviour before with the old checked state. 
Comment 2 Erich Gamma CLA 2002-05-14 12:28:17 EDT
Here is the proposal that we agreed on.

When the view shows up all local toolbar buttons are unpressed and all members 
are visible.

Pressing a local toolbar button activates a filter and reduces the members 
shown. To make this explicit we order new icons to indicate the filter status 
of these actions.

The tooltips will be:
- Hide Fields
- Hide Statics
- Show Only Public Members 

Comment 3 Erich Gamma CLA 2002-05-14 12:30:13 EDT
*** Bug 15750 has been marked as a duplicate of this bug. ***
Comment 4 Erich Gamma CLA 2002-05-14 12:38:57 EDT
*** Bug 15511 has been marked as a duplicate of this bug. ***
Comment 5 Martin Aeschlimann CLA 2002-05-14 13:52:26 EDT
changed to hide

> 20020514
Comment 6 Till Bay CLA 2002-05-22 09:13:55 EDT
Verified.