Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/21/10 20:05:33 (14 years ago)
Author:
gkronber
Message:

Incorporated review comments by swagner into plugin infrastructure. #989 (Implement review comments in plugin infrastructure)

File:
1 edited

Legend:

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

    r3112 r3474  
    2929
    3030namespace HeuristicLab.PluginInfrastructure.Advanced {
    31   internal partial class RemotePluginInstaller : UserControl {
     31  internal partial class RemotePluginInstallerView : UserControl {
    3232    public event ItemCheckedEventHandler ItemChecked;
    3333
     
    3535    private ListViewGroup productsGroup;
    3636    private ListViewGroup allPluginsGroup;
     37
    3738    private bool showAllPlugins;
    38 
    39     public RemotePluginInstaller() {
     39    public bool ShowAllPlugins {
     40      get { return showAllPlugins; }
     41      set {
     42        if (value != showAllPlugins) {
     43          showAllPlugins = value;
     44          UpdateControl();
     45        }
     46      }
     47    }
     48
     49    public RemotePluginInstallerView() {
    4050      InitializeComponent();
    41 
    42       imageListForRemoteItems.Images.Add(HeuristicLab.PluginInfrastructure.Resources.Resources.Assembly);
    43       imageListForRemoteItems.Images.Add(HeuristicLab.PluginInfrastructure.Resources.Resources.Install);
    4451
    4552      newPluginsGroup = remotePluginsListView.Groups["newPluginsGroup"];
     
    132139      return item;
    133140    }
    134 
    135     #region button event handlers
    136     private void advancedViewButton_CheckedChanged(object sender, EventArgs e) {
    137       if (advancedViewButton.Checked) {
    138         showAllPlugins = true;
    139       } else {
    140         showAllPlugins = false;
    141       }
    142       UpdateControl();
    143     }
    144 
    145     #endregion
    146141
    147142    #region item checked event handler
Note: See TracChangeset for help on using the changeset viewer.