Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/16/11 12:39:32 (14 years ago)
Author:
ascheibe
Message:

#1233 removed useLocalPlugins

Location:
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.ExperimentManager/3.4/Views
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.ExperimentManager/3.4/Views/RefreshableHiveExperimentView.Designer.cs

    r6419 r6426  
    5252      this.jobsTabPage = new System.Windows.Forms.TabPage();
    5353      this.jobsTreeView = new HeuristicLab.Clients.Hive.Views.ExperimentManager.HiveJobItemTreeView();
     54      this.stateTabPage = new System.Windows.Forms.TabPage();
     55      this.stateLogViewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost();
    5456      this.logTabPage = new System.Windows.Forms.TabPage();
    5557      this.logView = new HeuristicLab.Core.Views.LogView();
     
    6264      this.resourceIdsLabel = new System.Windows.Forms.Label();
    6365      this.resourceNamesTextBox = new System.Windows.Forms.TextBox();
    64       this.useLocalPluginsCheckBox = new System.Windows.Forms.CheckBox();
    6566      this.nameLabel = new System.Windows.Forms.Label();
    6667      this.nameTextBox = new System.Windows.Forms.TextBox();
     
    7677      this.calculatingLabel = new System.Windows.Forms.Label();
    7778      this.jobsLabel = new System.Windows.Forms.Label();
    78       this.stateTabPage = new System.Windows.Forms.TabPage();
    79       this.stateLogViewHost = new ViewHost();
    8079      this.tabControl.SuspendLayout();
    8180      this.jobsTabPage.SuspendLayout();
     81      this.stateTabPage.SuspendLayout();
    8282      this.logTabPage.SuspendLayout();
    8383      this.infoGroupBox.SuspendLayout();
    84       this.stateTabPage.SuspendLayout();
    8584      this.SuspendLayout();
    8685      //
     
    126125      this.jobsTreeView.DragOver += new System.Windows.Forms.DragEventHandler(this.jobsTreeView_DragOver);
    127126      //
     127      // stateTabPage
     128      //
     129      this.stateTabPage.Controls.Add(this.stateLogViewHost);
     130      this.stateTabPage.Location = new System.Drawing.Point(4, 22);
     131      this.stateTabPage.Name = "stateTabPage";
     132      this.stateTabPage.Size = new System.Drawing.Size(709, 426);
     133      this.stateTabPage.TabIndex = 6;
     134      this.stateTabPage.Text = "State";
     135      this.stateTabPage.UseVisualStyleBackColor = true;
     136      //
     137      // stateLogViewHost
     138      //
     139      this.stateLogViewHost.Caption = "StateLog View";
     140      this.stateLogViewHost.Content = null;
     141      this.stateLogViewHost.Dock = System.Windows.Forms.DockStyle.Fill;
     142      this.stateLogViewHost.Enabled = false;
     143      this.stateLogViewHost.Location = new System.Drawing.Point(0, 0);
     144      this.stateLogViewHost.Name = "stateLogViewHost";
     145      this.stateLogViewHost.ReadOnly = false;
     146      this.stateLogViewHost.Size = new System.Drawing.Size(709, 426);
     147      this.stateLogViewHost.TabIndex = 0;
     148      this.stateLogViewHost.ViewsLabelVisible = true;
     149      this.stateLogViewHost.ViewType = null;
     150      //
    128151      // logTabPage
    129152      //
     
    234257      this.resourceNamesTextBox.TabIndex = 14;
    235258      this.resourceNamesTextBox.Validated += new System.EventHandler(this.resourceNamesTextBox_Validated);
    236       //
    237       // useLocalPluginsCheckBox
    238       //
    239       this.useLocalPluginsCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
    240       this.useLocalPluginsCheckBox.AutoSize = true;
    241       this.useLocalPluginsCheckBox.Location = new System.Drawing.Point(469, 56);
    242       this.useLocalPluginsCheckBox.Name = "useLocalPluginsCheckBox";
    243       this.useLocalPluginsCheckBox.Size = new System.Drawing.Size(105, 17);
    244       this.useLocalPluginsCheckBox.TabIndex = 19;
    245       this.useLocalPluginsCheckBox.Text = "UseLocalPlugins";
    246       this.useLocalPluginsCheckBox.UseVisualStyleBackColor = true;
    247       this.useLocalPluginsCheckBox.CheckedChanged += new System.EventHandler(this.useLocalPluginsCheckBox_CheckedChanged);
    248259      //
    249260      // nameLabel
     
    370381      this.jobsLabel.TabIndex = 0;
    371382      this.jobsLabel.Text = "Jobs:";
    372       //
    373       // stateTabPage
    374       //
    375       this.stateTabPage.Controls.Add(this.stateLogViewHost);
    376       this.stateTabPage.Location = new System.Drawing.Point(4, 22);
    377       this.stateTabPage.Name = "stateTabPage";
    378       this.stateTabPage.Size = new System.Drawing.Size(709, 426);
    379       this.stateTabPage.TabIndex = 6;
    380       this.stateTabPage.Text = "State";
    381       this.stateTabPage.UseVisualStyleBackColor = true;
    382       //
    383       // stateLogViewHost
    384       //
    385       this.stateLogViewHost.Caption = "StateLog View";
    386       this.stateLogViewHost.Content = null;
    387       this.stateLogViewHost.Dock = System.Windows.Forms.DockStyle.Fill;
    388       this.stateLogViewHost.Location = new System.Drawing.Point(0, 0);
    389       this.stateLogViewHost.Name = "stateLogViewHost";
    390       this.stateLogViewHost.ReadOnly = false;
    391       this.stateLogViewHost.Size = new System.Drawing.Size(709, 426);
    392       this.stateLogViewHost.TabIndex = 0;
    393383      //
    394384      // RefreshableHiveExperimentView
     
    410400      this.Controls.Add(this.resourceIdsLabel);
    411401      this.Controls.Add(this.stopButton);
    412       this.Controls.Add(this.useLocalPluginsCheckBox);
    413402      this.Controls.Add(this.resetButton);
    414403      this.Name = "RefreshableHiveExperimentView";
     
    416405      this.tabControl.ResumeLayout(false);
    417406      this.jobsTabPage.ResumeLayout(false);
     407      this.stateTabPage.ResumeLayout(false);
    418408      this.logTabPage.ResumeLayout(false);
    419409      this.infoGroupBox.ResumeLayout(false);
    420410      this.infoGroupBox.PerformLayout();
    421       this.stateTabPage.ResumeLayout(false);
    422411      this.ResumeLayout(false);
    423412      this.PerformLayout();
     
    437426    private System.Windows.Forms.TabPage logTabPage;
    438427    private Core.Views.LogView logView;
    439     private System.Windows.Forms.CheckBox useLocalPluginsCheckBox;
    440428    private System.Windows.Forms.TabPage jobsTabPage;
    441429    private HiveJobItemTreeView jobsTreeView;
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.ExperimentManager/3.4/Views/RefreshableHiveExperimentView.cs

    r6419 r6426  
    104104        executionTimeTextBox.Text = string.Empty;
    105105        resourceNamesTextBox.Text = string.Empty;
    106         useLocalPluginsCheckBox.Checked = false;
    107106        isPrivilegedCheckBox.Checked = false;
    108107        logView.Content = null;
     
    113112        executionTimeTextBox.Text = Content.HiveExperiment.ExecutionTime.ToString();
    114113        resourceNamesTextBox.Text = Content.HiveExperiment.ResourceNames;
    115         useLocalPluginsCheckBox.Checked = Content.HiveExperiment.UseLocalPlugins;
    116114        isPrivilegedCheckBox.Checked = Content.HiveExperiment.IsPrivileged;
    117115        refreshAutomaticallyCheckBox.Checked = Content.RefreshAutomatically;
     
    141139        this.jobsTreeView.ReadOnly = !Content.IsControllable || Content.HiveExperiment.ExecutionState != ExecutionState.Prepared || alreadyUploaded;
    142140
    143         this.isPrivilegedCheckBox.Enabled = Content.IsControllable && !(Content.HiveExperiment.ExecutionState != ExecutionState.Prepared || alreadyUploaded); // TODO: check if user has the rights to do this
    144         this.useLocalPluginsCheckBox.Enabled = Content.IsControllable && !(Content.HiveExperiment.ExecutionState != ExecutionState.Prepared || alreadyUploaded);
     141        this.isPrivilegedCheckBox.Enabled = Content.IsControllable && !(Content.HiveExperiment.ExecutionState != ExecutionState.Prepared || alreadyUploaded); // TODO: check if user has the rights to do this       
    145142        this.refreshAutomaticallyCheckBox.Enabled = Content.IsControllable && alreadyUploaded && jobsLoaded && Content.HiveExperiment.ExecutionState == ExecutionState.Started;
    146143        this.refreshButton.Enabled = Content.IsControllable && alreadyUploaded;
     
    312309        Content.RefreshAutomatically = refreshAutomaticallyCheckBox.Checked;
    313310      }
    314     }
    315 
    316     private void useLocalPluginsCheckBox_CheckedChanged(object sender, EventArgs e) {
    317       if (Content != null) Content.HiveExperiment.UseLocalPlugins = useLocalPluginsCheckBox.Checked;
    318311    }
    319312
Note: See TracChangeset for help on using the changeset viewer.