Free cookie consent management tool by TermsFeed Policy Generator

Changeset 8907


Ignore:
Timestamp:
11/13/12 13:08:36 (12 years ago)
Author:
ascheibe
Message:

#1892 added configuration dialog for the scatter plot

Location:
trunk/sources
Files:
6 added
3 edited

Legend:

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

    r8600 r8907  
    116116  </ItemGroup>
    117117  <ItemGroup>
     118    <Compile Include="ScatterPlotVisualPropertiesDialog.cs">
     119      <SubType>Form</SubType>
     120    </Compile>
     121    <Compile Include="ScatterPlotVisualPropertiesDialog.Designer.cs">
     122      <DependentUpon>ScatterPlotVisualPropertiesDialog.cs</DependentUpon>
     123    </Compile>
     124    <Compile Include="ScatterPlotVisualPropertiesControl.cs">
     125      <SubType>UserControl</SubType>
     126    </Compile>
     127    <Compile Include="ScatterPlotVisualPropertiesControl.Designer.cs">
     128      <DependentUpon>ScatterPlotVisualPropertiesControl.cs</DependentUpon>
     129    </Compile>
     130    <Compile Include="ScatterPlotDataRowVisualPropertiesControl.cs">
     131      <SubType>UserControl</SubType>
     132    </Compile>
     133    <Compile Include="ScatterPlotDataRowVisualPropertiesControl.Designer.cs">
     134      <DependentUpon>ScatterPlotDataRowVisualPropertiesControl.cs</DependentUpon>
     135    </Compile>
    118136    <Compile Include="ScatterPlotView.cs">
    119137      <SubType>UserControl</SubType>
     
    284302  -->
    285303  <PropertyGroup>
    286    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
     304    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    287305set ProjectDir=$(ProjectDir)
    288306set SolutionDir=$(SolutionDir)
     
    291309call PreBuildEvent.cmd
    292310</PreBuildEvent>
    293 <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
     311    <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
    294312export ProjectDir=$(ProjectDir)
    295313export SolutionDir=$(SolutionDir)
  • trunk/sources/HeuristicLab.Analysis.Views/3.3/ScatterPlotView.cs

    r8433 r8907  
    3434  [View("ScatterPlot View")]
    3535  [Content(typeof(ScatterPlot), true)]
    36   public partial class ScatterPlotView : NamedItemView {
     36  public partial class ScatterPlotView : NamedItemView, IConfigureableView {
    3737    protected List<Series> invisibleSeries;
    3838    protected Dictionary<IObservableList<Point2D<double>>, ScatterPlotDataRow> pointsRowsTable;
     
    109109      base.SetEnabledStateOfControls();
    110110      chart.Enabled = Content != null;
     111    }
     112
     113    public void ShowConfiguration() {
     114      if (Content != null) {
     115        using (ScatterPlotVisualPropertiesDialog dialog = new ScatterPlotVisualPropertiesDialog(Content)) {
     116          dialog.ShowDialog(this);
     117        }
     118      } else MessageBox.Show("Nothing to configure.");
    111119    }
    112120
  • trunk/sources/HeuristicLab.Analysis/3.3/DataVisualization/ScatterPlotDataRowVisualProperties.cs

    r8280 r8907  
    3232  [StorableClass]
    3333  public class ScatterPlotDataRowVisualProperties : DeepCloneable, INotifyPropertyChanged {
    34     #region DotStyle
     34    #region PointStyle
    3535    public enum ScatterPlotDataRowPointStyle {
    3636      Circle,
Note: See TracChangeset for help on using the changeset viewer.