Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Saving the perspective layout
Saving the perspective layout [message #1101284] Wed, 04 September 2013 08:51 Go to next message
Thomas Wilhelm is currently offline Thomas WilhelmFriend
Messages: 28
Registered: September 2013
Junior Member
Hey all,

i´ve got a simple question (yes i googled it first Wink): My e4 application does not save my layout, so if i drag a part to the bottom of my window and restart the application, the part was reset to his old location Sad What do i have to do to save the new part location? I already checked and removed the "-clearPersistedState" argument and also my runconfiguration does not clear the workspace, so there must be any other magic Wink


Hmm either its too easy or too hard Sad Let me ask something else: Do you do anything to save your application Model when your application shuts down? Or does it work for you right out of the box (as it also does in Eclipse 3.Cool?

Thanks for your help in advance
Thomas

[Updated on: Wed, 04 September 2013 10:52]

Report message to a moderator

Re: Saving the perspective layout [message #1101513 is a reply to message #1101284] Wed, 04 September 2013 14:58 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Not starting with -clearPersistedState? Check your plugin.xml it could
be also set in the product properties!

Tom

On 04.09.13 10:51, Thomas Wilhelm wrote:
> Hey all,
> i´ve got a simple question (yes i googled it first ;)): My e4
> application does not save my layout, so if i drag a part to the bottom
> of my window and restart the application, the part was reset to his old
> location :( What do i have to do to save the new part location? I
> already checked and removed the "-clearPersistedState" argument and also
> my runconfiguration does not clear the workspace, so there must be any
> other magic ;)
>
> Thanks for your help in advance
> Thomas
Re: Saving the perspective layout [message #1101515 is a reply to message #1101284] Wed, 04 September 2013 15:00 Go to previous messageGo to next message
Eric Moffatt is currently offline Eric MoffattFriend
Messages: 118
Registered: July 2009
Senior Member

Make sure that you also don't have a property for your application for 'clearPersistedState'. In general you should indeed be getting the save / load for free.
Re: Saving the perspective layout [message #1101948 is a reply to message #1101513] Thu, 05 September 2013 06:18 Go to previous message
Thomas Wilhelm is currently offline Thomas WilhelmFriend
Messages: 28
Registered: September 2013
Junior Member
Hey Tom,

thanks alot, you´ve got it Wink It was set in my plugin.xml too Sad

I thought maybe i have to define an addon as i made before to enable the Part DragAndDrop. Anyway now it works, thanks a lot and have a nice day Wink

Thomas
Previous Topic:Injection of own objects in handler
Next Topic:Compatibility with JSR-107 caching annotations?
Goto Forum:
  


Current Time: Fri Apr 26 12:59:10 GMT 2024

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

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

Back to the top