org.scijava.display
Class ActiveDisplayPreprocessor

java.lang.Object
  extended by org.scijava.AbstractContextual
      extended by org.scijava.module.process.AbstractPreprocessorPlugin
          extended by org.scijava.display.ActiveDisplayPreprocessor
All Implemented Interfaces:
Cancelable, Contextual, ModulePreprocessor, ModuleProcessor, PreprocessorPlugin, SciJavaPlugin

public class ActiveDisplayPreprocessor
extends AbstractPreprocessorPlugin

Assigns the active Display when there is one single unresolved Display parameter. Hence, rather than a dialog prompting the user to choose a Display, the active Display is used automatically.

In the case of more than one Display parameter, the active Display is not used and instead the user must select. This behavior is consistent with ImageJ v1.x.

Author:
Curtis Rueden

Constructor Summary
ActiveDisplayPreprocessor()
           
 
Method Summary
 void process(Module module)
          Performs a processing step on the given module instance.
 
Methods inherited from class org.scijava.module.process.AbstractPreprocessorPlugin
cancel, getCancelReason, isCanceled
 
Methods inherited from class org.scijava.AbstractContextual
context, getContext, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.scijava.Contextual
context, getContext, setContext
 

Constructor Detail

ActiveDisplayPreprocessor

public ActiveDisplayPreprocessor()
Method Detail

process

public void process(Module module)
Description copied from interface: ModuleProcessor
Performs a processing step on the given module instance.



Copyright © 2009–2014 SciJava. All rights reserved.