code: protected JComponent createViewMenuBar() {
      	if(getPageComponent() instanceof AbstractEditor){
      		AbstractEditor editor = (AbstractEditor)getPageComponent();
      		return editor.getEditorMenuBar();
      	}
      	return null;
      }
docs: Returns the view specific menubar if the underlying view
  implementation supports it.