Reload / reset perspective [message #504900] |
Wed, 23 December 2009 12:54 |
|
Hi all,
(sorry for my english)
I have a perspective, his layout is defined in the perspective's class.
Contains 3 views, 2 are folded.
The RCP is deployed to clients via webstart.
I added a new view to the defined perspective's folder.
When the client restarts, updates itself correctly via webstart.
When the user reopens the perspective the new view isn't here.
I have defined in the jnlp the osgi.instance.area and
osgi.configuration.area parameters as @user.home/.myprod and
@user.home/.myprod/configuration respectively.
If i delete the .myprod folder in user's home dir then the perspective is
loaded correctly, so it isn't a up-to-date plugins problem.
I have tried to add a RESET_PERSPECTIVE action (registered it) and invoke
it but nothing happens, the perspective is reset (i'll see that cause the
original sizes are reset) but the new view isn't here.
Some suggestion how to resolve my issue?
--
kindly Elvis Dominguez
|
|
|
Re: Reload / reset perspective [message #505096 is a reply to message #504900] |
Sat, 26 December 2009 19:01 |
|
Hi,
how to add the reset perspective:
http://www.vogella.de/articles/EclipseCommands/article.html# standardcommands
Best regards, Lars
--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
http://www.twitter.com/vogella - vogella on Twitter
On 23.12.2009 04:54, Elvis Dominguez wrote:
> Hi all,
>
> (sorry for my english)
>
> I have a perspective, his layout is defined in the perspective's class.
> Contains 3 views, 2 are folded.
> The RCP is deployed to clients via webstart.
>
> I added a new view to the defined perspective's folder.
> When the client restarts, updates itself correctly via webstart.
> When the user reopens the perspective the new view isn't here.
>
> I have defined in the jnlp the osgi.instance.area and
> osgi.configuration.area parameters as @user.home/.myprod and
> @user.home/.myprod/configuration respectively.
>
> If i delete the .myprod folder in user's home dir then the perspective is
> loaded correctly, so it isn't a up-to-date plugins problem.
>
> I have tried to add a RESET_PERSPECTIVE action (registered it) and invoke
> it but nothing happens, the perspective is reset (i'll see that cause the
> original sizes are reset) but the new view isn't here.
>
> Some suggestion how to resolve my issue?
>
|
|
|
Re: Reload / reset perspective [message #505660 is a reply to message #505096] |
Mon, 04 January 2010 09:36 |
|
Hi Lars, thank you for the link (and for your wonderful tutorials!)
The problem isn't adding the action, this step was already done.
The problem is that the action doesn't do what i expect, the perspective
is reset but newly added views aren't added!
Thanks anyway
--
kindly Elvis Dominguez
|
|
|
|
Powered by
FUDForum. Page generated in 0.04544 seconds