Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/30/10 10:17:22 (14 years ago)
Author:
mkommend
Message:

removed ctors with contents in all views (ticket #972)

Location:
trunk/sources/HeuristicLab.Optimization.Views/3.3
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/AlgorithmView.cs

    r3548 r3566  
    4949    public AlgorithmView() {
    5050      InitializeComponent();
    51     }
    52     /// <summary>
    53     /// Intializes a new instance of <see cref="ItemBaseView"/> with the given <paramref name="item"/>.
    54     /// </summary>
    55     /// <param name="item">The item that should be displayed.</param>
    56     public AlgorithmView(IAlgorithm content)
    57       : this() {
    58       Content = content;
    5951    }
    6052
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/BatchRunView.cs

    r3526 r3566  
    4747    public BatchRunView() {
    4848      InitializeComponent();
    49     }
    50     /// <summary>
    51     /// Intializes a new instance of <see cref="ItemBaseView"/> with the given <paramref name="item"/>.
    52     /// </summary>
    53     /// <param name="item">The item that should be displayed.</param>
    54     public BatchRunView(BatchRun content)
    55       : this() {
    56       Content = content;
    5749    }
    5850
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/EngineAlgorithmView.cs

    r3557 r3566  
    4747    public EngineAlgorithmView() {
    4848      InitializeComponent();
    49     }
    50 
    51     /// <summary>
    52     /// Intializes a new instance of <see cref="ItemBaseView"/> with the given <paramref name="item"/>.
    53     /// </summary>
    54     /// <param name="item">The item that should be displayed.</param>
    55     public EngineAlgorithmView(EngineAlgorithm content)
    56       : this() {
    57       Content = content;
    5849    }
    5950
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/ExperimentView.cs

    r3455 r3566  
    4444    public ExperimentView() {
    4545      InitializeComponent();
    46     }
    47     /// <summary>
    48     /// Intializes a new instance of <see cref="ItemBaseView"/> with the given <paramref name="item"/>.
    49     /// </summary>
    50     /// <param name="item">The item that should be displayed.</param>
    51     public ExperimentView(Experiment content)
    52       : this() {
    53       Content = content;
    5446    }
    5547
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/OptimizerListView.cs

    r3407 r3566  
    4040      itemsGroupBox.Text = "Optimizers";
    4141    }
    42     /// <summary>
    43     /// Initializes a new instance of <see cref="VariablesScopeView"/> with
    44     /// the given <paramref name="scope"/>.
    45     /// </summary>
    46     /// <remarks>Calls <see cref="VariablesScopeView()"/>.</remarks>
    47     /// <param name="scope">The scope whose variables should be represented visually.</param>
    48     public OptimizerListView(IItemList<IOptimizer> content)
    49       : this() {
    50       Content = content;
    51     }
    5242
    5343    protected override IOptimizer CreateItem() {
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/ProblemView.cs

    r2917 r3566  
    4141      InitializeComponent();
    4242    }
    43     /// <summary>
    44     /// Intializes a new instance of <see cref="ItemBaseView"/> with the given <paramref name="item"/>.
    45     /// </summary>
    46     /// <param name="item">The item that should be displayed.</param>
    47     public ProblemView(IProblem content)
    48       : this() {
    49       Content = content;
    50     }
    5143
    5244    protected override void OnContentChanged() {
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/ResultCollectionView.cs

    r3407 r3566  
    4444      base.ReadOnly = true;
    4545    }
    46     /// <summary>
    47     /// Initializes a new instance of <see cref="VariablesScopeView"/> with
    48     /// the given <paramref name="scope"/>.
    49     /// </summary>
    50     /// <remarks>Calls <see cref="VariablesScopeView()"/>.</remarks>
    51     /// <param name="scope">The scope whose variables should be represented visually.</param>
    52     public ResultCollectionView(IKeyedItemCollection<string, IResult> content)
    53       : this() {
    54       Content = content;
    55     }
    5646
    5747    protected override IResult CreateItem() {
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/ResultView.cs

    r3455 r3566  
    5757      base.ReadOnly = true;
    5858    }
    59     /// <summary>
    60     /// Initializes a new instance of <see cref="VariableView"/> with the given <paramref name="variable"/>.
    61     /// </summary>
    62     /// <remarks>Calls <see cref="VariableView()"/>.</remarks>
    63     /// <param name="variable">The variable to represent visually.</param>
    64     public ResultView(IResult content)
    65       : this() {
    66       Content = content;
    67     }
    6859
    6960    /// <summary>
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionBubbleChartView.cs

    r3557 r3566  
    7474    }
    7575
    76     public RunCollectionBubbleChartView(RunCollection content)
    77       : this() {
    78       Content = content;
    79     }
    80 
    8176    public new RunCollection Content {
    8277      get { return (RunCollection)base.Content; }
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionTabularView.cs

    r3557 r3566  
    4242      this.dataGridView.RowHeaderMouseDoubleClick += new DataGridViewCellMouseEventHandler(dataGridView_RowHeaderMouseDoubleClick);
    4343      base.ReadOnly = true;
    44     }
    45 
    46     public RunCollectionTabularView(RunCollection content)
    47       : this() {
    48       Content = content;
    4944    }
    5045
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionView.cs

    r3557 r3566  
    5252    }
    5353
    54     public RunCollectionView(IItemCollection<IRun> content)
    55       : this() {
    56       Content = content;
    57     }
    58 
    5954    protected override void DeregisterContentEvents() {
    6055      Content.ItemsAdded -= new CollectionItemsChangedEventHandler<IRun>(Content_ItemsAdded);
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/RunView.cs

    r3557 r3566  
    5656      Caption = "Run";
    5757      base.ReadOnly = true;
    58     }
    59     /// <summary>
    60     /// Initializes a new instance of <see cref="VariableView"/> with the given <paramref name="variable"/>.
    61     /// </summary>
    62     /// <remarks>Calls <see cref="VariableView()"/>.</remarks>
    63     /// <param name="variable">The variable to represent visually.</param>
    64     public RunView(IRun content)
    65       : this() {
    66       Content = content;
    6758    }
    6859
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/UserDefinedAlgorithmView.cs

    r3515 r3566  
    4545    public UserDefinedAlgorithmView() {
    4646      InitializeComponent();
    47     }
    48     /// <summary>
    49     /// Intializes a new instance of <see cref="ItemBaseView"/> with the given <paramref name="item"/>.
    50     /// </summary>
    51     /// <param name="item">The item that should be displayed.</param>
    52     public UserDefinedAlgorithmView(UserDefinedAlgorithm content)
    53       : this() {
    54       Content = content;
    5547    }
    5648
Note: See TracChangeset for help on using the changeset viewer.