it.amattioli.applicate.commands
Interface ExecutorAwareCommand

Show UML class diagram
All Superinterfaces:
Command, it.amattioli.dominate.util.PropertyChangeEmitter
All Known Implementing Classes:
UndoAvailableCommand, UndoCommand

public interface ExecutorAwareCommand
extends Command

An interface that must be implemented by a Command that has to know the executor that is going to execute it. The executor is responsible for injecting itself in the command before calling the Command.doCommand() method.

Author:
andrea

Method Summary
 void setCommandExecutor(CommandExecutor executor)
           
 
Methods inherited from interface it.amattioli.applicate.commands.Command
addCommandListener, addCommandListener, cancelCommand, doCommand
 
Methods inherited from interface it.amattioli.dominate.util.PropertyChangeEmitter
addPropertyChangeListener, removePropertyChangeListener
 

Method Detail

setCommandExecutor

void setCommandExecutor(CommandExecutor executor)


Copyright © 2011. All Rights Reserved.