Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » conditional-subitem use in Cheat Sheets(I need an example to work from for using conditional-subitem)
conditional-subitem use in Cheat Sheets [message #691613] Fri, 01 July 2011 20:53 Go to next message
Rich Payton is currently offline Rich Payton
Messages: 21
Registered: June 2011
Junior Member
I have read the documentation and this tutorial and I understand that I can read a variable and then determine whether or not to display a subitem.

What I don't know how to do is declare and set a variable within the Cheat Sheet.

Can someone please create an example of this for me to work from?

Thanks.
Re: conditional-subitem use in Cheat Sheets [message #698161 is a reply to message #691613] Mon, 18 July 2011 23:07 Go to previous message
Chris Goldthorpe is currently offline Chris Goldthorpe
Messages: 815
Registered: July 2009
Senior Member
I've attached an example which is from the the User Assistance test suite ( org.eclipse.ua.tests ). The step "Select a view to open" sets a variable from the result of a command.
  • Attachment: cs2.xml
    (Size: 5.42KB, Downloaded 121 times)
Previous Topic:Can't cut (Ctrl+x) or undo (Ctrl+z) within Cheat Sheet Editor
Next Topic:Cheat Sheet programming issue <onCompletion>
Goto Forum:
  


Current Time: Sun Oct 26 08:35:15 GMT 2014

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

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