Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

under construction

Introduction

This guide describes how to create Tutorials for the Integrated Genome Browser.

Directory structure

The tutorials should be contained in a single directory, with a properties file
tutorials.properties listing the available tutorials

File format

The tutorials are text files written in json http://www.json.org

The tutorial consists of an array of steps that the user will take.
each step can contain the following fields (only the text field is required):

  • text - the text to display in the tutorial status bar
  • highlight - the widget to highlight during the step, use thewidget id
  • timeout - the amount of time in seconds that this step is displayed before it continues onto the next step
  • waitAction - the name of an action that the user is supposed to do. The tutorial will stay on this step until the user performs the action.
  • waitMenu - the name of a menu item (action) that the user is supposed to select. The tutorial will stay on this step until the user performs selects the menu item.
  • execute - an action that the tutorial will perform; this is an object containing the following fields (only name is required):
    name - the name of the action to perform
    amount - a numeric value to pass to the action
  • No labels