public class ExternalURITargetExecutor extends ExternalTargetExecutor<URIInstruction>
ExternalTargetExecutor
which handles URIInstruction
s.
Requires no specific elements in the collection of context objects, but if there is a
JFrame
or PageView
in the context collection, that component will be used to
position the dialog.
Constructor and Description |
---|
ExternalURITargetExecutor() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canExecuteSpecific(URIInstruction instruction,
Collection<Object> context)
Template method for implementors.
|
protected void |
executeSpecific(URIInstruction instruction,
Collection<Object> context)
Template method for implementors.
|
showTargetInGUI, showTargetInGUI
canExecute, execute, pertainsTo
@CallableOffEDT protected boolean canExecuteSpecific(URIInstruction 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<URIInstruction,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(URIInstruction instruction, Collection<Object> context)
AbstractInstructionExecutor
Instruction
.executeSpecific
in class AbstractInstructionExecutor<URIInstruction,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.