org.scijava.module.event
Class ModuleCanceledEvent
java.lang.Object
org.scijava.AbstractContextual
org.scijava.event.SciJavaEvent
org.scijava.module.event.ModuleEvent
org.scijava.module.event.ModuleExecutionEvent
org.scijava.module.event.ModuleCanceledEvent
- All Implemented Interfaces:
- Contextual
public class ModuleCanceledEvent
- extends ModuleExecutionEvent
An event indicating a Module
execution has been canceled.
Cancelation can occur due to a ModulePreprocessor
, such as an
InputHarvester
when the user presses the Cancel button, or due to the
module itself implementing the Cancelable
interface and then
declaring itself canceled (via the Cancelable.isCanceled()
method
returning true) after its Runnable.run()
method returns.
- Author:
- Curtis Rueden
ModuleCanceledEvent
public ModuleCanceledEvent(Module module)
ModuleCanceledEvent
public ModuleCanceledEvent(Module module,
String reason)
getReason
public String getReason()
Copyright © 2009–2014 SciJava. All rights reserved.