Changeset 6426 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.ExperimentManager
- Timestamp:
- 06/16/11 12:39:32 (14 years ago)
- 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 52 52 this.jobsTabPage = new System.Windows.Forms.TabPage(); 53 53 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(); 54 56 this.logTabPage = new System.Windows.Forms.TabPage(); 55 57 this.logView = new HeuristicLab.Core.Views.LogView(); … … 62 64 this.resourceIdsLabel = new System.Windows.Forms.Label(); 63 65 this.resourceNamesTextBox = new System.Windows.Forms.TextBox(); 64 this.useLocalPluginsCheckBox = new System.Windows.Forms.CheckBox();65 66 this.nameLabel = new System.Windows.Forms.Label(); 66 67 this.nameTextBox = new System.Windows.Forms.TextBox(); … … 76 77 this.calculatingLabel = new System.Windows.Forms.Label(); 77 78 this.jobsLabel = new System.Windows.Forms.Label(); 78 this.stateTabPage = new System.Windows.Forms.TabPage();79 this.stateLogViewHost = new ViewHost();80 79 this.tabControl.SuspendLayout(); 81 80 this.jobsTabPage.SuspendLayout(); 81 this.stateTabPage.SuspendLayout(); 82 82 this.logTabPage.SuspendLayout(); 83 83 this.infoGroupBox.SuspendLayout(); 84 this.stateTabPage.SuspendLayout();85 84 this.SuspendLayout(); 86 85 // … … 126 125 this.jobsTreeView.DragOver += new System.Windows.Forms.DragEventHandler(this.jobsTreeView_DragOver); 127 126 // 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 // 128 151 // logTabPage 129 152 // … … 234 257 this.resourceNamesTextBox.TabIndex = 14; 235 258 this.resourceNamesTextBox.Validated += new System.EventHandler(this.resourceNamesTextBox_Validated); 236 //237 // useLocalPluginsCheckBox238 //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);248 259 // 249 260 // nameLabel … … 370 381 this.jobsLabel.TabIndex = 0; 371 382 this.jobsLabel.Text = "Jobs:"; 372 //373 // stateTabPage374 //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 // stateLogViewHost384 //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;393 383 // 394 384 // RefreshableHiveExperimentView … … 410 400 this.Controls.Add(this.resourceIdsLabel); 411 401 this.Controls.Add(this.stopButton); 412 this.Controls.Add(this.useLocalPluginsCheckBox);413 402 this.Controls.Add(this.resetButton); 414 403 this.Name = "RefreshableHiveExperimentView"; … … 416 405 this.tabControl.ResumeLayout(false); 417 406 this.jobsTabPage.ResumeLayout(false); 407 this.stateTabPage.ResumeLayout(false); 418 408 this.logTabPage.ResumeLayout(false); 419 409 this.infoGroupBox.ResumeLayout(false); 420 410 this.infoGroupBox.PerformLayout(); 421 this.stateTabPage.ResumeLayout(false);422 411 this.ResumeLayout(false); 423 412 this.PerformLayout(); … … 437 426 private System.Windows.Forms.TabPage logTabPage; 438 427 private Core.Views.LogView logView; 439 private System.Windows.Forms.CheckBox useLocalPluginsCheckBox;440 428 private System.Windows.Forms.TabPage jobsTabPage; 441 429 private HiveJobItemTreeView jobsTreeView; -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.ExperimentManager/3.4/Views/RefreshableHiveExperimentView.cs
r6419 r6426 104 104 executionTimeTextBox.Text = string.Empty; 105 105 resourceNamesTextBox.Text = string.Empty; 106 useLocalPluginsCheckBox.Checked = false;107 106 isPrivilegedCheckBox.Checked = false; 108 107 logView.Content = null; … … 113 112 executionTimeTextBox.Text = Content.HiveExperiment.ExecutionTime.ToString(); 114 113 resourceNamesTextBox.Text = Content.HiveExperiment.ResourceNames; 115 useLocalPluginsCheckBox.Checked = Content.HiveExperiment.UseLocalPlugins;116 114 isPrivilegedCheckBox.Checked = Content.HiveExperiment.IsPrivileged; 117 115 refreshAutomaticallyCheckBox.Checked = Content.RefreshAutomatically; … … 141 139 this.jobsTreeView.ReadOnly = !Content.IsControllable || Content.HiveExperiment.ExecutionState != ExecutionState.Prepared || alreadyUploaded; 142 140 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 145 142 this.refreshAutomaticallyCheckBox.Enabled = Content.IsControllable && alreadyUploaded && jobsLoaded && Content.HiveExperiment.ExecutionState == ExecutionState.Started; 146 143 this.refreshButton.Enabled = Content.IsControllable && alreadyUploaded; … … 312 309 Content.RefreshAutomatically = refreshAutomaticallyCheckBox.Checked; 313 310 } 314 }315 316 private void useLocalPluginsCheckBox_CheckedChanged(object sender, EventArgs e) {317 if (Content != null) Content.HiveExperiment.UseLocalPlugins = useLocalPluginsCheckBox.Checked;318 311 } 319 312
Note: See TracChangeset
for help on using the changeset viewer.