Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/07/16 10:18:05 (8 years ago)
Author:
ascheibe
Message:

#2582 created branch for Hive Web Job Manager

Location:
branches/WebJobManager
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/WebJobManager/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/DataAnalysisSolution.cs

    r12012 r13656  
    2222using System;
    2323using System.Collections.Generic;
    24 using System.Drawing;
    2524using HeuristicLab.Common;
    2625using HeuristicLab.Optimization;
     
    3837    public string Filename { get; set; }
    3938
    40     public static new Image StaticItemImage {
    41       get { return HeuristicLab.Common.Resources.VSImageLibrary.Function; }
    42     }
     39
    4340
    4441    #region properties
    45     public IDataAnalysisModel Model {
     42    public IDataAnalysisModel Model
     43    {
    4644      get { return (IDataAnalysisModel)this[ModelResultName].Value; }
    47       protected set {
     45      protected set
     46      {
    4847        if (this[ModelResultName].Value != value) {
    4948          if (value != null) {
     
    5554    }
    5655
    57     public IDataAnalysisProblemData ProblemData {
     56    public IDataAnalysisProblemData ProblemData
     57    {
    5858      get { return (IDataAnalysisProblemData)this[ProblemDataResultName].Value; }
    59       set {
     59      set
     60      {
    6061        if (this[ProblemDataResultName].Value != value) {
    6162          if (value != null) {
     
    114115    [Storable]
    115116    protected string name;
    116     public string Name {
     117    public string Name
     118    {
    117119      get { return name; }
    118       set {
     120      set
     121      {
    119122        if (!CanChangeName) throw new NotSupportedException("Name cannot be changed.");
    120123        if (!(name.Equals(value) || (value == null) && (name == string.Empty))) {
     
    128131      }
    129132    }
    130     public virtual bool CanChangeName {
     133    public virtual bool CanChangeName
     134    {
    131135      get { return true; }
    132136    }
    133137    [Storable]
    134138    protected string description;
    135     public string Description {
     139    public string Description
     140    {
    136141      get { return description; }
    137       set {
     142      set
     143      {
    138144        if (!CanChangeDescription) throw new NotSupportedException("Description cannot be changed.");
    139145        if (!(description.Equals(value) || (value == null) && (description == string.Empty))) {
     
    143149      }
    144150    }
    145     public virtual bool CanChangeDescription {
     151    public virtual bool CanChangeDescription
     152    {
    146153      get { return true; }
    147154    }
Note: See TracChangeset for help on using the changeset viewer.