Skip to content

Commit

Permalink
Merge pull request #2 from KlasJoenssson/UpdateCheatSheet
Browse files Browse the repository at this point in the history
Update cheat sheet
  • Loading branch information
goglepox committed Mar 22, 2012
2 parents c266d3c + 99cdcfc commit 8a45b61
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions plugins/net.bioclipse.cdk.ui/cheatsheets/editrunscripts.xml
Expand Up @@ -4,7 +4,7 @@
<intro>
<description>
<b>Contents</b><br/>
This tutorial demonstrates how to edit and run scripts in Bioclipse.
This tutorial demonstrates how to edit and run scripts in Bioclipse.
</description>
</intro>

Expand All @@ -14,7 +14,7 @@ This tutorial demonstrates how to edit and run scripts in Bioclipse.

Note: You need Sample Data installed to complete this step.<br/><br/>

In the navigator, exapand the <b>Sample Data</b> project, navigate to the
In the navigator, expand the <b>Sample Data</b> project, navigate to the
folder <b>JavaScript scripts</b> and double-click on the file <b>extractsmilesAndMass.js</b>.
This opens the file in an editor.

Expand All @@ -29,7 +29,7 @@ This tutorial demonstrates how to edit and run scripts in Bioclipse.
<description>

To run the script, press the Run button in the toolbar. Note that the
editor must be activefor this to work; if the button is geryed out you can enable
editor must be active for this to work; if the button is greyed out you can enable
it by clicking in the editor.

</description>
Expand Down Expand Up @@ -60,7 +60,7 @@ This tutorial demonstrates how to edit and run scripts in Bioclipse.

<b>gist.download(95755)</b><br/><br/>

The result in the Javascript console tells you the name of the downloaded file.
The result in the JavaScript console tells you the name of the downloaded file.

</description>
<action
Expand Down
10 changes: 5 additions & 5 deletions plugins/net.bioclipse.cdk.ui/cheatsheets/sampleCDKscripts.xml
Expand Up @@ -3,7 +3,7 @@
title="Sample CDK scripts">
<intro>
<description>
This tutorial shows some sampel scripts demonstrating CDK functionality in Bioclipse.
This tutorial shows some sample scripts demonstrating CDK functionality in Bioclipse.
</description>
</intro>

Expand All @@ -18,7 +18,7 @@
<action
pluginId="net.bioclipse.scripting.ui"
class="net.bioclipse.scripting.ui.actions.ScriptAction"
param1="res=gist.download(95779); itr = res.iterator(); while (itr.hasNext()) { file = itr.next(); ui.open(file); js.executeFile(file) }"/>
param1="res=gist.download(95779); ui.openFiles(res);"/>

</item>

Expand All @@ -33,7 +33,7 @@
<action
pluginId="net.bioclipse.scripting.ui"
class="net.bioclipse.scripting.ui.actions.ScriptAction"
param1="res=gist.download(95790); itr = res.iterator(); while (itr.hasNext()) { file = itr.next(); ui.open(file); js.executeFile(file) }"/>
param1="res=gist.download(95790); ui.openFiles(res);"/>

</item>

Expand All @@ -48,7 +48,7 @@
<action
pluginId="net.bioclipse.scripting.ui"
class="net.bioclipse.scripting.ui.actions.ScriptAction"
param1="res=gist.download(95755); itr = res.iterator(); while (itr.hasNext()) { file = itr.next(); ui.open(file); js.executeFile(file) }"/>
param1="res=gist.download(95755); ui.openFiles(res);"/>

</item>

Expand All @@ -63,7 +63,7 @@
<action
pluginId="net.bioclipse.scripting.ui"
class="net.bioclipse.scripting.ui.actions.ScriptAction"
param1="res=gist.download(96594); itr = res.iterator(); while (itr.hasNext()) { file = itr.next(); ui.open(file); js.executeFile(file) }"/>
param1="res=gist.download(96594); ui.openFiles(res);"/>

</item>
</cheatsheet>

0 comments on commit 8a45b61

Please sign in to comment.