Login  Register

ImageJ as Eclipse plugin

Posted by Marcel. on Jul 04, 2006; 8:08am
URL: http://imagej.273.s1.nabble.com/ImageJ-as-Eclipse-plugin-tp3702139.html

Dear ImageJ users and developers,

at the moment i'm developping an eclipse plugin which makes use of ImageJ.
The problem is that the plugins in a self defined plugins directory don't work when i start the program programmatically.
They appear in the ImageJ-plugins-menu but won't start without getting an error-message and the cause why they can't be started.
Also when i start ImageJ programmatically the awt-frames seems to be disturbed (Gui Thread ?). So my first question is how can i archieve that ImageJ finds the ImageJ-plugins to start them properly when integrated in an eclipse-plugin ?
The second question concerns about the disturbed awt-frames(a conversion to swing works in the most parts). Is there a way to get clean awt-frames and dialogs (maybe a method to avoid the disturbance of the gui-thread)?

Thanks in advance for any answer !