Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/03/12 11:22:21 (12 years ago)
Author:
gkronber
Message:

#1081: merged r7214:7266 from trunk into time series branch.

Location:
branches/HeuristicLab.TimeSeries
Files:
65 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.TimeSeries

  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/CheckedItemCollectionView.Designer.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/CheckedItemCollectionView.cs

    r6233 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/CheckedItemListView.Designer.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/CheckedItemListView.cs

    r7213 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/Clipboard.Designer.cs

    r5744 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/Clipboard.cs

    r6527 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/CreateParameterDialog.Designer.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/CreateParameterDialog.cs

    r5784 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/EngineView.Designer.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/EngineView.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/ItemArrayView.Designer.cs

    r5744 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/ItemArrayView.cs

    r7213 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/ItemCollectionView.Designer.cs

    r5744 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/ItemCollectionView.cs

    r6674 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/ItemListView.Designer.cs

    r5744 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/ItemListView.cs

    r7213 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/ItemSetView.Designer.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/ItemSetView.cs

    r5837 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/ItemView.Designer.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/ItemView.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/LogView.Designer.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/LogView.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/MovieView.Designer.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/MovieView.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/NamedItemCollectionView.Designer.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/NamedItemCollectionView.cs

    r5837 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    7777      return listViewItem;
    7878    }
     79    protected override void UpdateListViewItemText(ListViewItem listViewItem) {
     80      base.UpdateListViewItemText(listViewItem);
     81      T item = listViewItem.Tag as T;
     82      if ((item != null) && !string.IsNullOrEmpty(item.Description)) {
     83        listViewItem.ToolTipText = item.ItemName + ": " + item.Description;
     84      }
     85    }
    7986
    8087    #region ListView Events
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/NamedItemView.Designer.cs

    r5832 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/NamedItemView.cs

    r5833 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2626
    2727namespace HeuristicLab.Core.Views {
    28   /// <summary>
    29   /// The visual representation of a <see cref="Variable"/>.
    30   /// </summary>
    3128  [View("NamedItem View")]
    3229  [Content(typeof(NamedItem), false)]
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/OperatorCollectionView.Designer.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/OperatorCollectionView.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/OperatorGraphView.Designer.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/OperatorGraphView.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/OperatorListView.Designer.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/OperatorListView.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/OperatorSetView.Designer.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/OperatorSetView.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/OperatorTreeView.Designer.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/OperatorTreeView.cs

    r5837 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/OperatorsSidebar.Designer.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/OperatorsSidebar.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/ParameterCollectionView.Designer.cs

    r5768 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/ParameterCollectionView.cs

    r5929 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/ParameterizedNamedItemView.Designer.cs

    r5832 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/ParameterizedNamedItemView.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/Plugin.cs.frame

    r6866 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2626  /// Plugin class for HeuristicLab.Core.Views plugin.
    2727  /// </summary>
    28   [Plugin("HeuristicLab.Core.Views", "3.3.5.$WCREV$")]
     28  [Plugin("HeuristicLab.Core.Views", "3.3.6.$WCREV$")]
    2929  [PluginFile("HeuristicLab.Core.Views-3.3.dll", PluginFileType.Assembly)]
    3030  [PluginDependency("HeuristicLab.Collections", "3.3")]
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/Properties/AssemblyInfo.cs.frame

    r6866 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    3232[assembly: AssemblyCompany("")]
    3333[assembly: AssemblyProduct("HeuristicLab")]
    34 [assembly: AssemblyCopyright("(c) 2002-2011 HEAL")]
     34[assembly: AssemblyCopyright("(c) 2002-2012 HEAL")]
    3535[assembly: AssemblyTrademark("")]
    3636[assembly: AssemblyCulture("")]
     
    5454// by using the '*' as shown below:
    5555[assembly: AssemblyVersion("3.3.0.0")]
    56 [assembly: AssemblyFileVersion("3.3.5.$WCREV$")]
     56[assembly: AssemblyFileVersion("3.3.6.$WCREV$")]
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/ScopeListView.Designer.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/ScopeListView.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/ScopeView.Designer.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/ScopeView.cs

    r5837 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/TextDialog.Designer.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/TextDialog.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/TypeSelector.Designer.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/TypeSelector.cs

    r7213 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/TypeSelectorDialog.Designer.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/TypeSelectorDialog.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/ValueParameterCollectionView.Designer.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/ValueParameterCollectionView.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/VariableCollectionView.Designer.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/VariableCollectionView.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/VariableValueView.Designer.cs

    r5445 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    4545    /// </summary>
    4646    private void InitializeComponent() {
     47      this.components = new System.ComponentModel.Container();
    4748      this.viewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost();
     49      this.infoLabel = new System.Windows.Forms.Label();
     50      this.toolTip = new System.Windows.Forms.ToolTip(this.components);
    4851      this.SuspendLayout();
    4952      //
    5053      // viewHost
    5154      //
     55      this.viewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     56            | System.Windows.Forms.AnchorStyles.Left)
     57            | System.Windows.Forms.AnchorStyles.Right)));
    5258      this.viewHost.Caption = "View";
    5359      this.viewHost.Content = null;
    54       this.viewHost.Dock = System.Windows.Forms.DockStyle.Fill;
    5560      this.viewHost.Enabled = false;
    5661      this.viewHost.Location = new System.Drawing.Point(0, 0);
    5762      this.viewHost.Name = "viewHost";
    5863      this.viewHost.ReadOnly = false;
    59       this.viewHost.Size = new System.Drawing.Size(359, 274);
     64      this.viewHost.Size = new System.Drawing.Size(334, 274);
    6065      this.viewHost.TabIndex = 0;
     66      this.viewHost.ViewsLabelVisible = true;
    6167      this.viewHost.ViewType = null;
     68      //
     69      // infoLabel
     70      //
     71      this.infoLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     72      this.infoLabel.Image = HeuristicLab.Common.Resources.VSImageLibrary.Information;
     73      this.infoLabel.Location = new System.Drawing.Point(340, 3);
     74      this.infoLabel.Name = "infoLabel";
     75      this.infoLabel.Size = new System.Drawing.Size(16, 16);
     76      this.infoLabel.TabIndex = 1;
     77      this.toolTip.SetToolTip(this.infoLabel, "Double-click to open description editor.");
     78      this.infoLabel.DoubleClick += new System.EventHandler(this.infoLabel_DoubleClick);
    6279      //
    6380      // VariableValueView
    6481      //
     82      this.AllowDrop = true;
    6583      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    6684      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    67       this.AllowDrop = true;
     85      this.Controls.Add(this.infoLabel);
    6886      this.Controls.Add(this.viewHost);
    6987      this.Name = "VariableValueView";
     
    7997
    8098    protected MainForm.WindowsForms.ViewHost viewHost;
     99    private System.Windows.Forms.Label infoLabel;
     100    private System.Windows.Forms.ToolTip toolTip;
    81101
    82102  }
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/VariableValueView.cs

    r5837 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2525
    2626namespace HeuristicLab.Core.Views {
    27   /// <summary>
    28   /// The visual representation of a <see cref="Variable"/>.
    29   /// </summary>
    3027  [View("Variable Value View")]
    3128  [Content(typeof(Variable), false)]
    3229  [Content(typeof(IVariable), false)]
    3330  public partial class VariableValueView : ItemView {
    34     /// <summary>
    35     /// Gets or sets the variable to represent visually.
    36     /// </summary>
    37     /// <remarks>Uses property <see cref="ViewBase.Item"/> of base class <see cref="ViewBase"/>.
    38     /// No own data storage present.</remarks>
     31    private const string infoLabelToolTipSuffix = "Double-click to open description editor.";
     32
    3933    public new IVariable Content {
    4034      get { return (IVariable)base.Content; }
     
    4236    }
    4337
    44     /// <summary>
    45     /// Initializes a new instance of <see cref="VariableView"/> with caption "Variable".
    46     /// </summary>
    4738    public VariableValueView() {
    4839      InitializeComponent();
    4940    }
    5041
    51     /// <summary>
    52     /// Removes the eventhandlers from the underlying <see cref="Variable"/>.
    53     /// </summary>
    54     /// <remarks>Calls <see cref="ViewBase.RemoveItemEvents"/> of base class <see cref="ViewBase"/>.</remarks>
    5542    protected override void DeregisterContentEvents() {
     43      Content.NameChanged -= new EventHandler(Content_NameChanged);
     44      Content.DescriptionChanged -= new EventHandler(Content_DescriptionChanged);
    5645      Content.ValueChanged -= new EventHandler(Content_ValueChanged);
    5746      base.DeregisterContentEvents();
    5847    }
    59 
    60     /// <summary>
    61     /// Adds eventhandlers to the underlying <see cref="Variable"/>.
    62     /// </summary>
    63     /// <remarks>Calls <see cref="ViewBase.AddItemEvents"/> of base class <see cref="ViewBase"/>.</remarks>
    6448    protected override void RegisterContentEvents() {
    6549      base.RegisterContentEvents();
     50      Content.NameChanged += new EventHandler(Content_NameChanged);
     51      Content.DescriptionChanged += new EventHandler(Content_DescriptionChanged);
    6652      Content.ValueChanged += new EventHandler(Content_ValueChanged);
    6753    }
     
    7157      if (Content == null) {
    7258        viewHost.Content = null;
     59        toolTip.SetToolTip(infoLabel, string.Empty);
     60        if (ViewAttribute.HasViewAttribute(this.GetType()))
     61          this.Caption = ViewAttribute.GetViewName(this.GetType());
     62        else
     63          this.Caption = "VariableValue View";
    7364      } else {
    7465        viewHost.ViewType = null;
    7566        viewHost.Content = Content.Value;
     67        toolTip.SetToolTip(infoLabel, string.IsNullOrEmpty(Content.Description) ? infoLabelToolTipSuffix : Content.Description + Environment.NewLine + Environment.NewLine + infoLabelToolTipSuffix);
     68        Caption = Content.Name;
    7669      }
    7770    }
    7871
     72    protected override void SetEnabledStateOfControls() {
     73      base.SetEnabledStateOfControls();
     74      viewHost.Enabled = Content != null;
     75      viewHost.ReadOnly = this.ReadOnly;
     76      infoLabel.Enabled = Content != null;
     77    }
     78
     79    protected virtual void Content_NameChanged(object sender, EventArgs e) {
     80      if (InvokeRequired)
     81        Invoke(new EventHandler(Content_NameChanged), sender, e);
     82      else
     83        Caption = Content.Name;
     84    }
     85    protected virtual void Content_DescriptionChanged(object sender, EventArgs e) {
     86      if (InvokeRequired)
     87        Invoke(new EventHandler(Content_DescriptionChanged), sender, e);
     88      else
     89        toolTip.SetToolTip(infoLabel, string.IsNullOrEmpty(Content.Description) ? infoLabelToolTipSuffix : Content.Description + Environment.NewLine + Environment.NewLine + infoLabelToolTipSuffix);
     90    }
    7991    protected virtual void Content_ValueChanged(object sender, EventArgs e) {
    8092      if (InvokeRequired)
     
    103115      }
    104116    }
     117    protected virtual void infoLabel_DoubleClick(object sender, EventArgs e) {
     118      using (TextDialog dialog = new TextDialog("Description of " + Content.Name, Content.Description, ReadOnly || !Content.CanChangeDescription)) {
     119        if (dialog.ShowDialog(this) == DialogResult.OK)
     120          Content.Description = dialog.Content;
     121      }
     122    }
    105123  }
    106124}
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/VariableView.Designer.cs

    r5832 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Core.Views/3.3/VariableView.cs

    r5837 r7268  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
Note: See TracChangeset for help on using the changeset viewer.