Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Reload / reset perspective
Reload / reset perspective [message #504900] Wed, 23 December 2009 07:54 Go to next message
Elvis Dominguez is currently offline Elvis Dominguez
Messages: 49
Registered: July 2009
Location: Switzerland
Member
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 14:01 Go to previous messageGo to next message
Lars Vogel is currently offline Lars Vogel
Messages: 1048
Registered: July 2009
Senior Member

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 04:36 Go to previous messageGo to next message
Elvis Dominguez is currently offline Elvis Dominguez
Messages: 49
Registered: July 2009
Location: Switzerland
Member
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
Re: Reload / reset perspective [message #507704 is a reply to message #504900] Thu, 14 January 2010 07:34 Go to previous message
Elvis Dominguez is currently offline Elvis Dominguez
Messages: 49
Registered: July 2009
Location: Switzerland
Member
Nobody else have an idea?
I really can't understand how to solve this issue...



--
kindly Elvis Dominguez
Previous Topic:Problem with understanding on Action Sets DefinitionID┬┤s and classes.
Next Topic:Creating a sidebar - how can I resize a view programatically?
Goto Forum:
  


Current Time: Tue Jul 22 03:34:49 EDT 2014

Powered by FUDForum. Page generated in 0.03929 seconds