Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/09/11 14:12:10 (13 years ago)
Author:
cneumuel
Message:

#1233

  • removed Job-dto objects from slave core (since it stores outdated objects)
  • added command textbox to HiveJobView
  • improved the way the control buttons behave in HiveJobView
  • improved job control (pause and stop is also possible when job is not currently calculating)
  • improved gantt chart view (last state log entry is also displayed)
  • unified code for downloading jobs between experiment manager and hive engine
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.4/ServiceClients/HiveExperiment.cs

    r6033 r6168  
    119119    #region Events
    120120    public event EventHandler ExecutionTimeChanged;
    121     private void OnExecutionTimeChanged() {
    122       EventHandler handler = ExecutionTimeChanged;
     121    protected virtual void OnExecutionTimeChanged() {
     122      var handler = ExecutionTimeChanged;
    123123      if (handler != null) handler(this, EventArgs.Empty);
    124124    }
    125125
    126126    public event EventHandler ExecutionStateChanged;
    127     private void OnExecutionStateChanged() {
    128       EventHandler handler = ExecutionStateChanged;
     127    protected virtual void OnExecutionStateChanged() {
     128      var handler = ExecutionStateChanged;
    129129      if (handler != null) handler(this, EventArgs.Empty);
    130130    }
     
    132132    public event EventHandler HiveJobsChanged;
    133133    protected virtual void OnHiveJobsChanged() {
    134       EventHandler handler = HiveJobsChanged;
     134      var handler = HiveJobsChanged;
    135135      if (handler != null) handler(this, EventArgs.Empty);
    136136    }
    137137
    138138    public event EventHandler IsProgressingChanged;
    139     private void OnIsProgressingChanged() {
    140       EventHandler handler = IsProgressingChanged;
     139    protected virtual void OnIsProgressingChanged() {
     140      var handler = IsProgressingChanged;
     141      if (handler != null) handler(this, EventArgs.Empty);
     142    }
     143
     144    public event EventHandler Loaded;
     145    public virtual void OnLoaded() {
     146      var handler = Loaded;
    141147      if (handler != null) handler(this, EventArgs.Empty);
    142148    }
     
    175181      return Name;
    176182    }
    177 
    178     public virtual void OnLoaded() { }
    179183  }
    180184}
Note: See TracChangeset for help on using the changeset viewer.