Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/03/09 14:23:54 (15 years ago)
Author:
mkommend
Message:

reintegrated branch new heuristic.modeling database backend (ticket #712)

Location:
trunk/sources/HeuristicLab.DataAnalysis/3.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.DataAnalysis/3.2/Dataset.cs

    r2222 r2223  
    111111
    112112    private string[] variableNames;
     113    public IEnumerable<string> VariableNames {
     114      get { return variableNames; }
     115    }
    113116
    114117    public Dataset() {
     
    123126      fireChangeEvents = true;
    124127    }
     128
     129   
    125130
    126131    public string GetVariableName(int variableIndex) {
  • trunk/sources/HeuristicLab.DataAnalysis/3.2/DatasetView.cs

    r2124 r2223  
    3737      : base() {
    3838      InitializeComponent();
    39       DiscoveryService discovery = new DiscoveryService();
    40       IDatasetManipulator[] manipuators = discovery.GetInstances<IDatasetManipulator>();
    41       contextMenuStrip.Items.Add(new ToolStripSeparator());
    42       foreach(IDatasetManipulator manipulator in manipuators) {
    43         contextMenuStrip.Items.Add(new ToolStripButton(manipulator.Action,null , delegate(object source, EventArgs args)
    44           {
    45             manipulator.Execute(Dataset);
    46             Refresh();
    47           }));
    48       }
    49      
    5039      // format all cells with the round-trip formatter to make sure that values that are exported and imported to
    5140      // another C# app (HL2) have the same numeric value
     
    6049      : this() {
    6150      this.Dataset = dataset;
     51      DiscoveryService discovery = new DiscoveryService();
     52      IDatasetManipulator[] manipuators = discovery.GetInstances<IDatasetManipulator>();
     53      contextMenuStrip.Items.Add(new ToolStripSeparator());
     54      foreach (IDatasetManipulator manipulator in manipuators) {
     55        contextMenuStrip.Items.Add(new ToolStripButton(manipulator.Action, null, delegate(object source, EventArgs args) {
     56          manipulator.Execute(Dataset);
     57          Refresh();
     58        }));
     59      }     
    6260    }
    6361
Note: See TracChangeset for help on using the changeset viewer.