Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » Saving the perspective layout
Saving the perspective layout [message #1101284] Wed, 04 September 2013 04:51 Go to next message
Eclipse UserFriend
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 06:52] by Moderator

Re: Saving the perspective layout [message #1101513 is a reply to message #1101284] Wed, 04 September 2013 10:58 Go to previous messageGo to next message
Eclipse UserFriend
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 11:00 Go to previous messageGo to next message
Eclipse UserFriend

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 02:18 Go to previous message
Eclipse UserFriend
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: Thu Jul 17 10:31:30 EDT 2025

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

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

Back to the top