Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to link to a cheat sheet?
How to link to a cheat sheet? [message #548181] Wed, 21 July 2010 01:28 Go to next message
Eric Jain is currently offline Eric Jain
Messages: 266
Registered: July 2009
Senior Member
Is there a URL syntax that can be used to link to a specific cheat sheet from e.g. the welcome page or a help document?

If not, how do I open a cheat sheet programmatically?
Re: How to link to a cheat sheet? [message #553914 is a reply to message #548181] Thu, 19 August 2010 12:10 Go to previous messageGo to next message
Srikanth Puppala is currently offline Srikanth Puppala
Messages: 15
Registered: August 2010
Junior Member
you can add cheatsheets to welcome page by contributing org.eclipse.ui.intro.configExtension, find the following plugin xml:

<extension
id="abc"
name="abc"
point="org.eclipse.ui.intro.configExtension">
<standbyContentPart
class="cheetsheetex.StandbyContentPart1"
id="progress.part"
pluginId="cheetsheetEx">
</standbyContentPart>
<configExtension
configId="org.eclipse.ui.intro.universalConfig"
content="intro/content1.xml">
</configExtension>
</extension>


intro/content1.xml

<?xml version="1.0" encoding="UTF-8" ?>
<introContent>
<!-- Extension to the SDK Tutorials Page. -->
<extensionContent id="org.eclipse.jdt" name="Java Development" alt-style="css/tutorials.properties" style="css/tutorials.css" path="tutorials/@">
<group label="Java Development" id="java" style-id="content-group">
<link url=" http://org.eclipse.ui.intro/showStandby?partId=org.eclipse.p latform.cheatsheet&amp;input=com.progress.cheetsheetEx.cheatsheet1" label="Progress cheat sheet" id="progress" style-id="content-link">
<text>click here to get cheat sheet</text>
</group>
</extensionContent>
</introContent>


in the above, i specified input as com.progress.cheetsheetEx.cheatsheet1, which is nothing but my cheatsheet contribution.

I hope this might help you.....



Re: How to link to a cheat sheet? [message #555236 is a reply to message #553914] Thu, 26 August 2010 01:45 Go to previous message
Eric Jain is currently offline Eric Jain
Messages: 266
Registered: July 2009
Senior Member
Thanks!
Previous Topic:Tomcat-6.0.26 initiation fails via Eclipse-jee-galileo-SR2-win32
Next Topic:Problem installing Eclipse
Goto Forum:
  


Current Time: Sat Oct 25 21:29:10 GMT 2014

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

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