Changeset 6518


Ignore:
Timestamp:
07/06/11 20:17:28 (8 years ago)
Author:
gkronber
Message:

#1536 enabled the plugin manager for every user again but removed the first tab which allowed to update all installed plugins as this is accomplished by the auto-updating mechanism now.

Location:
trunk/sources/HeuristicLab.PluginInfrastructure/3.3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Advanced/InstallationManagerForm.Designer.cs

    r5445 r6518  
    4545    private void InitializeComponent() {
    4646      this.components = new System.ComponentModel.Container();
    47       System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InstallationManagerForm));
    4847      this.statusStrip = new System.Windows.Forms.StatusStrip();
    4948      this.toolStripProgressBar = new System.Windows.Forms.ToolStripProgressBar();
    5049      this.toolStripStatusLabel = new System.Windows.Forms.ToolStripStatusLabel();
    5150      this.tabControl = new System.Windows.Forms.TabControl();
    52       this.updateAllPluginsTabPage = new System.Windows.Forms.TabPage();
    53       this.basicUpdateView = new HeuristicLab.PluginInfrastructure.Advanced.BasicUpdateView();
    5451      this.localPluginsTabPage = new System.Windows.Forms.TabPage();
    5552      this.localPluginsView = new HeuristicLab.PluginInfrastructure.Advanced.InstalledPluginsView();
     
    6865      this.statusStrip.SuspendLayout();
    6966      this.tabControl.SuspendLayout();
    70       this.updateAllPluginsTabPage.SuspendLayout();
    7167      this.localPluginsTabPage.SuspendLayout();
    7268      this.availablePluginsTabPage.SuspendLayout();
     
    105101                  | System.Windows.Forms.AnchorStyles.Left)
    106102                  | System.Windows.Forms.AnchorStyles.Right)));
    107       this.tabControl.Controls.Add(this.updateAllPluginsTabPage);
    108103      this.tabControl.Controls.Add(this.localPluginsTabPage);
    109104      this.tabControl.Controls.Add(this.availablePluginsTabPage);
     
    118113      this.tabControl.SelectedIndexChanged += new System.EventHandler(this.tabControl_SelectedIndexChanged);
    119114      //
    120       // updateAllPluginsTabPage
    121       //
    122       this.updateAllPluginsTabPage.Controls.Add(this.basicUpdateView);
    123       this.updateAllPluginsTabPage.Location = new System.Drawing.Point(4, 22);
    124       this.updateAllPluginsTabPage.Name = "updateAllPluginsTabPage";
    125       this.updateAllPluginsTabPage.Padding = new System.Windows.Forms.Padding(3);
    126       this.updateAllPluginsTabPage.Size = new System.Drawing.Size(590, 366);
    127       this.updateAllPluginsTabPage.TabIndex = 5;
    128       this.updateAllPluginsTabPage.Text = "Update Plugins";
    129       this.toolTip.SetToolTip(this.updateAllPluginsTabPage, "Update all installed plugins");
    130       this.updateAllPluginsTabPage.UseVisualStyleBackColor = true;
    131       //
    132       // basicUpdateView
    133       //
    134       this.basicUpdateView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    135                   | System.Windows.Forms.AnchorStyles.Left)
    136                   | System.Windows.Forms.AnchorStyles.Right)));
    137       this.basicUpdateView.InstallationManager = null;
    138       this.basicUpdateView.Location = new System.Drawing.Point(6, 6);
    139       this.basicUpdateView.Name = "basicUpdateView";
    140       this.basicUpdateView.PluginManager = null;
    141       this.basicUpdateView.Size = new System.Drawing.Size(578, 354);
    142       this.basicUpdateView.StatusView = null;
    143       this.basicUpdateView.TabIndex = 0;
    144       //
    145115      // localPluginsTabPage
    146116      //
     
    298268      this.Controls.Add(this.statusStrip);
    299269      this.Controls.Add(this.menuStrip);
    300       this.Icon = HeuristicLab.PluginInfrastructure.Resources.HeuristicLab;
     270      this.Icon = global::HeuristicLab.PluginInfrastructure.Resources.HeuristicLab;
    301271      this.MainMenuStrip = this.menuStrip;
    302272      this.Name = "InstallationManagerForm";
     
    305275      this.statusStrip.PerformLayout();
    306276      this.tabControl.ResumeLayout(false);
    307       this.updateAllPluginsTabPage.ResumeLayout(false);
    308277      this.localPluginsTabPage.ResumeLayout(false);
    309278      this.availablePluginsTabPage.ResumeLayout(false);
     
    338307    private EditProductsView productEditor;
    339308    private InstalledPluginsView localPluginsView;
    340     private System.Windows.Forms.TabPage updateAllPluginsTabPage;
    341     private BasicUpdateView basicUpdateView;
    342309    private System.Windows.Forms.ToolTip toolTip;
    343310  }
  • trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Advanced/InstallationManagerForm.cs

    r5445 r6518  
    6767      localPluginsView.InstallationManager = installationManager;
    6868
    69       basicUpdateView.StatusView = this;
    70       basicUpdateView.PluginManager = pluginManager;
    71       basicUpdateView.InstallationManager = installationManager;
    72 
    7369      remotePluginInstaller.StatusView = this;
    7470      remotePluginInstaller.InstallationManager = installationManager;
  • trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Starter/StarterForm.cs

    r6515 r6518  
    100100              // this is expected when no internet connection is available => do nothing
    101101              return true;
    102             } else { 
    103               return false; 
     102            } else {
     103              return false;
    104104            }
    105105          });
     
    196196
    197197    private void AddPluginManagerItem() {
    198       if (HeuristicLab.PluginInfrastructure.Properties.Settings.Default.ShowPluginUploadControls) {
    199         FileVersionInfo pluginInfrastructureVersion = FileVersionInfo.GetVersionInfo(GetType().Assembly.Location);
    200         pluginManagerListViewItem = new ListViewItem(pluginManagerItemName, 0);
    201         pluginManagerListViewItem.Group = applicationsListView.Groups["Plugin Management"];
    202         pluginManagerListViewItem.SubItems.Add(new ListViewItem.ListViewSubItem(pluginManagerListViewItem, pluginInfrastructureVersion.FileVersion));
    203         pluginManagerListViewItem.SubItems.Add(new ListViewItem.ListViewSubItem(pluginManagerListViewItem, "Install, upgrade or delete plugins"));
    204         pluginManagerListViewItem.ToolTipText = "Install, upgrade or delete plugins";
    205 
    206         applicationsListView.Items.Add(pluginManagerListViewItem);
    207       }
     198      FileVersionInfo pluginInfrastructureVersion = FileVersionInfo.GetVersionInfo(GetType().Assembly.Location);
     199      pluginManagerListViewItem = new ListViewItem(pluginManagerItemName, 0);
     200      pluginManagerListViewItem.Group = applicationsListView.Groups["Plugin Management"];
     201      pluginManagerListViewItem.SubItems.Add(new ListViewItem.ListViewSubItem(pluginManagerListViewItem, pluginInfrastructureVersion.FileVersion));
     202      pluginManagerListViewItem.SubItems.Add(new ListViewItem.ListViewSubItem(pluginManagerListViewItem, "Install, upgrade or delete plugins"));
     203      pluginManagerListViewItem.ToolTipText = "Install, upgrade or delete plugins";
     204
     205      applicationsListView.Items.Add(pluginManagerListViewItem);
    208206    }
    209207
Note: See TracChangeset for help on using the changeset viewer.