| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCommand<T,V>
Base type for commands
|
| Modifier and Type | Method and Description |
|---|---|
CommandResult<V> |
DelegateCommandManager.allow(C context,
Command<C,V> command) |
CommandResult<V> |
CommandManager.allow(T context,
Command<T,V> command)
Check whether the given command can be executed.
|
CommandResult<V> |
DelegateCommandManager.execute(C context,
Command<C,V> command) |
CommandResult<V> |
CommandManager.execute(T context,
Command<T,V> command)
Execute the given command.
|
void |
CommandListener.onAllow(T context,
Command<T,V> command,
CommandResult<V> result) |
void |
CommandListener.onExecute(T context,
Command<T,V> command,
CommandResult<V> result) |
void |
CommandListener.onUndo(T context,
Command<T,V> command,
CommandResult<V> result) |
protected void |
DelegateCommandManager.postAllow(C context,
Command<C,V> command,
CommandResult<V> result) |
protected void |
DelegateCommandManager.postExecute(C context,
Command<C,V> command,
CommandResult<V> result) |
protected void |
DelegateCommandManager.postUndo(C context,
Command<C,V> command,
CommandResult<V> result) |
protected void |
DelegateCommandManager.preAllow(C context,
Command<C,V> command) |
protected void |
DelegateCommandManager.preExecute(C context,
Command<C,V> command) |
protected void |
DelegateCommandManager.preUndo(C context,
Command<C,V> command) |
CommandResult<V> |
DelegateCommandManager.undo(C context,
Command<C,V> command) |
CommandResult<V> |
CommandManager.undo(T context,
Command<T,V> command)
Undo an executed command.
|
| Modifier and Type | Method and Description |
|---|---|
Command<C,V> |
AbstractCommandEvent.getCommand() |
| Constructor and Description |
|---|
AbstractCommandEvent(Command<C,V> command,
CommandResult<V> result) |
| Constructor and Description |
|---|
BadCommandArgumentsException(Command<?,?> command,
Object argument,
String message) |
CommandException(Command<?,?> command) |
CommandException(String message,
Command<?,?> command) |
| Modifier and Type | Method and Description |
|---|---|
CommandResult<V> |
CommandManagerImpl.allow(C context,
Command<C,V> command) |
CommandResult<V> |
CommandManagerImpl.execute(C context,
Command<C,V> command) |
CommandResult<V> |
CommandManagerImpl.undo(C context,
Command<C,V> command) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCommandRegistryManager<C extends Command>
This bean provides two Registries which can be used to manage the Undo/Redo functionality for an editor
Registry doneCommands contains executed commands by the user, while undoneCommand registry holds the undo commands
by the user, which can be redo.
|
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.