case 0 : pref = PREF_OVERWRITE; break; case 1 : pref = PREF_NOT_OVERWRITE; break; default : break;
switch ( buttonId ) { case 0 : pref = PREF_OVERWRITE; break; case 1 : pref = PREF_NOT_OVERWRITE; break; default : break; } if ( saveDecision ) { ReportPlugin.getDefault( ) .getPreferenceStore( ) .setValue( PREF_KEY, pref ); } super.buttonPressed( buttonId );
						protected void buttonPressed( int buttonId )						{							switch ( buttonId )							{								case 0 :									pref = PREF_OVERWRITE;									break;								case 1 :									pref = PREF_NOT_OVERWRITE;									break;								default :									break;							}							if ( saveDecision )							{								ReportPlugin.getDefault( )										.getPreferenceStore( )										.setValue( PREF_KEY, pref );							}							super.buttonPressed( buttonId );						}