how to open and run plugin not in ij.jar using Eclipse as Java EE?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

how to open and run plugin not in ij.jar using Eclipse as Java EE?

Emanuele Martini
Hi to all,
i'm trying to write a plugin that calls bio-formats to import images.
I usually use Eclipse as Java IDE to write in jython and debug my FIJI plugins.
The problem is that:
how can I import bio-formats plugin to my EE?
I would launch my ImageJ() from Eclipse and I would to have Import-->Bio-Formats in my menu.

Recording the command by macro recorder is :
IJ.run("Bio-Formats")
but obviously when I launch that commands using Eclipse I have this error:
Unrecognized command : "bio-formats".

So the question is how can in generally add existing plugin in my IDE?

Thank you,
Emanuele Martini
 
Image Analyst @Ifom-IEO research campus -MI-
Reply | Threaded
Open this post in threaded view
|

Re: how to open and run plugin not in ij.jar using Eclipse as Java EE?

dscho
Hi Emmanuele,

On Mon, 6 Oct 2014, Emanuele Martini wrote:

> i'm trying to write a plugin that calls bio-formats to import images.

From Java, or via scripts, it is better to use Bio-Formats's API:

        http://imagej.net/Bio-Formats#Scripting

> I usually use Eclipse as Java IDE to write in jython and debug my FIJI
> plugins.

If you want to debug Fiji plugins with an IDE, you might find this useful:

        http://fiji.sc/Debugging#Debugging_plugins_in_an_IDE_.28Netbeans.2C_IntelliJ.2C_Eclipse.2C_etc.29

Ciao,
Johannes

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: how to open and run plugin not in ij.jar using Eclipse as Java EE?

Emanuele Martini
Thank you,
very useful.
Have a nice day,
Emanuele Martini
Ifom-IEO research campus Milan
Image Analyst @Ifom-IEO research campus -MI-