Bug 323251 - [PropertiesView] Feature Request for PropertySheetViewer - Categories Do Not Remember The Collapsed/Expanded Tree State When Switching Between Elements Which Have A Set of Varying Categories
Summary: [PropertiesView] Feature Request for PropertySheetViewer - Categories Do Not ...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows Vista
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-20 09:51 EDT by Andrei Costache CLA
Modified: 2019-09-06 15:32 EDT (History)
0 users

See Also:


Attachments
Proposed Patch (3.33 KB, patch)
2010-08-20 09:52 EDT, Andrei Costache CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Costache CLA 2010-08-20 09:51:09 EDT
Build Identifier: M20100211-1343

When switching between different elements which have corresponding categories (PropertySheetCategory) in the PropertySheetViewer, the collapsed/expanded tree state of categories is not remembered. 

For instance, if element X has categories A,B (expanded by default on creation) and we collapse category A, then switch to element Y, which has category B,C, when we switch back to element X, the collapsed behavior of its category A will not be remembered (as the category will be recreated and expanded by default) and therefore the tree of category A will be expanded (although we want it to remember the fact that we formerly collapsed it).

We are based on and have used:
Eclipse 3.5.2, build ID: M20100211-1343
Eclipse UI Library used: org.eclipse.ui.views_3.4.1.M20090826-0800.
OS: Windows Vista SP2.

We have also created a patch for the requested behavior.

Regards,
Andrei Costache

Reproducible: Always
Comment 1 Andrei Costache CLA 2010-08-20 09:52:53 EDT
Created attachment 177097 [details]
Proposed Patch

Created and used a Map to remember the state of the PropertySheetCategory (categories) when expanding or collapsing state and then switching between elements with varying sets of categories.
Comment 2 Eclipse Webmaster CLA 2019-09-06 15:32:50 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.