Skip to content
Snippets Groups Projects

New version

Merged Céline TREBEAU requested to merge dev into master
103 files
+ 610
2203
Compare changes
  • Side-by-side
  • Inline
Files
103
@@ -33,6 +33,7 @@ import fr.pasteur.ida.zellige.gui.MainAppFrame;
@@ -33,6 +33,7 @@ import fr.pasteur.ida.zellige.gui.MainAppFrame;
import net.imagej.ImageJ;
import net.imagej.ImageJ;
import org.scijava.command.ContextCommand;
import org.scijava.command.ContextCommand;
import org.scijava.plugin.Plugin;
import org.scijava.plugin.Plugin;
 
import org.scijava.util.VersionUtils;
import java.io.File;
import java.io.File;
import java.io.IOException;
import java.io.IOException;
@@ -58,11 +59,6 @@ public class Zellige extends ContextCommand
@@ -58,11 +59,6 @@ public class Zellige extends ContextCommand
// Load the image.
// Load the image.
Object obj = ij.io().open( new File( currentFolder, imageFilePath ).getAbsolutePath() );
Object obj = ij.io().open( new File( currentFolder, imageFilePath ).getAbsolutePath() );
// for large images
// final SCIFIOConfig config = new SCIFIOConfig();
// config.imgOpenerSetImgModes( SCIFIOConfig.ImgMode.PLANAR );
//
// final Dataset obj = ij.scifio().datasetIO().open( imageFilePath, config );
// Display it.
// Display it.
ij.ui().show( obj );
ij.ui().show( obj );
@@ -76,7 +72,7 @@ public class Zellige extends ContextCommand
@@ -76,7 +72,7 @@ public class Zellige extends ContextCommand
// Launch JavaFX interface
// Launch JavaFX interface
MainAppFrame app = new MainAppFrame( context() );
MainAppFrame app = new MainAppFrame( context() );
app.setTitle( "Zellige v1.0.2" );
app.setTitle( "Version " + VersionUtils.getVersion( Zellige.class ) );
app.init();
app.init();
}
}
Loading