| <?xml version="1.0" encoding="UTF-8"?> |
| <cheatsheet |
| title="Run an Example Model"> |
| <intro> |
| <description> |
| In this tutorial, we'll run the model! <b>Note -- you need to have installed the example models before proceeding, or have developed your own model first!</b> |
| </description> |
| </intro> |
| <item |
| title="Select Package Explorer"> |
| <description> |
| Go to the package explorer. |
| </description> |
| <command |
| required="false" |
| serialization="org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.jdt.ui.PackageExplorer)"/> |
| </item> |
| <item |
| title="Select Prisoner's Dilemma Model"> |
| <description> |
| Select a model to execute. If you've imported the example projects (just run the "Load Sample Projects" cheatsheet) you can use the Prisoner's Dilemma Model. |
| </description> |
| <command |
| required="false" |
| serialization="org.eclipse.jdt.ui.commands.showElementInPackageView(elementRef=org.ascape.escape.models.brook/edu.brook.pd.PD2D)"/> |
| </item> |
| <item |
| title="Execute the model"> |
| <description> |
| Now we can start the model in one of three ways. |
| <ul> |
| <li>Right-click and select "Execute" from the menu.</li> |
| <li>Select the "Execute" from the toolbar. (Our favorite)</li> |
| <li>Select "Execute" from the "Control" menu.</li> |
| </ul> |
| |
| Or, if you hav the example models loaded, just select perform now. |
| </description> |
| <command |
| required="true" |
| serialization="org.eclipse.amp.escape.runtime.execute(elementRef=org.ascape.escape.models.brook/edu.brook.pd.PD2D)"/> |
| </item> |
| |
| </cheatsheet> |