Question regarding CheatSheets [message #312651] |
Thu, 15 February 2007 05:52  |
Eclipse User |
|
|
|
Originally posted by: C.O'Mahony.pilz.ie
Hi Everyone,
I have created a basic cheatsheet for an RCP application by following
the tutorial at
http://www-128.ibm.com/developerworks/edu/os-dw-os-cheatshee ts-i.html
I created an extension at org.eclipse.ui.cheatsheets.cheatSheetContent
and created the content.xml and this all works fine.
The question I have is regarding setting the state of cheatsheet. When I
open up an existing project in my application, is it possible to set
items on the cheatsheet as completed, depending on the state of a
particular project?
Any pointers would be greatly appreciated.
Rgds,
Conor
|
|
|
Re: Question regarding CheatSheets [message #312656 is a reply to message #312651] |
Thu, 15 February 2007 08:49  |
Eclipse User |
|
|
|
Originally posted by: C.O'Mahony.pilz.ie
I have a class that implements ICheatSheetViewer and I'm using it to
display the cheatsheet.
Does anyone know how I can programatically reset the cheatsheet to it's
initial state, or change the state of what is completed or not? Can I
use ICheatSheetViewer.reset(Map cheatSheetData) to accomplish this, and
if so, how?
Conor O'Mahony wrote:
> Hi Everyone,
>
> I have created a basic cheatsheet for an RCP application by following
> the tutorial at
> http://www-128.ibm.com/developerworks/edu/os-dw-os-cheatshee ts-i.html
> I created an extension at org.eclipse.ui.cheatsheets.cheatSheetContent
> and created the content.xml and this all works fine.
>
> The question I have is regarding setting the state of cheatsheet. When I
> open up an existing project in my application, is it possible to set
> items on the cheatsheet as completed, depending on the state of a
> particular project?
>
> Any pointers would be greatly appreciated.
>
> Rgds,
> Conor
|
|
|
Powered by
FUDForum. Page generated in 0.03086 seconds