I've found some really useful info here though:
- http://richclientplatform.blogspot.com/2007/07/new-menu-contribution-extension.html
- http://wiki.eclipse.org/Platform_Command_Framework#Commands
I stumbled across a simple solution - cheat! That is, use the Cheat Sheets wizard to give a helping hand. (Thanks to Chris Aniszczyk for his informative article on Cheat Sheets - reading it gave me the inspiration for this!)
- Create a new cheat sheet, by selecting File -> New ... and then selecting "Cheat Sheet".
- Just use any name, and specify a "Simple" cheat sheet.
- Once in the editor, select the "Item" - and on the right hand side of the form, you will be able to specify a command - using the gift of Browse.
- Click on the Browse button, and you'll be presented with a list of common workbench commands. For example:
- You can then select the Command, and even press "Execute" to try it.
No comments:
Post a Comment