-
Notifications
You must be signed in to change notification settings - Fork 25
review cheat sheets in eclipse
Ian Mayo edited this page Jun 18, 2015
·
4 revisions
Here are the steps to take to review cheat sheets in the Computer Based Training mode, from within Debrief.
- Ensure you have Java installed on your machine. (a 32bit Jre is a recommended, it performs fastest)
- Download Eclipse (Eclipse for RCP and RAP Developers, from here
- Clone the Debrief repo to your machine using your Git client (note: take note of where it gets stored)
- Open Eclipse.
- From the "Welcome" screen, select "Workbench"
- You're now in the workbench view:
- Now right-click in Package Explorer, and select Import
- From the popup dialog, select Git then Projects from Git
- Now select Existing local repository
- Now click on Add and browse to the folder containing all of your git repos, then press Finish.
- Select the folder containing the cloned Debrief repo, then Next
- Indicate that you wish to Import existing projects
- Lastly, check all of the projects are selected (see screenshot below), then press Finish
- In the left hand side, you'll see all of the projects loaded. They're in alphabetical order.
- Expand the project titled org.mwc.debrief.help
- The cheat sheets are in there, in a folder titled cheat_sheets
- Now expand a folder, to view the cheat sheets inside
- There is a custom editor for cheat sheets, or Eclipse's normal XML editor may be used.
- Right-click on a cheat sheet, and select Open with:
- For a plain cheat sheet, you will be offered a Simple cheat sheet editor.
- But, for a composite cheat sheet (one that collates a collection of cheat sheets) you will be offered the Composite cheat sheet editor (as in the above screenshot). Here is the editor:
- There's Internet guidance on how to use this editor, but the crux is that from the composite editor you can click on Preview and the cheat sheet will open in a view within the editor: