Free cookie consent management tool by TermsFeed Policy Generator

Changeset 16205


Ignore:
Timestamp:
10/01/18 16:21:01 (6 years ago)
Author:
jzenisek
Message:

#2839 adapting project job view

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ProjectJobsView.Designer.cs

    r16117 r16205  
    2020#endregion
    2121
     22using System.Windows.Forms;
    2223using HeuristicLab.Data.Views;
    2324
     
    5051      this.refreshButton = new System.Windows.Forms.Button();
    5152      this.removeButton = new System.Windows.Forms.Button();
     53      this.startButton = new System.Windows.Forms.Button();
     54      this.stopButton = new System.Windows.Forms.Button();
     55      this.pauseButton = new System.Windows.Forms.Button();
    5256      this.matrixView = new HeuristicLab.Data.Views.StringConvertibleMatrixView();
    5357      this.toolTip = new System.Windows.Forms.ToolTip(this.components);
     
    7579      this.removeButton.UseVisualStyleBackColor = true;
    7680      this.removeButton.Click += new System.EventHandler(this.removeButton_Click);
     81      //
     82      // startButton
     83      //
     84      this.startButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     85      this.startButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Play;
     86      this.startButton.Location = new System.Drawing.Point(0, 564);
     87      this.startButton.Name = "startButton";
     88      this.startButton.Size = new System.Drawing.Size(24, 24);
     89      this.startButton.TabIndex = 4;
     90      this.toolTip.SetToolTip(this.startButton, "Resume job(s)");
     91      this.startButton.UseVisualStyleBackColor = true;
     92      this.startButton.Click += new System.EventHandler(this.startButton_Click);
     93      //
     94      // pauseButton
     95      //
     96      this.pauseButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     97      this.pauseButton.Enabled = false;
     98      this.pauseButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Pause;
     99      this.pauseButton.Location = new System.Drawing.Point(30, 564);
     100      this.pauseButton.Name = "pauseButton";
     101      this.pauseButton.Size = new System.Drawing.Size(24, 24);
     102      this.pauseButton.TabIndex = 5;
     103      this.toolTip.SetToolTip(this.pauseButton, "Pause job(s)");
     104      this.pauseButton.UseVisualStyleBackColor = true;
     105      this.pauseButton.Click += new System.EventHandler(this.pauseButton_Click);
     106      //
     107      // stopButton
     108      //
     109      this.stopButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     110      this.stopButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Stop;
     111      this.stopButton.Location = new System.Drawing.Point(60, 564);
     112      this.stopButton.Name = "stopButton";
     113      this.stopButton.Size = new System.Drawing.Size(24, 24);
     114      this.stopButton.TabIndex = 6;
     115      this.toolTip.SetToolTip(this.stopButton, "Stop job(s)");
     116      this.stopButton.UseVisualStyleBackColor = true;
     117      this.stopButton.Click += new System.EventHandler(this.stopButton_Click);
    77118      //
    78119      // matrixView
     
    110151    private System.Windows.Forms.Button refreshButton;
    111152    private System.Windows.Forms.Button removeButton;
     153    private System.Windows.Forms.Button startButton;
     154    private System.Windows.Forms.Button stopButton;
     155    private System.Windows.Forms.Button pauseButton;
    112156    private StringConvertibleMatrixView matrixView;
    113157  }
  • trunk/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ProjectJobsView.cs

    r16117 r16205  
    132132        }
    133133      }
     134    }
     135
     136    private async void startButton_Click(object sender, EventArgs e) {
     137      throw new NotImplementedException();
     138    }
     139
     140    private async void pauseButton_Click(object sender, EventArgs e) {
     141      throw new NotImplementedException();
     142    }
     143
     144    private async void stopButton_Click(object sender, EventArgs e) {
     145      throw new NotImplementedException();
    134146    }
    135147
     
    201213    }
    202214
     215    private void PauseJobs(List<Guid> jobIds) {
     216      try {
     217        // TODO
     218      } catch (AnonymousUserException) {
     219        ShowHiveInformationDialog();
     220      }
     221    }
     222
     223    private void StopJobs(List<Guid> jobIds) {
     224      try {
     225        // TODO
     226      } catch (AnonymousUserException) {
     227        ShowHiveInformationDialog();
     228      }
     229    }
     230
    203231    private void DeleteJobs(List<Guid> jobIds) {
    204232      try {
  • trunk/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveResourceSelector.cs

    r16202 r16205  
    284284        }
    285285      }
    286 
    287286    }
    288287
  • trunk/HeuristicLab.Clients.Hive/3.3/Plugin.cs.frame

    r15589 r16205  
    3030  [PluginFile("HeuristicLab.Clients.Hive-3.3.dll", PluginFileType.Assembly)]
    3131  [PluginDependency("HeuristicLab.Clients.Common", "3.3")]
     32  [PluginDependency("HeuristicLab.Clients.Access", "3.3")] 
    3233  [PluginDependency("HeuristicLab.Collections", "3.3")]
    3334  [PluginDependency("HeuristicLab.Common", "3.3")]
Note: See TracChangeset for help on using the changeset viewer.