Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Question about involving "Cheat Sheet..." action into my RCP application
Question about involving "Cheat Sheet..." action into my RCP application [message #453259] Tue, 25 July 2006 07:22 Go to next message
zz is currently offline zzFriend
Messages: 22
Registered: July 2009
Junior Member
Hi all,

I want to provide some cheat sheets for my RCP program.

Because I have used org.eclipse.ui.actions.AcionFactory.ABOUT.create(...
and org.eclipse.ui.actions.AcionFactory.INTRO.create(... to add "About..."
and "Welcome" action in my RCP program "Help"'s pop-up menu, I check the
AcionFactory's API again to find out the one corrpesonding to "Cheat
Sheet...".

However I can not find the API in org.eclipse.ui.actions.AcionFactory to
create "Cheat Sheet..." workbench action.

Would someone tell me how to make the "Cheat Sheet..." shown in my RCP
program? Thanks a lot!
Re: Question about involving "Cheat Sheet..." action into my RCP application [message #453306 is a reply to message #453259] Wed, 26 July 2006 00:39 Go to previous messageGo to next message
zz is currently offline zzFriend
Messages: 22
Registered: July 2009
Junior Member
Is there anyone who can help me solve this problem? Thanks a lot!

"zz" <zhuoz@cn.ibm.com> д
Re: Question about involving "Cheat Sheet..." action into my RCP application [message #453307 is a reply to message #453306] Wed, 26 July 2006 04:17 Go to previous message
Srivatsan is currently offline SrivatsanFriend
Messages: 55
Registered: July 2009
Member
To invoke a cheat sheeet in an RCP application you've to
1. First make your program extend to
org.eclipse.ui.cheatsheets.cheatSheetContent extension point.
2. Add a category to this extension and a cheat sheet. Point the cheat
sheet to the xml file that has the contents to be displayed in the cheat
sheet. Make sure that you specify the category id properly in your cheat
sheet coz this is the one that maps the cheat sheet with your category.
3. To invoke this cheat sheet from an RCP i'm doing this in the plugin.xml
file.
<extension
point="org.eclipse.ui.actionSets">
<actionSet
label="%CHEAT_SHEETS"
visible="true"
id="org.eclipse.ui.cheatsheets.actionSet">
<action

class=" org.eclipse.ui.cheatsheets.CheatSheetExtensionFactory:helpMe nuAction "
icon="icons/help.gif"
id="org.eclipse.ui.cheatsheets.actions.CheatSheetHelpMenuAction "
label="Help"
toolbarPath="help/CheatSheets"
tooltip="Help">
</action>
</actionSet>
</extension>

You can try the same. All the best.

Cheers,
Srivatsan
Previous Topic:Using my RCP app as target for the Windows "Open With" functionality??
Next Topic:Creating a new Plugin for my existing product
Goto Forum:
  


Current Time: Wed Oct 09 04:49:05 GMT 2024

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

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

Back to the top