Engine Manager


EngineManager
Engine Manager


The Bioinformatic Studio allows users to create their own engine (or test) classes and add them during runtime (see Architecture).
The Engine Manager provides on the one side a user friendly and comfortable interface to add new classes (engines, visualisations and tests) to the repository of the Bioinformatic Studio. There are different ways to do this. Single classes as well as whole directories can be added.
On the other side the visualisation classes can be connected to engines. This is nessesary because not every visualisation can work with data from every engine. In the result table of the main window, a right-click on a engine result will show a result sensitive menu, with all visualisations connected to the engine which created this result.

The Engine Manager contains four tabs:

Add Single Engine

Engines (or visualisations or tests) can be added by entering a class name and a menu name which is used for the menu entry in the correspendending fields.
  1. Enter class name(including the package name, e.g. de.tum.binfo.abd.engine.Essential) and a menu name.
    The form for adding engines contains the additional choice Parameters. There might be engines that need only one parameter others need two.
  2. Click the Add button to add the new classes to the repository.
Removing is possible in the Connection or Overview tab.
Add Directory
The path to the engines directory consists of the path to the root of the class package and the path in the package.
  1. Enter the path to the root of the package in the first text field or browse to the directory.
  2. Enter (browse) the package path in the second text field.
All found engines will appear in the table below. Already existing classes will marked with a red background.
The class name column shows the package name plus the class name of the engine. The menu name column holds the names which will appear in the menu. As default, the class name (without the package name) will be entered.
  1. Change menu name to the name you want by double-click on the cell. You can also leave the as it is.
The type column is very important. The Bioinformatic Studio needs information about the type of the class (engine (1 or 2 parameters), visualisation, test) in order to handle it properly. Like the menu name cell, the type cell has to contain a value, otherwise you cannot import the engine.
  1. Click on the cell in column Type. and the selected the proper type
After entering all information you have to import the engines in the Bioinformatic Studio
  1. To import only selected classes, click the Import Selected button. To import all classes the Import All button will add them all without selection.
A right-click on a table row will open a popup menu where table entries can be removed.
Make Connection
In this section, you can determin which visualisations are available for a engine. All available engines are listet in a table. To create a connection, just right-click on an engine. That will open a popup menu with the menu item Connect to visualisation. There you can choose the visualisation for that engine.
In this popup menu, there are also options for renaming class or menu names and removeing entries.
Overview
The overview shows you all classes which are available in the Bioinformatic Studio and the connections made before.