public class MacroRecorderPreprocessor extends AbstractPreprocessorPlugin
MacroRecorderPostprocessor
.
In particular, we want to exclude Service
and
Context
parameters, which make no sense to include in
recorded macro strings. Such parameters are always populated by the
ServicePreprocessor
with 2 * VERY_HIGH
priority. As such,
this preprocessor runs at priority VERY_HIGH + 1
: sooner than
VERY_HIGH
priority processors, but after the
ServicePreprocessor
. This behavior allows other such "pre-resolved"
parameters to be excluded from recorded macros in an extensible way, while
retaining parameters that get resolved later in the preprocessing chain.
Constructor and Description |
---|
MacroRecorderPreprocessor() |
Modifier and Type | Method and Description |
---|---|
void |
process(Module module) |
cancel, getCancelReason, isCanceled
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
context, getContext, setContext
public void process(Module module)
Copyright © 2014–2022 ImageJ. All rights reserved.