Commit 882f7be3 authored by Vojtech Moravec's avatar Vojtech Moravec
Browse files

Debug logging.

parent b3b08b07
...@@ -9,3 +9,7 @@ ...@@ -9,3 +9,7 @@
.settings .settings
/target /target
/samples /samples
.idea/
classes/
src/main/resources/META-INF/MANIFEST.MF
bigdataviewer_fiji.iml
...@@ -41,7 +41,7 @@ import mpicbg.spim.data.SpimDataException; ...@@ -41,7 +41,7 @@ import mpicbg.spim.data.SpimDataException;
* @author HongKee Moon <moon@mpi-cbg.de> * @author HongKee Moon <moon@mpi-cbg.de>
*/ */
@Plugin(type = Command.class, @Plugin(type = Command.class,
menuPath = "Plugins>BigDataViewer>Browse BigDataServer") menuPath = "Plugins>BigDataViewer>Browse BigDataServer(Debug)")
public class BigDataBrowserPlugIn implements Command public class BigDataBrowserPlugIn implements Command
{ {
private final Map< String, ImageIcon > imageMap = new HashMap<>(); private final Map< String, ImageIcon > imageMap = new HashMap<>();
...@@ -158,6 +158,7 @@ public class BigDataBrowserPlugIn implements Command ...@@ -158,6 +158,7 @@ public class BigDataBrowserPlugIn implements Command
{ {
final String filename = datasetUrlMap.get( key ); final String filename = datasetUrlMap.get( key );
final String title = new File( filename ).getName(); final String title = new File( filename ).getName();
IJ.showMessage("Debug", "Opening connection to 'fileName': " + filename);
BigDataViewer.open( filename, title, new ProgressWriterIJ(), ViewerOptions.options() ); BigDataViewer.open( filename, title, new ProgressWriterIJ(), ViewerOptions.options() );
} }
catch ( final SpimDataException e ) catch ( final SpimDataException e )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment