- Timestamp:
- 04/23/10 07:38:24 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/PluginEditor.cs
r3474 r3509 31 31 using ICSharpCode.SharpZipLib.Zip; 32 32 using System.IO; 33 using HeuristicLab.PluginInfrastructure.Manager; 33 34 34 35 namespace HeuristicLab.PluginInfrastructure.Advanced { 35 internal partial class PluginEditor : InstallationManagerControl {36 private Dictionary<IPluginDescription, DeploymentService.PluginDescription> localAndServerPlugins;36 internal partial class PluginEditor : UserControl { 37 private Dictionary<IPluginDescription, IPluginDescription> localAndServerPlugins; 37 38 private BackgroundWorker pluginUploadWorker; 38 39 private BackgroundWorker updateServerPluginsWorker; … … 42 43 // Caption = "Upload Plugins"; 43 44 44 localAndServerPlugins = new Dictionary<IPluginDescription, DeploymentService.PluginDescription>();45 localAndServerPlugins = new Dictionary<IPluginDescription, IPluginDescription>(); 45 46 46 47 #region initialize backgroundworkers … … 64 65 } 65 66 // refresh server plugins (find matching local plugins) 66 var plugins = ( DeploymentService.PluginDescription[])e.Result;67 var plugins = (IPluginDescription[])e.Result; 67 68 foreach (var plugin in plugins) { 68 69 var matchingLocalPlugin = (from localPlugin in localAndServerPlugins.Keys … … 168 169 private void listView_ItemActivate(object sender, EventArgs e) { 169 170 foreach (var item in listView.SelectedItems) { 170 var plugin = ( IPluginDescription)((ListViewItem)item).Tag;171 var plugin = (PluginDescription)((ListViewItem)item).Tag; 171 172 var compView = new PluginComparisonView(plugin, localAndServerPlugins[plugin]); 172 173 compView.Show();
Note: See TracChangeset
for help on using the changeset viewer.