[ImageJ-devel] Calling IJ legacy methods

Johannes Schindelin Johannes.Schindelin at gmx.de
Fri Feb 17 14:27:19 CST 2012


Hi Mike,

On Thu, 16 Feb 2012, Johannes Schindelin wrote:

> On Thu, 16 Feb 2012, Michael Doube wrote:
> 
> > >> In particular, right now I'm looking for a BrowserLauncher, a la
> > >> ij.plugin.BrowserLauncher (which is already borrowed code). But
> > >> there will be many more situations like this I'm sure.
> > > 
> > > I finally worked on this issue:
> > > 
> > > http://fiji.sc/cgi-bin/gitweb.cgi?p=imagej2/.git;a=shortlog;h=refs/heads/browser-launcher
> > > 
> > > Curtis, when you're better, could you have a look? I _think_ it
> > > should be fine to be dcommitted.
> > > 
> > > Mike, the way you would open URLs is by getting an instance of the
> > > PlatformService (for ImageJ2 plugins, just add a parameter of type
> > > PlatformService and you'll get it by the time run() is called) and
> > > then calling the open(URL) method on it.
> > 
> > I tried it but the imagej-2.0-SNAPSHOT-all.jar doesn't yet contain
> > your changes. So is the situation (in general) going to go like this
> > each time - developers have to request API features or work around
> > using existing ones?
> 
> Will commit later today,

I finally committed the stuff. An example how to use it can be found here:

http://fiji.sc/ImageJWebsite.java

Ciao,
Dscho




More information about the ImageJ-devel mailing list