Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/30/16 16:52:40 (8 years ago)
Author:
jlodewyc
Message:

#2582 Start angular OKB manager, data loaded

Location:
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/ViewModels/Jobs
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/ViewModels/Jobs/FileOpeningViewModel.cs

    r13860 r13862  
    3030    /// Opening files
    3131    /// </summary>
    32     public class FileOpeningViewModel
     32    public class FileOpeningViewModel :MasterVM
    3333    {
    3434        public OptimizerHiveTask SelectedTask { get; set; }
     
    3737        public Experiment SelectedExperiment { get; set; }
    3838        public BatchRun SelectedBatchRun { get; set; }
    39         public string message { get; set; }
    40         public HiveWebUser currentUser { get; set; }
    4139
    42         public FileOpeningViewModel(HiveWebUser hwu)
    43         {
    44             currentUser = hwu;
    45         }
     40        public FileOpeningViewModel(HiveWebUser hwu) : base(hwu)
     41        { }
    4642    }
    4743}
  • branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/ViewModels/Jobs/JobViewModel.cs

    r13860 r13862  
    3030    /// Keeps list of loaded jobs
    3131    /// </summary>
    32     public class JobViewModel
     32    public class JobViewModel : MasterVM
    3333    {
    34         public HiveWebUser currentUser { get; set; }
    3534        public List<RefreshableJob> userJobs { get; set; }
    3635
     
    3837
    3938        public List<HiveTask> selectedHiveTasks { get; set; }
    40         public string message { get; set; }
    41         public JobViewModel(HiveWebUser hwu)
     39        public JobViewModel(HiveWebUser hwu) : base(hwu)
    4240        {
    4341            userJobs = null;
     
    4543            selectedHiveTasks = new List<HiveTask>();
    4644            message = "";
    47             currentUser = hwu;
    4845        }
    4946    }
  • branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/ViewModels/Jobs/UploadedJobViewModel.cs

    r13847 r13862  
    1111    /// Used to show data of uploaded files
    1212    /// </summary>
    13     public class UploadedJobViewModel
     13    public class UploadedJobViewModel : MasterVM
    1414    {
    15         public UploadedJobViewModel(HiveWebUser hwu)
     15        public UploadedJobViewModel(HiveWebUser hwu) : base(hwu)
    1616        {
    1717            FullDatePaths = new List<string>();
     
    2020            DisplayFilesPaths = new List<string>();
    2121            SelectedIndex = -1;
    22             currentUser = hwu;
    2322        }
    2423        public void clear()
     
    3534        public List<string> DisplayFilesPaths { get; set; }
    3635        public int SelectedIndex { get; set; }
    37         public string message { get; set; }
    38         public HiveWebUser currentUser { get; set; }
    3936       
    4037    }
Note: See TracChangeset for help on using the changeset viewer.