Skip navigation links

Package com.github.celldynamics.quimp.plugin

This package contains interfaces that define QuimP plugins.

See: Description

Package com.github.celldynamics.quimp.plugin Description

This package contains interfaces that define QuimP plugins. There are two kinds of Quimp plugins:
  1. Utilised by BOA module - those must implement IQuimpBOAPoint2dFilter or IQuimpBOASnakeFilter
  2. General purpose plugins - they constitute extensible QuimP Toolbar. They implement IQuimpPlugin
General purpose plugins differ from standard IJ plugins based only on PlugInFilter or PlugIn interfaces (those are extended by IQuimpPlugin and IQuimpPluginFilter respectively. General purpose plugins are meant to be used with QCONF file platform. If plugin works like standard IJ plugin it should implement only IJ interfaces or IQuimp interfaces but it can be based on e.g. AbstractOptionsParser. General plugins can be run from IJ macro scripts thus they also implement PlugIn interface (via IQuimpPlugin), thus their architecture should follow IJ guidelines:
  1. Default constructor should do nothing for running the plugin
  2. Other constructor are allowed, for example for testing
  3. The main runner is PlugIn.run(String) method. Input parameter for PlugIn.run(String)can be used for passing parameters from e.g. parameterised constructor. It is not that parameter that contain options given in IJ macro scripts. It can be epmty or null.
  4. Plugin should be able to run with options given in IJ macro - in this case without UI and with showing all messages in console.

Plugin template

Abstract class AbstractOptionsParser contains basic code that supports macros and calls from UI. Only for plugins that interfere with QCONF platform
Author:
p.baniukiewicz
Skip navigation links

Copyright © 2002–2019 Department of Computer Science, Warwick University. All rights reserved.