Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347799 - SWT: Column Order not saved into Scout-Prefs
Summary: SWT: Column Order not saved into Scout-Prefs
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-31 10:43 EDT by Matthias Zimmermann CLA
Modified: 2021-08-19 11:31 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Zimmermann CLA 2011-05-31 10:43:34 EDT
If a user only changes the ordering of columns in a table page and then closes the application, the new column ordering is not saved to the Scout-prefs 

--- original description in German ---
Falls der Benutzer nur die Spalten-Reihenfolge auf einer TablePage ändert und dann die Applikation schliesst, werden die Änderungen nicht in den Scout-Prefs ("com.bsiag.scout.client.prefs") gespeichert. Sobald jedoch nachfolgend noch die Spaltenbereite verändert oder Spalte(n) ein-/ausgeblendet werden, wird die Reihenfolge ebenfalls abgespeichert.

Eigentlich fehlt beim Aufruf von SwtScoutTable.handleSwtColumnMoved() nur der Aufruf von AbstractTable.storeUserSettingsInternal(), welcher die geänderte Reihenfolge in den UserSettings zwischenspeichert.
Um dies zu erreichen gäbe es eine elegante Lösung indem man AbstractTable.P_TableUIFacade.fireColumnMovedFromUI(...) aufruft. Hier liegt jedoch die Schwierigkeit (für mich) darin, an die passenden Parameter zu gelangen.
Comment 1 Matthias Zimmermann CLA 2011-05-31 10:44:05 EDT
fixed on 4.5.11, #95327
Comment 2 Matthias Zimmermann CLA 2011-06-28 09:14:22 EDT
shipped with eclipse scout 3.7.0