* @param command
* an instance of <code>ICommand</code>
*/
public void registerCommand(String notificationName, ICommand command) {
if (null != this.commandMap.put(notificationName, command)) return;
this.view.registerObserver(notificationName, new Observer(new IFunction() {
public void onNotification(INotification notification) {
executeCommand(notification);
}
}, this ) );
}