Skip to content
Snippets Groups Projects

Bug fix

Merged Céline TREBEAU requested to merge imagej-handling into dev
4 files
+ 16
32
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -30,37 +30,18 @@ package fr.pasteur.ida.zellige.command;
import fr.pasteur.ida.zellige.gui.MainAppFrame;
import net.imagej.DatasetService;
import net.imagej.ImageJ;
import net.imagej.display.ImageDisplayService;
import org.scijava.command.Command;
import org.scijava.log.LogService;
import org.scijava.plugin.Parameter;
import org.scijava.command.ContextCommand;
import org.scijava.plugin.Plugin;
import java.io.File;
import java.io.IOException;
import java.nio.file.FileSystems;
@Plugin( type = Command.class, menuPath = "Plugins>Zellige>" )
public class Zellige implements Command
@Plugin( type = Zellige.class, menuPath = "Plugins>Zellige>" )
public class Zellige extends ContextCommand
{
@Parameter
private ImageJ ij;
@Parameter
private LogService logService;
@Parameter
private ImageDisplayService imageDisplayService;
@Parameter
private ImageDisplayService image;
@Parameter
DatasetService datasetService;
public static void main( String[] args ) throws IOException
{
@@ -94,8 +75,8 @@ public class Zellige implements Command
{
// Launch JavaFX interface
MainAppFrame app = new MainAppFrame( ij, image, logService );
app.setTitle( "Zellige V1.0.1" );
MainAppFrame app = new MainAppFrame( context() );
app.setTitle( "Zellige v1.0.1" );
app.init();
}