public class ModuleCanceledEvent extends ModuleExecutionEvent
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.
Constructor and Description |
---|
ModuleCanceledEvent(Module module) |
ModuleCanceledEvent(Module module,
String reason) |
Modifier and Type | Method and Description |
---|---|
String |
getReason() |
getModule, toString
consume, dumpStack, getCallingThread, getStackTrace, isConsumed, setCallingThread, setConsumed
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setContext
Copyright © 2015–2022 SciJava. All rights reserved.