Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354734 - Improvement of persistent storage of the TableView layout
Summary: Improvement of persistent storage of the TableView layout
Status: CLOSED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RM (show other bugs)
Version: 5.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 5.0.2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-15 10:18 EDT by Claudia Knobloch CLA
Modified: 2011-08-15 10:22 EDT (History)
1 user (show)

See Also:


Attachments
Code changes (52.26 KB, application/octet-stream)
2011-08-15 10:18 EDT, Claudia Knobloch CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Claudia Knobloch CLA 2011-08-15 10:18:56 EDT
Created attachment 201498 [details]
Code changes

Saving the layout persistent had been implemented partly. The sorting had not been part of persistent storage yet. For this we had to change the handling of sorting parameters in the TableView. Before two additional parameters controlled the sorting, we now use the tree structure of the view to control it. We had to increase the version number of LML_da.

During implementation of this feature we discovered that another requested behavior was not implemented. When the Eclipse instance has been closed without shutting down the Resource Manager before the latest layout was not written into the model. We added a DisposeListener to the view and every time the sorting is changed now, we write it into the model.

Also we wrote some Java Doc comments to some methods. This work will go on.