Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This document assumes that you already have IGB sources checked out and NetBeans set up. If not, go see Compiling Compile and running run IGB from sourcethe command line.

Create a new plug-in

  • Set IGB as your NetBeans Main Project by right clicking on IGB in your projects panel.
  • File > New Project... and then In the ensuing wizard:
    1. select NetBeans Modules | Module, enter a description and then (Next>)
    2. Choose a name etc. and then (Next>)
    3. In this third step of the wizard check the "Generate OSGi Bundle" checkbox and then (Finish).
  • File > New File... and then in the ensuing wizard:
    1. Category: Module Development; File Type: Installer / Activator and then (Next>)
    2. (Finish) and Installer.java will be created.
  • Open Installer.java and make it look like this (You could make it even smaller by leaving out the context stuff and the printf statements.):

...

To make a plug in that IGB can actually use we will try to add a track operator similar to MyTransformer in Bundles and Plug-Ins. To do this we will need the com.affymetrix.genometryImpl.operator package which contains an Operator class. So open a new project and open it's properties. You will add genometry.jar as a wrapped jar.

...