Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » welcome view in java
welcome view in java [message #453579] Thu, 03 August 2006 10:51 Go to next message
Eclipse UserFriend
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 08:32 Go to previous messageGo to next message
Eclipse UserFriend
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 12:27 Go to previous message
Eclipse UserFriend
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: Wed Jul 02 03:37:18 EDT 2025

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

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

Back to the top