Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/23/10 07:38:24 (14 years ago)
Author:
gkronber
Message:

Reintegrated plugin administration controls. #989

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/PluginEditor.cs

    r3474 r3509  
    3131using ICSharpCode.SharpZipLib.Zip;
    3232using System.IO;
     33using HeuristicLab.PluginInfrastructure.Manager;
    3334
    3435namespace 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;
    3738    private BackgroundWorker pluginUploadWorker;
    3839    private BackgroundWorker updateServerPluginsWorker;
     
    4243      // Caption = "Upload Plugins";
    4344
    44       localAndServerPlugins = new Dictionary<IPluginDescription, DeploymentService.PluginDescription>();
     45      localAndServerPlugins = new Dictionary<IPluginDescription, IPluginDescription>();
    4546
    4647      #region initialize backgroundworkers
     
    6465        }
    6566        // refresh server plugins (find matching local plugins)
    66         var plugins = (DeploymentService.PluginDescription[])e.Result;
     67        var plugins = (IPluginDescription[])e.Result;
    6768        foreach (var plugin in plugins) {
    6869          var matchingLocalPlugin = (from localPlugin in localAndServerPlugins.Keys
     
    168169    private void listView_ItemActivate(object sender, EventArgs e) {
    169170      foreach (var item in listView.SelectedItems) {
    170         var plugin = (IPluginDescription)((ListViewItem)item).Tag;
     171        var plugin = (PluginDescription)((ListViewItem)item).Tag;
    171172        var compView = new PluginComparisonView(plugin, localAndServerPlugins[plugin]);
    172173        compView.Show();
Note: See TracChangeset for help on using the changeset viewer.