Derive command handler from AbstractHandler, now Generate-view can be opened more than once.