Hi,
I would like the Omero ImageJ Plugin (OMERO.insight-ij-4.4.10-ice35-b112.zip) source code in order to develop a small and quick client.
Where can I find it?
Regards,
./build.py release-clients
StringBuffer buffer = new StringBuffer();
try {
buffer.append("location=[OMERO] open=[omero:server=");
buffer.append(lc.getHostName());
buffer.append("\nuser=");
buffer.append(lc.getUserName());
buffer.append("\nport=");
buffer.append(lc.getPort());
buffer.append("\npass=");
buffer.append(lc.getPassword());
buffer.append("\ngroupID=");
buffer.append(ctx.getGroupID());
buffer.append("\niid=");
buffer.append(id);
buffer.append("]");
IJ.runPlugIn("loci.plugins.LociImporter", buffer.toString());
} catch (Exception e) {
LogMessage message = new LogMessage();
message.println("Opening in image J");
message.print(e);
container.getRegistry().getLogger().debug(this, message);
IJ.showMessage("An error occurred while loading the image.");
}
git archive v.4.4.10 components/insight/SRC -o insight-src.zip
private void runAsImageJ(long id, SecurityContext ctx)
{
UserCredentials lc = (UserCredentials) container.getRegistry().lookup(
LookupNames.USER_CREDENTIALS);
StringBuffer buffer = new StringBuffer();
try {
buffer.append("location=[OMERO] open=[omero:server=");
buffer.append(lc.getHostName());
buffer.append("\nuser=");
buffer.append(lc.getUserName());
buffer.append("\nport=");
buffer.append(lc.getPort());
buffer.append("\npass=");
buffer.append(lc.getPassword());
buffer.append("\ngroupID=");
buffer.append(ctx.getGroupID());
buffer.append("\niid=");
buffer.append(id);
buffer.append("]");
IJ.runPlugIn("loci.plugins.LociImporter", buffer.toString());
} catch (Exception e) {
LogMessage message = new LogMessage();
message.println("Opening in image J");
message.print(e);
container.getRegistry().getLogger().debug(this, message);
IJ.showMessage("An error occurred while loading the image.");
}
}
Return to Developer Discussion
Users browsing this forum: No registered users and 0 guests