How to contribute a CheatSheet to Bioclipse

From Bioclipse
Jump to: navigation, search
Development tutorial
Responsible author:Ola
Bioclipse version:N/A
"N/A" is not a number.
Last updated:2009-10-10
Tags:


Cheat sheets let users view interactive tutorials from within Bioclipse to learn how to perform various tasks.

Here are some links for building cheatsheets:


The ScriptAction

There is a scriptaction that can be used in cheat sheets to run commands on the console. Here is an example:

 <action
    pluginId="net.bioclipse.scripting.ui"
    class="net.bioclipse.scripting.ui.actions.ScriptAction"
    param1="res=gist.download(95755,"/Virtual/gencoords.js"); ui.open(res); js.executeFile(res)"/>

Could also be written as:

 <action
    pluginId="net.bioclipse.scripting.ui"
    class="net.bioclipse.scripting.ui.actions.ScriptAction"
    param1="res=gist.download(95755,"/Virtual/gencoords.js")"/>
    param2="ui.open(res); js.executeFile(res)"/>
    param3="js.executeFile(res)"/>

Note the use of " in the raw XML format.