Free cookie consent management tool by TermsFeed Policy Generator

Changeset 3441


Ignore:
Timestamp:
04/20/10 15:40:58 (15 years ago)
Author:
mkommend
Message:

corrected selection rectangle in RunCollectionBubbleChartView and removed filtering of datatypes in IStringConvertibleMatrix implementation of RunCollection (ticket #970)

Location:
trunk/sources
Files:
2 edited

Legend:

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

    r3432 r3441  
    8181      set { base.Content = value; }
    8282    }
    83     public override bool ReadOnly {
    84       get { return base.ReadOnly; }
    85       set { /*not needed because results are always readonly */}
    86     }
    8783
    8884    protected override void RegisterContentEvents() {
     
    291287        HitTestResult h = this.chart.HitTest(e.X, e.Y);
    292288        if (this.draggedRun != null && h.ChartElementType != ChartElementType.DataPoint) {
    293           //this.isDragOperationInProgress = true;
     289          this.isDragOperationInProgress = true;
    294290          DataObject data = new DataObject();
    295291          data.SetData("Type", draggedRun.GetType());
  • trunk/sources/HeuristicLab.Optimization/3.3/RunCollection.cs

    r3431 r3441  
    9090      if (value == null)
    9191        return false;
    92       if (!parameterNames.Contains(name) &&
    93           viewableDataTypes.Any(x => x.IsAssignableFrom(value.GetType()))) {
     92      if (!parameterNames.Contains(name)) {
     93        // && viewableDataTypes.Any(x => x.IsAssignableFrom(value.GetType()))) {
    9494        parameterNames.Add(name);
    9595        return true;
     
    100100      if (value == null)
    101101        return false;
    102       if (!resultNames.Contains(name) &&
    103           viewableDataTypes.Any(x => x.IsAssignableFrom(value.GetType()))) {
     102      if (!resultNames.Contains(name)) {
     103        // && viewableDataTypes.Any(x => x.IsAssignableFrom(value.GetType()))) {
    104104        resultNames.Add(name);
    105105        return true;
Note: See TracChangeset for help on using the changeset viewer.