@ SuppressWarnings ( "serial" ) private Button createSaveExitButton ( ) { Button saveExitBtn = CmsToolBar . createButton ( FontOpenCms . SAVE_EXIT , m_messages . key ( Messages . GUI_BUTTON_SAVE_AND_EXIT_0 ) ) ; saveExitBtn . addClickListener ( new ClickListener ( ) { public void buttonClick ( ClickEvent event ) { saveAction ( ) ; closeAction ( ) ; } } ) ; saveExitBtn . setEnabled ( false ) ; return saveExitBtn ; }
Creates the save and exit button UI Component .