Add ViewFactory.registerCmdObserver(view, observer).