Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/07/16 10:18:05 (8 years ago)
Author:
ascheibe
Message:

#2582 created branch for Hive Web Job Manager

Location:
branches/WebJobManager
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/WebJobManager/HeuristicLab.Analysis/3.3/DataVisualization/ScatterPlot.cs

    r12012 r13656  
    3535  [StorableClass]
    3636  public class ScatterPlot : NamedItem, IStringConvertibleMatrix {
    37     public static new Image StaticItemImage {
    38       get { return HeuristicLab.Common.Resources.VSImageLibrary.Performance; }
    39     }
     37
    4038
    4139    private ScatterPlotVisualProperties visualProperties;
    42     public ScatterPlotVisualProperties VisualProperties {
     40    public ScatterPlotVisualProperties VisualProperties
     41    {
    4342      get { return visualProperties; }
    44       set {
     43      set
     44      {
    4545        if (visualProperties != value) {
    4646          if (value == null) throw new ArgumentNullException("VisualProperties");
     
    5454
    5555    private NamedItemCollection<ScatterPlotDataRow> rows;
    56     public NamedItemCollection<ScatterPlotDataRow> Rows {
     56    public NamedItemCollection<ScatterPlotDataRow> Rows
     57    {
    5758      get { return rows; }
    58       private set {
     59      private set
     60      {
    5961        if (rows != null) throw new InvalidOperationException("Rows already set");
    6062        rows = value;
     
    6567    #region Persistence Properties
    6668    [Storable(Name = "VisualProperties")]
    67     private ScatterPlotVisualProperties StorableVisualProperties {
     69    private ScatterPlotVisualProperties StorableVisualProperties
     70    {
    6871      get { return visualProperties; }
    69       set {
     72      set
     73      {
    7074        visualProperties = value;
    7175        visualProperties.PropertyChanged += new PropertyChangedEventHandler(VisualProperties_PropertyChanged);
     
    7377    }
    7478    [Storable(Name = "Rows")]
    75     private IEnumerable<ScatterPlotDataRow> StorableRows {
     79    private IEnumerable<ScatterPlotDataRow> StorableRows
     80    {
    7681      get { return rows; }
    7782      set { Rows = new NamedItemCollection<ScatterPlotDataRow>(value); }
     
    108113    private ObservableList<PointF> points;
    109114    [Storable(Name = "points", AllowOneWay = true)]
    110     private ObservableList<PointF> StorablePoints {
     115    private ObservableList<PointF> StorablePoints
     116    {
    111117      set { points = value; }
    112118    }
    113119    private string xAxisName;
    114120    [Storable(Name = "xAxisName", AllowOneWay = true)]
    115     private string StorableXAxisName {
     121    private string StorableXAxisName
     122    {
    116123      set { xAxisName = value; }
    117124    }
    118125    private string yAxisName;
    119126    [Storable(Name = "yAxisName", AllowOneWay = true)]
    120     private string StorableYAxisName {
     127    private string StorableYAxisName
     128    {
    121129      set { yAxisName = value; }
    122130    }
     
    223231
    224232    #region IStringConvertibleMatrix Members
    225     int IStringConvertibleMatrix.Rows {
     233    int IStringConvertibleMatrix.Rows
     234    {
    226235      get { return rows.Count == 0 ? 0 : rows.Max(r => r.Points.Count); }
    227236      set { throw new NotSupportedException(); }
    228237    }
    229     int IStringConvertibleMatrix.Columns {
     238    int IStringConvertibleMatrix.Columns
     239    {
    230240      get { return rows.Count; }
    231241      set { throw new NotSupportedException(); }
    232242    }
    233     IEnumerable<string> IStringConvertibleMatrix.ColumnNames {
     243    IEnumerable<string> IStringConvertibleMatrix.ColumnNames
     244    {
    234245      get { return rows.Select(r => r.Name); }
    235246      set { throw new NotSupportedException(); }
    236247    }
    237     IEnumerable<string> IStringConvertibleMatrix.RowNames {
     248    IEnumerable<string> IStringConvertibleMatrix.RowNames
     249    {
    238250      get { return Enumerable.Empty<string>(); }
    239251      set { throw new NotSupportedException(); }
    240252    }
    241253
    242     bool IStringConvertibleMatrix.SortableView {
     254    bool IStringConvertibleMatrix.SortableView
     255    {
    243256      get { return true; }
    244257      set { throw new NotSupportedException(); }
    245258    }
    246     bool IStringConvertibleMatrix.ReadOnly {
     259    bool IStringConvertibleMatrix.ReadOnly
     260    {
    247261      get { return true; }
    248262    }
Note: See TracChangeset for help on using the changeset viewer.