protected void okPressed() { Utility.setPreferenceStoredMap( JdbcPlugin.JAR_MAP_PREFERENCE_KEY, jarMap ); Utility.setPreferenceStoredMap( JdbcPlugin.DRIVER_MAP_PREFERENCE_KEY, driverMap );
protected void okPressed( ) { if ( !jarChanged && jarsToBeCopied.size( ) == 0 && jarsToBeDeleted.size( ) == 0 && jarsToBeCopiedRuntime.size( ) == 0 && jarsToBeDeletedRuntime.size( ) == 0 ) { super.okPressed( ); } else { if ( jarsToBeDeleted.values( ).iterator( ).hasNext( ) ) { MessageDialog.openInformation( getShell( ), JdbcPlugin.getResourceString( "driverManagerDialog.fileDelete.title" ), JdbcPlugin.getResourceString( "driverManagerDialog.fileDelete.text" ) ); }
	protected void okPressed() {    	Utility.setPreferenceStoredMap( JdbcPlugin.JAR_MAP_PREFERENCE_KEY,				jarMap );		Utility.setPreferenceStoredMap( JdbcPlugin.DRIVER_MAP_PREFERENCE_KEY,				driverMap );		Iterator jarsCopyIterator = jarsToBeCopied.values( ).iterator( );		while ( jarsCopyIterator.hasNext( ) )		{			JarFile jar = (JarFile) jarsCopyIterator.next( );			jar.copyJarToODADir( );			Utility.removeMapEntryFromPreferenceStoredMap( JdbcPlugin.DELETED_JAR_MAP_PREFERENCE_KEY,					jar.getFileName( ) );		}				Iterator jarsDeleteIterator = jarsToBeDeleted.values( ).iterator( );		while ( jarsDeleteIterator.hasNext( ) )		{			JarFile jar = (JarFile) jarsDeleteIterator.next( );			jar.copyJarToODADir( );			Utility.putPreferenceStoredMapValue( JdbcPlugin.DELETED_JAR_MAP_PREFERENCE_KEY,					jar.getFileName( ),					jar );		}		refreshDriverPage( );		super.okPressed( );	}