blob: f084a48c11ee5809124e22d61d3d39b07784af5d [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<cheatsheet
title="Run an Example Model">
<intro>
<description>
In this tutorial, we&apos;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&apos;s Dilemma Model">
<description>
Select a model to execute. If you&apos;ve imported the example projects (just run the &quot;Load Sample Projects&quot; cheatsheet) you can use the Prisoner&apos;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.
&lt;ul&gt;
&lt;li&gt;Right-click and select &quot;Execute&quot; from the menu.&lt;/li&gt;
&lt;li&gt;Select the &quot;Execute&quot; from the toolbar. (Our favorite)&lt;/li&gt;
&lt;li&gt;Select &quot;Execute&quot; from the &quot;Control&quot; menu.&lt;/li&gt;
&lt;/ul&gt;
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>