Page tree

Versions Compared

Key

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

...

1. Change the plugin name from 'SamplePlug' to your customized name such as 'MyPlugin' (your plugin name)

2. Change the package from 'com.affymetrix.igb.sampleplugin' to your package name i.e. 'com.myorg.myplugin'.

If you IDE does not support create folder directly you can do this from your Finder (MacOS) or Windows Explorer, the directory is IGB_HOME/plugins/MyPlug/src

Image Removed
3. Expand src from your IDE until you see the Activiatorthe Activator.java and SamplePlugin.java, update the 'SamplePlugin.java' to your plugin name and change all the necessary package declaration, class name and constructor(s). Image Added
4. Update MAINFEST.BASE

Wiki Markup
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: SamplePlugin
Bundle-SymbolicName: com.affymetrix.igb.sampleplugin.SamplePlugin
Bundle-Version: 0.0.9
Bundle-Activator: com.affymetrix.igb.sampleplugin.Activator
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-Description: Plugin to allow the user to create a plugin as template
Bundle-DocURL: http://wiki.transvar.org
Import-Package: com.affymetrix.common;version="\[<at:var at:name="appVersion" />,<at:var at:name="appVersion" />\]",
&nbsp;com.affymetrix.genometryImpl,
&nbsp;com.affymetrix.genometryImpl.operator,
&nbsp;com.affymetrix.genometryImpl.symmetry,
&nbsp;com.affymetrix.genometryImpl.parsers,
&nbsp;com.affymetrix.igb.osgi.service,
&nbsp;org.osgi.framework;version="1.5.0",
&nbsp;org.osgi.util.tracker;version="1.4.0"
Manifest-Version: 1.0

Bundle-ManifestVersion: 2

Bundle-Name: SamplePlugin

Bundle-SymbolicName: com.affymetrix.igb.sampleplugin.SamplePlugin

Bundle-Version: 0.0.9

Bundle-Activator: com.affymetrix.igb.sampleplugin.Activator

Bundle-ActivationPolicy: lazy

Bundle-RequiredExecutionEnvironment: JavaSE-1.6

Bundle-Description: Plugin to allow the user to create a plugin as template

Bundle-DocURL: http://wiki.transvar.orgImage Added

Wiki Markup
Import-Package: com.affymetrix.common;version="\[<at:var at:name="appVersion" />,<at:var at:name="appVersion" />\]",

 com.affymetrix.genometryImpl,

 com.affymetrix.genometryImpl.operator,

 com.affymetrix.genometryImpl.symmetry,

 com.affymetrix.genometryImpl.parsers,

 com.affymetrix.igb.osgi.service,

 org.osgi.framework;version="1.5.0",

 org.osgi.util.tracker;version="1.4.0"