Changeset 6760 for branches/PersistenceSpeedUp/HeuristicLab.PluginInfrastructure/3.3/Advanced/AvailablePluginsView.cs
- Timestamp:
- 09/14/11 13:59:25 (13 years ago)
- Location:
- branches/PersistenceSpeedUp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceSpeedUp
- Property svn:ignore
-
old new 12 12 *.psess 13 13 *.vsp 14 *.docstates
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/PersistenceSpeedUp/HeuristicLab.PluginInfrastructure/3.3/Advanced/AvailablePluginsView.cs
r5445 r6760 117 117 void updateOrInstallPluginsBackgroundWorker_DoWork(object sender, DoWorkEventArgs e) { 118 118 UpdateOrInstallPluginsBackgroundWorkerArgument info = (UpdateOrInstallPluginsBackgroundWorkerArgument)e.Argument; 119 bool cancelled = false; 119 120 if (info.PluginsToInstall.Count() > 0) 120 installationManager.Install(info.PluginsToInstall );121 installationManager.Install(info.PluginsToInstall, out cancelled); 121 122 if (info.PluginsToUpdate.Count() > 0) 122 installationManager.Update(info.PluginsToUpdate );123 124 if ( info.PluginsToInstall.Count() > 0 || info.PluginsToUpdate.Count() > 0)123 installationManager.Update(info.PluginsToUpdate, out cancelled); 124 125 if (!cancelled && (info.PluginsToInstall.Count() > 0 || info.PluginsToUpdate.Count() > 0)) 125 126 pluginManager.DiscoverAndCheckPlugins(); 126 127 } … … 176 177 var pluginsToInstall = selectedProduct.Plugins.Except(pluginsToUpdate); 177 178 178 updateOrInstallInfo.PluginsToInstall = 179 updateOrInstallInfo.PluginsToInstall = 179 180 pluginsToInstall 180 181 .Cast<IPluginDescription>() 181 182 .ToList(); 182 updateOrInstallInfo.PluginsToUpdate = 183 updateOrInstallInfo.PluginsToUpdate = 183 184 pluginsToUpdate 184 185 .Cast<IPluginDescription>()
Note: See TracChangeset
for help on using the changeset viewer.