Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » Save SWT widget properties to workspace
Save SWT widget properties to workspace [message #1824155] Wed, 08 April 2020 14:31 Go to next message
Eclipse UserFriend
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 15:22] by Moderator

Re: Save SWT widget properties to workspace [message #1824182 is a reply to message #1824155] Thu, 09 April 2020 02:59 Go to previous message
Eclipse UserFriend
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: Sun Jul 13 21:08:40 EDT 2025

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

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

Back to the top