Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/23/12 10:07:48 (11 years ago)
Author:
sforsten
Message:

#1292:

  • removed combo box in TimeframeCorrelationView and added a textbox instead
  • caches are directly in (Timeframe-)FeatureCorrelationView
  • caches use Tuple<> instead of nested dictionaries
  • a control EnhancedStringConvertibleMatrix inherits from StringConvertibleMatrixView to reduce code duplication
  • add interface IDependencyCalculator to several calculators
  • fixed bug: a previous started calculation is cancelled, if a new calculation shall be started and the values are already in the cache
  • fixed bug: if the content is changed, the calculation is cancelled

HeatMap is still used for the dependency representation, because a class is needed which implements IStringConvertibleMatrix and it has a maximum and minimum value.

Location:
trunk/sources/HeuristicLab.Data.Views/3.3
Files:
6 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Data.Views/3.3/HeuristicLab.Data.Views-3.3.csproj

    r8600 r8833  
    128128    </Compile>
    129129    <Compile Include="Plugin.cs" />
     130    <Compile Include="StringConvertibleMatrixColumnVisibilityDialog.cs">
     131      <SubType>Form</SubType>
     132    </Compile>
     133    <Compile Include="StringConvertibleMatrixColumnVisibilityDialog.Designer.cs">
     134      <DependentUpon>StringConvertibleMatrixColumnVisibilityDialog.cs</DependentUpon>
     135    </Compile>
     136    <Compile Include="StringConvertibleMatrixRowVisibilityDialog.cs">
     137      <SubType>Form</SubType>
     138    </Compile>
     139    <Compile Include="StringConvertibleMatrixRowVisibilityDialog.Designer.cs">
     140      <DependentUpon>StringConvertibleMatrixRowVisibilityDialog.cs</DependentUpon>
     141    </Compile>
    130142    <Compile Include="StringConvertibleValueTupleView.cs">
    131143      <SubType>UserControl</SubType>
     
    141153      <DependentUpon>BoolValueView.cs</DependentUpon>
    142154    </Compile>
    143     <Compile Include="ColumnsVisibilityDialog.cs">
     155    <Compile Include="StringConvertibleMatrixVisibilityDialog.cs">
    144156      <SubType>Form</SubType>
    145157    </Compile>
    146     <Compile Include="ColumnsVisibilityDialog.Designer.cs">
    147       <DependentUpon>ColumnsVisibilityDialog.cs</DependentUpon>
     158    <Compile Include="StringConvertibleMatrixVisibilityDialog.Designer.cs">
     159      <DependentUpon>StringConvertibleMatrixVisibilityDialog.cs</DependentUpon>
    148160    </Compile>
    149161    <Compile Include="ComparisonView.cs">
     
    240252  -->
    241253  <PropertyGroup>
    242    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
     254    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    243255set ProjectDir=$(ProjectDir)
    244256set SolutionDir=$(SolutionDir)
     
    247259call PreBuildEvent.cmd
    248260</PreBuildEvent>
    249 <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
     261    <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
    250262export ProjectDir=$(ProjectDir)
    251263export SolutionDir=$(SolutionDir)
  • trunk/sources/HeuristicLab.Data.Views/3.3/StringConvertibleMatrixView.cs

    r8139 r8833  
    3535  [Content(typeof(IStringConvertibleMatrix), true)]
    3636  public partial class StringConvertibleMatrixView : AsynchronousContentView {
    37     private int[] virtualRowIndices;
     37    protected int[] virtualRowIndices;
    3838    private List<KeyValuePair<int, SortOrder>> sortedColumnIndices;
    3939    private RowComparer rowComparer;
     
    171171      }
    172172    }
    173     protected void UpdateRowHeaders() {
     173    protected virtual void UpdateRowHeaders() {
    174174      int index = dataGridView.FirstDisplayedScrollingRowIndex;
    175175      if (index == -1) index = 0;
     
    509509        contextMenu.Show(MousePosition);
    510510    }
    511     private void ShowHideColumns_Click(object sender, EventArgs e) {
    512       new ColumnsVisibilityDialog(this.dataGridView.Columns.Cast<DataGridViewColumn>()).ShowDialog();
     511    protected virtual void ShowHideColumns_Click(object sender, EventArgs e) {
     512      new StringConvertibleMatrixColumnVisibilityDialog(this.dataGridView.Columns.Cast<DataGridViewColumn>()).ShowDialog();
    513513    }
    514514
Note: See TracChangeset for help on using the changeset viewer.