public abstract class AbstractContextCommand extends InjectedCommand
Constructor and Description |
---|
AbstractContextCommand() |
Modifier and Type | Method and Description |
---|---|
protected Context |
getContext()
If the
Collection supplied as context arguments to this command is in fact an instance
of Context , it will be accessible here. |
protected void |
propagateContextChange()
Propagate a change of the context from which this command is currently being executed.
|
void |
setContext(Context context)
Invoked by command injection.
|
canExecute, canExecute, execute, execute, getKey, isAvailable, isSelected, isSelected, setKey
protected Context getContext()
Collection
supplied as context arguments to this command is in fact an instance
of Context
, it will be accessible here.protected void propagateContextChange()
public void setContext(Context context)
Developers should not invoke this method in any direct way.
context
- context object collectionCopyright © 2024 levigo holding gmbh. All rights reserved.