Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » XHTML Custom Intro Site – How to trigger a workbench action?
XHTML Custom Intro Site – How to trigger a workbench action? [message #471611] Thu, 31 January 2008 16:32 Go to next message
Matthias is currently offline MatthiasFriend
Messages: 9
Registered: July 2009
Junior Member
Hi,

I just created an Intro Site for my Eclipse RCP. In order to customize it
to my needs I’ve chosen the XHTML instead of the XML format. However, I
would like to create links to workbench actions! One way is to use the XML
format
e.g.

<link label="Java editor"
url=" http://org.eclipse.ui.intro/runAction?pluginId=org.eclipse.p de.ui&amp;
class=org.eclipse.pde.internal.ui.samples.ShowSampleAction&a mp;amp;
id=org.eclipse.sdk.samples.javaeditor"
id="java-editor"
style-id="content-link">
<text>Demonstrates standard features available to custom text editors</text>
</link>

Is there also a way to execute a workbench action from an XHTML page?

Thank you in advance!

Best regards,
Matthias
Re: XHTML Custom Intro Site � How to trigger a workbench action? [message #471614 is a reply to message #471611] Thu, 31 January 2008 17:21 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
I haven't really done much with the xhtml format but I know that if you
have a static intro page (which is not exactly the same) you can put the
action inside an anchor, such as:

<a href="http://org.eclipse.ui.intro/showPage?id=dynamic1">Link to
dynamic page1</a><br>

I'm not sure whether intro actions can be launched from xhtml but you
could try it.
Re: XHTML Custom Intro Site � How to trigger a workbench action? [message #608442 is a reply to message #471611] Thu, 31 January 2008 17:21 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
I haven't really done much with the xhtml format but I know that if you
have a static intro page (which is not exactly the same) you can put the
action inside an anchor, such as:

<a href="http://org.eclipse.ui.intro/showPage?id=dynamic1">Link to
dynamic page1</a><br>

I'm not sure whether intro actions can be launched from xhtml but you
could try it.
Previous Topic:Eclipse Help system: packaging it as a web app
Next Topic:Context help that automatically displays HTML topic
Goto Forum:
  


Current Time: Thu Mar 28 18:02:21 GMT 2024

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

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

Back to the top