...
Step 4. Change the package: Change the package from com.affymetrix.igb.sampleplugin to your package name (e.g. com.myorg.myplugin). If you your IDE does not support 'create folder' directly you can do this from your Finder (MacOS) or Windows Explorer(WindowsOS), the . The directory is IGB_HOME/plugins/MyPlugin/src
...
Wiki Markup name=\[your plugin name\]
Wiki Markup project=\[your plugin name\]
- classpath is updated with the necessary pathpaths; refer to the project build.xml for the actual paths listed, i.e. the path for igb_service or , windows_service, etc.
Step 9. Update build.properties for the project: Under the igb IGB project folder, open the build.properties file and make the following changes:
Delete all the existing values and add your plugin name to the line not.include.bundles=
...
Step 10.Generate .jar and .xml files for your plugin: After all files have been changed and savesaved, "Clean and Build" IGB. Using Finder (MacOS) or Windows Explorer (WindowsOS), open IGB_HOME/plugins/ext and delete any files that are present. Open a command line prompt and run the following command:
...
Wiki Markup |
---|
*Step 11. Move the .jar and .xml files to your plugin directory:* There should be 2 generated files in IGB_HOME/plugins/ext, _\[MyPlugin\].jar_ and _repository.xml_. Move these files to theyour plugin repository folder (local or remote HTTP server) where you want your plugin site. Make sure to cut these files from from the IGB_HOME/plugins/ext folder, or delete after copying. |
...
Step 13. Activate your plugin: Your plugin appears in the Plug-ins panel. Install the plugin by checking 'Installed'.
Now let's take a look what Step 14. Check to ensure your plugin appears in the proper GUI location: We will look at the sample plugin looks like.
Load 2 annotations then select them by clicking with Shift, right click and Here, we load and select 2 annotations (SHIFT + click). Right-click in the track label of a selected track to open the Context menu, and under Track Operations we can see 'My Operation' is there:.
Click Choosing 'My Operation' will generate a new track based on what the sample plugin does on these 2 annotations:, as expected for this type of operation.