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