public class ExternalStringTargetExecutor extends ExternalTargetExecutor<TargetStringInstruction>
Constructor and Description |
---|
ExternalStringTargetExecutor() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canExecuteSpecific(TargetStringInstruction instruction,
Collection<Object> context)
Template method for implementors.
|
protected void |
executeSpecific(TargetStringInstruction instruction,
Collection<Object> context)
Template method for implementors.
|
showTargetInGUI, showTargetInGUI
canExecute, execute, pertainsTo
@CallableOffEDT protected boolean canExecuteSpecific(TargetStringInstruction instruction, Collection<Object> context)
AbstractInstructionExecutor
Instruction
, using the given context object where necessary. The default
implementation does nothing and returns true
.canExecuteSpecific
in class AbstractInstructionExecutor<TargetStringInstruction,Collection<Object>>
instruction
- the instruction in question. It is guaranteed to be non-null
.context
- holds additional, implementation-specific informationtrue
if this instance is able to execute the given Instruction
using the given context object where necessary; false
otherwise.@CallOnEDT protected void executeSpecific(TargetStringInstruction instruction, Collection<Object> context)
AbstractInstructionExecutor
Instruction
.executeSpecific
in class AbstractInstructionExecutor<TargetStringInstruction,Collection<Object>>
instruction
- holds the information which specifies what to perform. This
Instruction
is guaranteed to be non-null
.context
- holds additional, implementation-specific informationCopyright © 2024 levigo holding gmbh. All rights reserved.