Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to save the width of tableviewer automaticly after the user adjusts it?
How to save the width of tableviewer automaticly after the user adjusts it? [message #805909] Fri, 24 February 2012 09:28 Go to next message
David Song is currently offline David SongFriend
Messages: 217
Registered: April 2011
Senior Member
Hi all,

How to save the width of tableviewer automaticly after the user adjusts it? so that the table column would be the exact width when the next opening.

Thanks
David
Re: How to save the width of tableviewer automaticly after the user adjusts it? [message #806274 is a reply to message #805909] Fri, 24 February 2012 19:34 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi,

you can use the setting store to save persistent settings. See
ISettingStore and RWT.getSettingStore().

HTH, Ralf

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: How to save the width of tableviewer automaticly after the user adjusts it? [message #806770 is a reply to message #806274] Sat, 25 February 2012 13:03 Go to previous message
David Song is currently offline David SongFriend
Messages: 217
Registered: April 2011
Senior Member
Thanks Ralf, just using the method RWT.getSettingStore().setAttribute(name, value) and RWT.getSettingStore().getAttribute(name) to persist the setting? any simple common way to set all the tableviewers in my project?

Thanks
David

[Updated on: Sat, 25 February 2012 13:04]

Report message to a moderator

Re: How to save the width of tableviewer automaticly after the user adjusts it? [message #806773 is a reply to message #806274] Sat, 25 February 2012 13:03 Go to previous message
David Song is currently offline David SongFriend
Messages: 217
Registered: April 2011
Senior Member
Thanks Ralf, just using the method RWT.getSettingStore().setAttribute(name, value) and RWT.getSettingStore().getAttribute(name) to persist the setting? any simple common way to solve it?

Thanks
David
Previous Topic:How to save the width of tableviewer automaticly after the user adjusts it?
Next Topic:Custom Theme Override
Goto Forum:
  


Current Time: Thu Mar 28 18:07:02 GMT 2024

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

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

Back to the top