DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page Launching help from welcome screen
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Oct 2008
Default Launching help from welcome screen - 10-25-2009, 10:14 PM

I need to launch the help window from welcome screen. I know how to do this from the java code, but not sure how to this from the html welcome screen page.

For example, the welcome screen in Eclipse IDE does this. When I click on a link in the welcome screen, it opens up the help window and shows the corresponding help topic. Can anyone point me how to launch the help window from welcome screen?

Thanks,

- Raja.
Reply With Quote
  (#2 (permalink)) Old
Member
 
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Aug 2009
Default 10-26-2009, 08:51 AM

in the xml file describing your welcome page, you can use the following lines (here to display the help what's new section )

<!-- What's new -->
<group style-id="category">
<group style-id="category_image" id="category_image_whatsnew" bgImage="../intro/whatsnew/whatsnew.png" />
<group style-id="category_text" id="category_text_whatsnew" bgImage="../intro/whatsnew/whatsnew_text.png" />
<link url="http://org.eclipse.ui.intro/showHelpTopic id=/test.help/html/whatsnew.htm" id="discover">
</link>
</group>

hope that helps,

Benoit.
Reply With Quote
  (#3 (permalink)) Old
Member
 
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Oct 2008
Default 10-26-2009, 12:09 PM

Thanks for the hint. It works when I'm in my XML, say introcontent.xml. But, in our case, the intro XML file calls XHTML pages, something like

<page id="xyz" content="content/xyz.xhtml"/>

and that works. But, when I place my link inside the xhtml page, it does not work. Is there a way to open the help from within the XHTML content?

- Raja.
Reply With Quote
  (#4 (permalink)) Old
Member
 
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Oct 2008
Default 10-26-2009, 01:13 PM

Got this working in the XHTML page also. My link now looks like this in XHTML page, in case anyone is interested:

<a href="http://org.eclipse.ui.intro/showHelpTopic?id=/test.help/html/test.html" id="test">
Introduction to Test.
</a>

Thanks.
Reply With Quote
Reply

Tags
help welcome launch

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Screen Scraping Https/JavaScript? mikebanderson Java 8 09-24-2009 04:01 AM
Context launching problem (right click "Run As" not working) normandyJack Eclipse 0 08-10-2009 10:38 AM
Splash Screen in RCP ewald Eclipse 0 09-17-2008 05:16 AM
Eclipse Splash Screen Mxmler Eclipse 1 07-11-2008 01:49 PM
Error when launching Eclipse: In Project Explorer window: "Error creating the view" barbuceanu Eclipse 1 05-07-2008 01:41 PM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com