Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Save SWT widget properties to workspace
Save SWT widget properties to workspace [message #1824155] Wed, 08 April 2020 18:31 Go to next message
Nincs Nincs is currently offline Nincs NincsFriend
Messages: 1
Registered: April 2020
Junior Member
When SWT widgets including JFace TableViewers, TableViewerColumns, Tables etc. are on multiple views, is it possible to store properties regarding these widgets in the workspace.xmi? So if the users changes the order of the columns, and restarts the app, the columns would be in the same order. The file workspace.xmi is created/updated on close, but only with the properties of the views.

[Updated on: Wed, 08 April 2020 19:22]

Report message to a moderator

Re: Save SWT widget properties to workspace [message #1824182 is a reply to message #1824155] Thu, 09 April 2020 06:59 Go to previous message
Rolf Theunissen is currently offline Rolf TheunissenFriend
Messages: 191
Registered: April 2012
Senior Member
The @PersitState annotation is intended for that. Have a look at the following tutorial how to handle preferences in E4.

https://www.vogella.com/tutorials/EclipsePreferences/article.html
Previous Topic:Branding - Window Images not showing
Next Topic:How to call QuitHandler when exiting via app switcher (macOS)
Goto Forum:
  


Current Time: Thu Apr 22 14:09:56 GMT 2021

Powered by FUDForum. Page generated in 0.01627 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top