Free cookie consent management tool by TermsFeed Policy Generator

Changeset 3566


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
Files:
69 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Analysis.Views/3.3/DataTableView.cs

    r3561 r3566  
    5353      valuesRowsTable = new Dictionary<IObservableList<double>, DataRow>();
    5454    }
    55     /// <summary>
    56     /// Initializes a new instance of <see cref="VariableView"/> with the given <paramref name="variable"/>.
    57     /// </summary>
    58     /// <remarks>Calls <see cref="VariableView()"/>.</remarks>
    59     /// <param name="variable">The variable to represent visually.</param>
    60     public DataTableView(DataTable content)
    61       : this() {
    62       Content = content;
    63     }
    6455
    6556    /// <summary>
  • trunk/sources/HeuristicLab.Core.Views/3.3/CheckedItemCollectionView.cs

    r3564 r3566  
    4848      Caption = "Checked Item Collection";
    4949    }
    50     public CheckedItemCollectionView(ICheckedItemCollection<T> content)
    51       : this() {
    52       Content = content;
    53     }
    5450
    5551    protected override void DeregisterContentEvents() {
  • trunk/sources/HeuristicLab.Core.Views/3.3/CheckedItemListView.cs

    r3565 r3566  
    5959      Caption = "Checked Item List";
    6060    }
    61     public CheckedItemListView(ICheckedItemList<T> content)
    62       : this() {
    63       Content = content;
    64     }
    6561
    6662    /// <summary>
  • trunk/sources/HeuristicLab.Core.Views/3.3/EngineView.cs

    r3455 r3566  
    4545    public EngineView() {
    4646      InitializeComponent();
    47     }
    48     public EngineView(IEngine content)
    49       : this() {
    50       Content = content;
    5147    }
    5248
  • trunk/sources/HeuristicLab.Core.Views/3.3/HeuristicLab.Core.Views-3.3.csproj

    r3565 r3566  
    309309    </ProjectReference>
    310310  </ItemGroup>
    311   <ItemGroup>
    312     <EmbeddedResource Include="CheckedItemListView.resx">
    313       <DependentUpon>CheckedItemListView.cs</DependentUpon>
    314     </EmbeddedResource>
    315   </ItemGroup>
    316311  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    317312  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  • trunk/sources/HeuristicLab.Core.Views/3.3/ItemArrayView.cs

    r3557 r3566  
    5858      InitializeComponent();
    5959      Caption = "Item Array";
    60     }
    61     public ItemArrayView(IItemArray<T> content)
    62       : this() {
    63       Content = content;
    6460    }
    6561
  • trunk/sources/HeuristicLab.Core.Views/3.3/ItemCollectionView.cs

    r3557 r3566  
    4848      Caption = "Item Collection";
    4949    }
    50     public ItemCollectionView(IItemCollection<T> content)
    51       : this() {
    52       Content = content;
    53     }
    5450
    5551    protected override void DeregisterContentEvents() {
  • trunk/sources/HeuristicLab.Core.Views/3.3/ItemListView.cs

    r3557 r3566  
    5959      Caption = "Item List";
    6060    }
    61     public ItemListView(IItemList<T> content)
    62       : this() {
    63       Content = content;
    64     }
    6561
    6662    /// <summary>
  • trunk/sources/HeuristicLab.Core.Views/3.3/ItemSetView.cs

    r3393 r3566  
    4545      Caption = "Item Set";
    4646    }
    47     public ItemSetView(IItemSet<T> content)
    48       : this() {
    49       Content = content;
    50     }
    5147
    5248    protected override void OnContentChanged() {
  • trunk/sources/HeuristicLab.Core.Views/3.3/ItemView.cs

    r3362 r3566  
    4242      Caption = "View";
    4343    }
    44     public ItemView(IItem content)
    45       : this() {
    46       Content = content;
    47     }
    4844
    4945    protected override void OnContentChanged() {
  • trunk/sources/HeuristicLab.Core.Views/3.3/LogView.cs

    r3289 r3566  
    4848      InitializeComponent();
    4949      Caption = "LogView";
    50     }
    51     public LogView(ILog content)
    52       : this() {
    53       Content = content;
    5450    }
    5551
  • trunk/sources/HeuristicLab.Core.Views/3.3/NamedItemCollectionView.cs

    r3561 r3566  
    4343      InitializeComponent();
    4444      Caption = "Named Item Collection";
    45     }
    46     public NamedItemCollectionView(IKeyedItemCollection<string, T> content)
    47       : this() {
    48       Content = content;
    4945    }
    5046
  • trunk/sources/HeuristicLab.Core.Views/3.3/NamedItemView.cs

    r3454 r3566  
    4444      errorProvider.SetIconAlignment(nameTextBox, ErrorIconAlignment.MiddleLeft);
    4545      errorProvider.SetIconPadding(nameTextBox, 2);
    46     }
    47     public NamedItemView(INamedItem content)
    48       : this() {
    49       Content = content;
    5046    }
    5147
  • trunk/sources/HeuristicLab.Core.Views/3.3/OperatorCollectionView.cs

    r3407 r3566  
    3838      itemsGroupBox.Text = "Operators";
    3939    }
    40     /// <summary>
    41     /// Initializes a new instance of <see cref="VariablesScopeView"/> with
    42     /// the given <paramref name="scope"/>.
    43     /// </summary>
    44     /// <remarks>Calls <see cref="VariablesScopeView()"/>.</remarks>
    45     /// <param name="scope">The scope whose variables should be represented visually.</param>
    46     public OperatorCollectionView(IItemCollection<IOperator> content)
    47       : this() {
    48       Content = content;
    49     }
    5040
    5141    protected override IOperator CreateItem() {
  • trunk/sources/HeuristicLab.Core.Views/3.3/OperatorGraphView.cs

    r3455 r3566  
    4949      InitializeComponent();
    5050      Caption = "Operator Graph";
    51     }
    52     /// <summary>
    53     /// Initializes a new instance of <see cref="OperatorGraphView"/>
    54     /// with the given <paramref name="operatorGraph"/>.
    55     /// </summary>
    56     /// <remarks>Calls <see cref="OperatorGraphView()"/>.</remarks>
    57     /// <param name="operatorGraph">The operator graph to represent visually.</param>
    58     public OperatorGraphView(OperatorGraph content)
    59       : this() {
    60       Content = content;
    6151    }
    6252
  • trunk/sources/HeuristicLab.Core.Views/3.3/OperatorListView.cs

    r3407 r3566  
    3838      itemsGroupBox.Text = "Operators";
    3939    }
    40     /// <summary>
    41     /// Initializes a new instance of <see cref="VariablesScopeView"/> with
    42     /// the given <paramref name="scope"/>.
    43     /// </summary>
    44     /// <remarks>Calls <see cref="VariablesScopeView()"/>.</remarks>
    45     /// <param name="scope">The scope whose variables should be represented visually.</param>
    46     public OperatorListView(IItemList<IOperator> content)
    47       : this() {
    48       Content = content;
    49     }
    5040
    5141    protected override IOperator CreateItem() {
  • trunk/sources/HeuristicLab.Core.Views/3.3/OperatorSetView.cs

    r3407 r3566  
    3838      itemsGroupBox.Text = "Operators";
    3939    }
    40     /// <summary>
    41     /// Initializes a new instance of <see cref="VariablesScopeView"/> with
    42     /// the given <paramref name="scope"/>.
    43     /// </summary>
    44     /// <remarks>Calls <see cref="VariablesScopeView()"/>.</remarks>
    45     /// <param name="scope">The scope whose variables should be represented visually.</param>
    46     public OperatorSetView(IItemSet<IOperator> content)
    47       : this() {
    48       Content = content;
    49     }
    5040
    5141    protected override IOperator CreateItem() {
  • trunk/sources/HeuristicLab.Core.Views/3.3/OperatorTreeView.cs

    r3557 r3566  
    7272      Caption = "Operator";
    7373    }
    74     /// <summary>
    75     /// Initializes a new instance of <see cref="OperatorGraphView"/>
    76     /// with the given <paramref name="operatorGraph"/>.
    77     /// </summary>
    78     /// <remarks>Calls <see cref="OperatorGraphView()"/>.</remarks>
    79     /// <param name="operatorGraph">The operator graph to represent visually.</param>
    80     public OperatorTreeView(IOperator content)
    81       : this() {
    82       Content = content;
    83     }
    8474
    8575    /// <summary>
  • trunk/sources/HeuristicLab.Core.Views/3.3/ParameterCollectionView.cs

    r3407 r3566  
    3939      itemsGroupBox.Text = "Parameters";
    4040    }
    41     /// <summary>
    42     /// Initializes a new instance of <see cref="VariablesScopeView"/> with
    43     /// the given <paramref name="scope"/>.
    44     /// </summary>
    45     /// <remarks>Calls <see cref="VariablesScopeView()"/>.</remarks>
    46     /// <param name="scope">The scope whose variables should be represented visually.</param>
    47     public ParameterCollectionView(IKeyedItemCollection<string, IParameter> content)
    48       : this() {
    49       Content = content;
    50     }
    5141
    5242    protected override IParameter CreateItem() {
  • trunk/sources/HeuristicLab.Core.Views/3.3/ParameterizedNamedItemView.cs

    r3455 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 ParameterizedNamedItemView(IParameterizedNamedItem content)
    48       : this() {
    49       Content = content;
    50     }
    5143
    5244    protected override void OnContentChanged() {
  • trunk/sources/HeuristicLab.Core.Views/3.3/ScopeListView.cs

    r3393 r3566  
    1515      itemsGroupBox.Text = "Scopes";
    1616    }
    17     /// <summary>
    18     /// Initializes a new instance of <see cref="VariablesScopeView"/> with
    19     /// the given <paramref name="scope"/>.
    20     /// </summary>
    21     /// <remarks>Calls <see cref="VariablesScopeView()"/>.</remarks>
    22     /// <param name="scope">The scope whose variables should be represented visually.</param>
    23     public ScopeListView(IItemList<IScope> content)
    24       : this() {
    25       Content = content;
    26     }
    2717  }
    2818}
  • trunk/sources/HeuristicLab.Core.Views/3.3/ScopeView.cs

    r3561 r3566  
    5656      scopeNodeTable = new Dictionary<IScope, TreeNode>();
    5757      subScopesScopeTable = new Dictionary<ScopeList, IScope>();
    58 
    59     }
    60     /// <summary>
    61     /// Initializes a new instance of <see cref="ScopeView"/> with the given <paramref name="scope"/>.
    62     /// </summary>
    63     /// <remarks>Calls <see cref="ScopeView()"/>.</remarks>
    64     /// <param name="scope">The scope to represent visually.</param>
    65     public ScopeView(IScope content)
    66       : this() {
    67       Content = content;
    6858    }
    6959
  • trunk/sources/HeuristicLab.Core.Views/3.3/ValueParameterCollectionView.cs

    r3407 r3566  
    3939      itemsGroupBox.Text = "Parameters";
    4040    }
    41     /// <summary>
    42     /// Initializes a new instance of <see cref="VariablesScopeView"/> with
    43     /// the given <paramref name="scope"/>.
    44     /// </summary>
    45     /// <remarks>Calls <see cref="VariablesScopeView()"/>.</remarks>
    46     /// <param name="scope">The scope whose variables should be represented visually.</param>
    47     public ValueParameterCollectionView(IKeyedItemCollection<string, IValueParameter> content)
    48       : this() {
    49       Content = content;
    50     }
    5141
    5242    protected override IValueParameter CreateItem() {
  • trunk/sources/HeuristicLab.Core.Views/3.3/VariableCollectionView.cs

    r3393 r3566  
    1515      itemsGroupBox.Text = "Variables";
    1616    }
    17     /// <summary>
    18     /// Initializes a new instance of <see cref="VariablesScopeView"/> with
    19     /// the given <paramref name="scope"/>.
    20     /// </summary>
    21     /// <remarks>Calls <see cref="VariablesScopeView()"/>.</remarks>
    22     /// <param name="scope">The scope whose variables should be represented visually.</param>
    23     public VariableCollectionView(IKeyedItemCollection<string, IVariable> content)
    24       : this() {
    25       Content = content;
    26     }
    2717
    2818    protected override IVariable CreateItem() {
  • trunk/sources/HeuristicLab.Core.Views/3.3/VariableValueView.cs

    r3526 r3566  
    4949      InitializeComponent();
    5050      Caption = "Variable";
    51     }
    52     /// <summary>
    53     /// Initializes a new instance of <see cref="VariableView"/> with the given <paramref name="variable"/>.
    54     /// </summary>
    55     /// <remarks>Calls <see cref="VariableView()"/>.</remarks>
    56     /// <param name="variable">The variable to represent visually.</param>
    57     public VariableValueView(IVariable content)
    58       : this() {
    59       Content = content;
    6051    }
    6152
  • trunk/sources/HeuristicLab.Core.Views/3.3/VariableView.cs

    r3526 r3566  
    5151      InitializeComponent();
    5252      Caption = "Variable";
    53     }
    54     /// <summary>
    55     /// Initializes a new instance of <see cref="VariableView"/> with the given <paramref name="variable"/>.
    56     /// </summary>
    57     /// <remarks>Calls <see cref="VariableView()"/>.</remarks>
    58     /// <param name="variable">The variable to represent visually.</param>
    59     public VariableView(IVariable content)
    60       : this() {
    61       Content = content;
    6253    }
    6354
  • trunk/sources/HeuristicLab.Data.Views/3.3/BoolValueView.cs

    r3430 r3566  
    4646      Caption = "BoolValue View";
    4747    }
    48     public BoolValueView(BoolValue content)
    49       : this() {
    50       Content = content;
    51     }
    5248
    5349    protected override void DeregisterContentEvents() {
     
    5551      base.DeregisterContentEvents();
    5652    }
    57 
    5853    protected override void RegisterContentEvents() {
    5954      base.RegisterContentEvents();
  • trunk/sources/HeuristicLab.Data.Views/3.3/ComparisonView.cs

    r3430 r3566  
    4747      valueComboBox.DataSource = Enum.GetValues(typeof(ComparisonType));
    4848    }
    49     public ComparisonView(Comparison content)
    50       : this() {
    51       Content = content;
    52     }
    5349
    5450    protected override void DeregisterContentEvents() {
  • trunk/sources/HeuristicLab.Data.Views/3.3/StringConvertibleArrayView.cs

    r3454 r3566  
    5050      errorProvider.SetIconAlignment(lengthTextBox, ErrorIconAlignment.MiddleLeft);
    5151      errorProvider.SetIconPadding(lengthTextBox, 2);
    52     }
    53     public StringConvertibleArrayView(IStringConvertibleArray content)
    54       : this() {
    55       Content = content;
    5652    }
    5753
  • trunk/sources/HeuristicLab.Data.Views/3.3/StringConvertibleMatrixView.cs

    r3546 r3566  
    6060      sortedColumnIndizes = new List<KeyValuePair<int, SortOrder>>();
    6161      rowComparer = new RowComparer();
    62     }
    63     public StringConvertibleMatrixView(IStringConvertibleMatrix content)
    64       : this() {
    65       Content = content;
    6662    }
    6763
  • trunk/sources/HeuristicLab.Data.Views/3.3/StringConvertibleValueView.cs

    r3454 r3566  
    4848      errorProvider.SetIconAlignment(valueTextBox, ErrorIconAlignment.MiddleLeft);
    4949      errorProvider.SetIconPadding(valueTextBox, 2);
    50     }
    51     public StringConvertibleValueView(IStringConvertibleValue content)
    52       : this() {
    53       Content = content;
    5450    }
    5551
  • trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.3/GraphicalSymbolicExpressionTreeView.cs

    r3454 r3566  
    4848    }
    4949
    50     public GraphicalSymbolicExpressionTreeView(SymbolicExpressionTree content)
    51       : this() {
    52       Content = content;
    53     }
    54 
    5550    protected override void OnContentChanged() {
    5651      base.OnContentChanged();
  • trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.3/SymbolicExpressionView.cs

    r3454 r3566  
    2323      Caption = "SymbolicExpression View";
    2424    }
    25 
    26     public SymbolicExpressionView(SymbolicExpressionTree content)
    27       : this() {
    28       Content = content;
    29     }
    30 
    3125
    3226    protected override void OnContentChanged() {
  • trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/AsynchronousContentView.cs

    r3437 r3566  
    1414    public AsynchronousContentView() {
    1515      InitializeComponent();
    16     }
    17 
    18     public AsynchronousContentView(IContent content)
    19       : this() {
    20       this.Content = content;
    2116    }
    2217
  • trunk/sources/HeuristicLab.MainForm.WindowsForms/3.3/ContentView.cs

    r3557 r3566  
    3333namespace HeuristicLab.MainForm.WindowsForms {
    3434  public partial class ContentView : View, IContentView {
     35    public ContentView()
     36      : base() {
     37      InitializeComponent();
     38      this.locked = false;
     39    }
     40
    3541    private IContent content;
    3642    public IContent Content {
     
    5157        }
    5258      }
    53     }
    54 
    55     public ContentView()
    56       : base() {
    57       InitializeComponent();
    58       this.locked = false;
    5959    }
    6060
  • trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/General/GraphVisualizationInfoView.cs

    r3514 r3566  
    5555    }
    5656
    57     public GraphVisualizationInfoView(IGraphVisualizationInfo content)
    58       : this() {
    59       this.Content = content;
    60     }
    61 
    6257    public IController Controller {
    6358      get { return this.graphVisualization.Controller; }
  • trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/OperatorGraphVisualization/OperatorGraphView.cs

    r3557 r3566  
    5151        tool.OnToolDeactivate += new EventHandler<ToolEventArgs>(tool_OnToolDeactivate);
    5252      }
    53     }
    54 
    55     public OperatorGraphView(OperatorGraph content)
    56       : this() {
    57       this.Content = content;
    5853    }
    5954
  • trunk/sources/HeuristicLab.Operators.Views/3.3/AlgorithmOperatorView.cs

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

    r3455 r3566  
    4343    public MultiOperatorView() {
    4444      InitializeComponent();
    45     }
    46     /// <summary>
    47     /// Intializes a new instance of <see cref="ItemBaseView"/> with the given <paramref name="item"/>.
    48     /// </summary>
    49     /// <param name="item">The item that should be displayed.</param>
    50     public MultiOperatorView(MultiOperator<T> content)
    51       : this() {
    52       Content = content;
    5345    }
    5446
  • trunk/sources/HeuristicLab.Operators.Views/3.3/OperatorView.cs

    r3454 r3566  
    4444    public OperatorView() {
    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 OperatorView(IOperator content)
    52       : this() {
    53       Content = content;
    5446    }
    5547
  • trunk/sources/HeuristicLab.Operators.Views/3.3/ValuesCollectorView.cs

    r3455 r3566  
    4343    public ValuesCollectorView() {
    4444      InitializeComponent();
    45     }
    46     /// <summary>
    47     /// Intializes a new instance of <see cref="ItemBaseView"/> with the given <paramref name="item"/>.
    48     /// </summary>
    49     /// <param name="item">The item that should be displayed.</param>
    50     public ValuesCollectorView(ValuesCollector content)
    51       : this() {
    52       Content = content;
    5345    }
    5446
  • 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
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/ConstrainedValueParameterView.cs

    r3455 r3566  
    5555      Caption = "ConstrainedValueParameter";
    5656      valueComboBoxItems = new List<T>();
    57     }
    58     /// <summary>
    59     /// Initializes a new instance of <see cref="VariableView"/> with the given <paramref name="variable"/>.
    60     /// </summary>
    61     /// <remarks>Calls <see cref="VariableView()"/>.</remarks>
    62     /// <param name="variable">The variable to represent visually.</param>
    63     public ConstrainedValueParameterView(OptionalConstrainedValueParameter<T> content)
    64       : this() {
    65       Content = content;
    6657    }
    6758
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/LookupParameterView.cs

    r3376 r3566  
    5050      InitializeComponent();
    5151      Caption = "LookupParameter";
    52     }
    53     /// <summary>
    54     /// Initializes a new instance of <see cref="VariableView"/> with the given <paramref name="variable"/>.
    55     /// </summary>
    56     /// <remarks>Calls <see cref="VariableView()"/>.</remarks>
    57     /// <param name="variable">The variable to represent visually.</param>
    58     public LookupParameterView(ILookupParameter<T> content)
    59       : this() {
    60       Content = content;
    6152    }
    6253
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/ParameterView.cs

    r3365 r3566  
    5050      Caption = "Parameter";
    5151    }
    52     /// <summary>
    53     /// Initializes a new instance of <see cref="VariableView"/> with the given <paramref name="variable"/>.
    54     /// </summary>
    55     /// <remarks>Calls <see cref="VariableView()"/>.</remarks>
    56     /// <param name="variable">The variable to represent visually.</param>
    57     public ParameterView(IParameter content)
    58       : this() {
    59       Content = content;
    60     }
    6152
    6253    protected override void OnContentChanged() {
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/ValueLookupParameterView.cs

    r3526 r3566  
    5353      InitializeComponent();
    5454      Caption = "ValueLookupParameter";
    55     }
    56     /// <summary>
    57     /// Initializes a new instance of <see cref="VariableView"/> with the given <paramref name="variable"/>.
    58     /// </summary>
    59     /// <remarks>Calls <see cref="VariableView()"/>.</remarks>
    60     /// <param name="variable">The variable to represent visually.</param>
    61     public ValueLookupParameterView(IValueLookupParameter<T> content)
    62       : this() {
    63       Content = content;
    6455    }
    6556
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/ValueParameterView.cs

    r3526 r3566  
    5454      InitializeComponent();
    5555      Caption = "ValueParameter";
    56     }
    57     /// <summary>
    58     /// Initializes a new instance of <see cref="VariableView"/> with the given <paramref name="variable"/>.
    59     /// </summary>
    60     /// <remarks>Calls <see cref="VariableView()"/>.</remarks>
    61     /// <param name="variable">The variable to represent visually.</param>
    62     public ValueParameterView(IValueParameter<T> content)
    63       : this() {
    64       Content = content;
    6556    }
    6657
  • trunk/sources/HeuristicLab.Problems.ArtificialAnt.Views/3.3/AntTrailView.cs

    r3460 r3566  
    4040    public AntTrailView() {
    4141      InitializeComponent();
    42     }
    43 
    44     public AntTrailView(AntTrail content)
    45       : this() {
    46       Content = content;
    4742    }
    4843
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.3/DataAnalysisProblemDataView.cs

    r3545 r3566  
    2626    }
    2727
    28     public DataAnalysisProblemDataView(DataAnalysisProblemData content)
    29       : this() {
    30       Content = content;
    31     }
    32 
    3328    private void importButton_Click(object sender, EventArgs e) {
    3429      if (openFileDialog == null) openFileDialog = new OpenFileDialog();
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.3/EstimatedValuesView.cs

    r3462 r3566  
    6060    }
    6161
    62     public EstimatedValuesView(DataAnalysisSolution dataAnalysisSolution)
    63       : this() {
    64       Content = dataAnalysisSolution;
    65     }
    66 
    6762    #region events
    6863    protected override void RegisterContentEvents() {
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.3/LineChartView.cs

    r3462 r3566  
    6060      this.chart.ChartAreas[0].AxisY.ScaleView.Zoomable = true;
    6161      this.chart.ChartAreas[0].CursorY.Interval = 0;
    62     }
    63 
    64     public LineChartView(DataAnalysisSolution dataAnalysisSolution)
    65       : this() {
    66       Content = dataAnalysisSolution;
    67       RedrawChart();
    6862    }
    6963
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.3/ScatterPlotView.cs

    r3480 r3566  
    8181    }
    8282
    83     public ScatterPlotView(DataAnalysisSolution dataAnalysisSolution)
    84       : this() {
    85       Content = dataAnalysisSolution;
    86       UpdateChart();
    87     }
    88 
    8983    protected override void RegisterContentEvents() {
    9084      base.RegisterContentEvents();
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.3/Symbolic/SimplifiedSymbolicExpressionModelView.cs

    r3462 r3566  
    5353    }
    5454
    55     public SimplifiedSymbolicExpressionModelView(SymbolicRegressionSolution content)
    56       : this() {
    57       Content = content;
    58     }
    59 
    6055    protected override void RegisterContentEvents() {
    6156      base.RegisterContentEvents();
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.3/Symbolic/SymbolicExpressionModelView.cs

    r3469 r3566  
    5252    }
    5353
    54     public SymbolicExpressionModelView(SymbolicRegressionSolution content)
    55       : this() {
    56       Content = content;
    57     }
    58 
    59 
    6054    protected override void RegisterContentEvents() {
    6155      base.RegisterContentEvents();
  • trunk/sources/HeuristicLab.Problems.Knapsack.Views/3.3/KnapsackSolutionView.cs

    r3540 r3566  
    4545    }
    4646
    47     public KnapsackSolutionView(KnapsackSolution content)
    48       : this() {
    49       Content = content;
    50     }
    51 
    5247    protected override void DeregisterContentEvents() {
    5348      Content.BinaryVectorChanged -= new EventHandler(Content_BinaryVectorChanged);
  • trunk/sources/HeuristicLab.Problems.TravelingSalesman.Views/3.3/PathTSPTourView.cs

    r3502 r3566  
    4545    public PathTSPTourView() {
    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 PathTSPTourView(PathTSPTour content)
    53       : this() {
    54       Content = content;
    5547    }
    5648
  • trunk/sources/HeuristicLab.Problems.TravelingSalesman.Views/3.3/TravelingSalesmanProblemView.cs

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