[ImageJ-devel] Calling IJ legacy methods
Michael Doube
michael at doube.net
Thu Feb 16 08:29:34 CST 2012
Hi Johannes, Curtis
>> 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?
Michael
More information about the ImageJ-devel
mailing list