public boolean performFinish ( ) { final IEclipsePreferences prefs = SARLEclipsePlugin . getDefault ( ) . getPreferences ( ) ; final String login = this . trackerLogin . getText ( ) ; if ( Strings . isEmpty ( login ) ) { prefs . remove ( PREFERENCE_LOGIN ) ; } else { prefs . put ( PREFERENCE_LOGIN , login ) ; } try { prefs . sync ( ) ; return true ; } catch ( BackingStoreException e ) { ErrorDialog . openError ( getShell ( ) , e . getLocalizedMessage ( ) , e . getLocalizedMessage ( ) , SARLEclipsePlugin . getDefault ( ) . createStatus ( IStatus . ERROR , e ) ) ; return false ; } }
Invoked when the wizard is closed with the Finish button .