Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » welcome view in java
welcome view in java [message #453579] Thu, 03 August 2006 14:51 Go to next message
Serge  is currently offline Serge Friend
Messages: 76
Registered: July 2009
Member
hi everyone

i've just taken a look at the rcp welcome view. is it possible to write it
also in java or does it have to be in xml using xhtml?
what i'm trying to do is a welcome view where the user can choose between
different perspectives he wants to open. so actually all i'm asking if its
possible to open perspectives from a welcome view.

thanks, serge
Re: welcome view in java [message #453629 is a reply to message #453579] Fri, 04 August 2006 12:32 Go to previous messageGo to next message
Serge  is currently offline Serge Friend
Messages: 76
Registered: July 2009
Member
Serge wrote:

> hi everyone

> i've just taken a look at the rcp welcome view. is it possible to write it
> also in java or does it have to be in xml using xhtml?
> what i'm trying to do is a welcome view where the user can choose between
> different perspectives he wants to open. so actually all i'm asking if its
> possible to open perspectives from a welcome view.

> thanks, sergehi

well so i guess it's not possible. could maybe a perspective being opened
from and xhtml file? or how could that be realized?

thx in advance
Re: welcome view in java [message #453661 is a reply to message #453579] Mon, 07 August 2006 16:27 Go to previous message
Martin Sooriam is currently offline Martin SooriamFriend
Messages: 24
Registered: July 2009
Junior Member
Serge,

You can create a sub-class of IIntroAction to do what you need to do.

in your xml file, provide the link and your plugin id and a sub-class of
IIntroAction to do what needs to be done when the user click the link.
Then create your sub-class of IIntroAction to open the needed Perspective.

<a
href=" http://org.eclipse.ui.intro/runAction?pluginId=your_plugin_i d&amp;class=your_IIntroAction_subclass">
<img border="0" src="link_obj.gif" alt="login" />Click Me</a>

Mahesh

Serge wrote:
> hi everyone
>
> i've just taken a look at the rcp welcome view. is it possible to write
> it also in java or does it have to be in xml using xhtml? what i'm
> trying to do is a welcome view where the user can choose between
> different perspectives he wants to open. so actually all i'm asking if
> its possible to open perspectives from a welcome view.
>
> thanks, serge
>
Previous Topic:license for generated rcp code
Next Topic:URL and/or ClassLoader problem
Goto Forum:
  


Current Time: Thu Oct 10 02:39:59 GMT 2024

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

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

Back to the top