Login  Register

Re: Plugins

Posted by dscho on Oct 07, 2013; 6:09am
URL: http://imagej.273.s1.nabble.com/Plugins-tp5005051p5005063.html

Hi Robert,

On Sat, 5 Oct 2013, Robert Lockwood wrote:

> I used Google to find tutorials for writing plugins and found two but
> both failed, the first, I think, because it was too old.
>
> I'm using Eclipse Kepler and Oracle Java 1.7 SE on my home Max OS-X
> 10.8.5.
>
> Could some one point me toward a tutorial for a first attempt?

I recently uploaded two screencasts that should be able to help you: the
first one to watch is about setting up Eclipse to debug ImageJ 1.x (yes, I
know, you want to write plugins, not debug ImageJ, but those two tasks are
actually amazingly similar):

http://www.youtube.com/watch?v=XyfE_fVphCs&list=UUOXCsWKZNGez9QOQMWw-Qww

The second one is about developing plugins in Netbeans (again, I know, you
want to do it with Eclipse, but the idea is the same: start by cloning the
https://github.com/imagej/minimal-ij1-plugin source code repository and
modifying it):

http://www.youtube.com/watch?v=Ac-6gJ2eRb0&list=UUOXCsWKZNGez9QOQMWw-Qww

As for documentation how to actually write ImageJ 1.x plugins, I recommend
(disclaimer: I wrote most of it) this Fiji wiki page:

http://fiji.sc/Introduction_into_Developing_Plugins

For debugging in Eclipse, I recommend using the fiji-lib approach
demonstrated here:

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