DatasetService datasetService  DisplayService displayService
src/main/java/loci/slim2/process/interactive/DefaultInteractiveProcessor.java
public boolean process(final Dataset dataset) {
		quit = openFile = false;
		
					// hide the UI, quit
					uiPanel.getFrame().setVisible(false);
					quit = true;
					// open a different file
					openFile = true;

		//TODO ARG loop and handle fits, refits, cancellations
		do {
			System.out.println("quit is " + quit + " openFile is " + openFile);
			try {
				Thread.sleep(1000);
void init(DatasetService datasetService, DisplayService displayService)
DatasetService datasetService  DisplayService displayService
src/main/java/loci/slim2/process/interactive/DefaultInteractiveProcessor.java
public boolean process(Dataset dataset) {
					/*_grayScaleImage.close();
                    _quit = true;*/
					System.out.println("quit");
                   /*File[] files = showFileDialog(getPathFromPreferences());
				   // were multiple files opened?
				   if (1 < files.length) {
					   batchProcessingWithUI(files);
public DefaultInteractiveProcessor(DatasetService datasetService, DisplayService displayService)
1 == files.length
src/main/java/loci/slim2/process/interactive/DefaultInteractiveProcessor.java
String savePath = _path;
					   String saveFile = _file;
					   
					   String[] pathAndFile = getPathAndFile(files[0]);
			           _path = pathAndFile[0];
			           _file = pathAndFile[1];

			           _image = loadImage(_path, _file);
			           if (null == _image) {
				            showError("Error", "Could not load image");
else if (1 == files.length)