Skip to content

Commit

Permalink
Implemented the new command "ui.openFiles()" for open Gists.
Browse files Browse the repository at this point in the history
  • Loading branch information
KlasJoensson committed Mar 22, 2012
1 parent e6cde3b commit 99cdcfc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugins/net.bioclipse.cdk.ui/cheatsheets/sampleCDKscripts.xml
Expand Up @@ -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 99cdcfc

Please sign in to comment.