Free cookie consent management tool by TermsFeed Policy Generator

Changeset 3024 for trunk/sources


Ignore:
Timestamp:
03/14/10 23:50:29 (15 years ago)
Author:
swagner
Message:

Restricted name changes to CombinedOperator, Placeholder and ProgrammableOperator (#893)

Location:
trunk/sources
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Operators.Programmable/3.3/ProgrammableOperator.cs

    r3017 r3024  
    106106    }
    107107
     108    public override bool CanChangeName {
     109      get { return true; }
     110    }
    108111    public override bool CanChangeDescription {
    109       get {
    110         return true;
    111       }
    112     }   
     112      get { return true; }
     113    }
    113114
    114115    #endregion
  • trunk/sources/HeuristicLab.Operators/3.3/CombinedOperator.cs

    r3017 r3024  
    3232  [StorableClass]
    3333  public sealed class CombinedOperator : AlgorithmOperator, IParameterizedItem {
     34    public override bool CanChangeName {
     35      get { return true; }
     36    }
     37    public override bool CanChangeDescription {
     38      get { return true; }
     39    }
    3440    public new ParameterCollection Parameters {
    3541      get { return base.Parameters; }
     
    3844      get { return Parameters; }
    3945    }
    40     public override bool CanChangeDescription {
    41       get { return true; }
    42     }
    4346
    4447    public CombinedOperator() : base() { }
  • trunk/sources/HeuristicLab.Operators/3.3/Operator.cs

    r3017 r3024  
    3434    public override Image ItemImage {
    3535      get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Method; }
     36    }
     37    public override bool CanChangeName {
     38      get { return false; }
    3639    }
    3740    public override bool CanChangeDescription {
  • trunk/sources/HeuristicLab.Operators/3.3/Placeholder.cs

    r3017 r3024  
    3232  [StorableClass]
    3333  public sealed class Placeholder : SingleSuccessorOperator {
     34    public override bool CanChangeName {
     35      get { return true; }
     36    }
    3437    public LookupParameter<IOperator> OperatorParameter {
    3538      get { return (LookupParameter<IOperator>)Parameters["Operator"]; }
Note: See TracChangeset for help on using the changeset viewer.