Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/23/09 11:08:34 (15 years ago)
Author:
swagner
Message:

Implemented first draft of MainForm support in HeuristicLab.Core/HeuristicLab.Core.Views and all other depending plugins (#770)

Location:
trunk/sources/HeuristicLab.Operators.Programmable/3.3
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Operators.Programmable/3.3/HeuristicLab.Operators.Programmable-3.3.csproj

    r1872 r2520  
    100100  </ItemGroup>
    101101  <ItemGroup>
     102    <ProjectReference Include="..\..\HeuristicLab.Core.Views\3.3\HeuristicLab.Core.Views-3.3.csproj">
     103      <Project>{E226881D-315F-423D-B419-A766FE0D8685}</Project>
     104      <Name>HeuristicLab.Core.Views-3.3</Name>
     105    </ProjectReference>
    102106    <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj">
    103107      <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project>
     
    107111      <Project>{BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}</Project>
    108112      <Name>HeuristicLab.Data-3.3</Name>
     113    </ProjectReference>
     114    <ProjectReference Include="..\..\HeuristicLab.MainForm.WindowsForms\3.2\HeuristicLab.MainForm.WindowsForms-3.2.csproj">
     115      <Project>{AB687BBE-1BFE-476B-906D-44237135431D}</Project>
     116      <Name>HeuristicLab.MainForm.WindowsForms-3.2</Name>
     117    </ProjectReference>
     118    <ProjectReference Include="..\..\HeuristicLab.MainForm\3.2\HeuristicLab.MainForm-3.2.csproj">
     119      <Project>{3BD61258-31DA-4B09-89C0-4F71FEF5F05A}</Project>
     120      <Name>HeuristicLab.MainForm-3.2</Name>
    109121    </ProjectReference>
    110122    <ProjectReference Include="..\..\HeuristicLab.Operators\3.3\HeuristicLab.Operators-3.3.csproj">
  • trunk/sources/HeuristicLab.Operators.Programmable/3.3/HeuristicLabOperatorsProgrammablePlugin.cs

    r1872 r2520  
    2929  [PluginFile(Filename = "HeuristicLab.Operators.Programmable-3.3.dll", Filetype = PluginFileType.Assembly)]
    3030  [Dependency(Dependency = "HeuristicLab.Core-3.3")]
     31  [Dependency(Dependency = "HeuristicLab.Core.Views-3.3")]
    3132  [Dependency(Dependency = "HeuristicLab.Data-3.3")]
     33  [Dependency(Dependency = "HeuristicLab.MainForm-3.2")]
     34  [Dependency(Dependency = "HeuristicLab.MainForm.WindowsForms-3.2")]
    3235  [Dependency(Dependency = "HeuristicLab.Operators-3.3")]
    3336  [Dependency(Dependency = "HeuristicLab.Persistence-3.3")]
  • trunk/sources/HeuristicLab.Operators.Programmable/3.3/ProgrammableOperator.cs

    r1872 r2520  
    189189    }
    190190
    191     public override IView CreateView() {
    192       return new ProgrammableOperatorView(this);
    193     }
    194 
    195191    public event EventHandler DescriptionChanged;
    196192    protected virtual void OnDescriptionChanged() {
  • trunk/sources/HeuristicLab.Operators.Programmable/3.3/ProgrammableOperatorView.Designer.cs

    r1530 r2520  
    5454      this.removeVariableInfoButton = new System.Windows.Forms.Button();
    5555      this.addVariableInfoButton = new System.Windows.Forms.Button();
    56       this.operatorBaseVariableInfosView = new HeuristicLab.Core.OperatorBaseVariableInfosView();
     56      this.operatorBaseVariableInfosView = new HeuristicLab.Core.Views.OperatorBaseVariableInfosView();
    5757      this.variablesTabPage = new System.Windows.Forms.TabPage();
    58       this.operatorBaseVariablesView = new HeuristicLab.Core.OperatorBaseVariablesView();
     58      this.operatorBaseVariablesView = new HeuristicLab.Core.Views.OperatorBaseVariablesView();
    5959      this.constraintsTabPage = new System.Windows.Forms.TabPage();
    60       this.constrainedItemBaseView = new HeuristicLab.Core.ConstrainedItemBaseView();
     60      this.constrainedItemBaseView = new HeuristicLab.Core.Views.ConstrainedItemBaseView();
    6161      this.descriptionTabPage = new System.Windows.Forms.TabPage();
    6262      this.descriptionTextBox = new System.Windows.Forms.TextBox();
     
    275275    private System.Windows.Forms.TextBox codeTextBox;
    276276    private System.Windows.Forms.TabPage variableInfosTabPage;
    277     private HeuristicLab.Core.OperatorBaseVariableInfosView operatorBaseVariableInfosView;
     277    private HeuristicLab.Core.Views.OperatorBaseVariableInfosView operatorBaseVariableInfosView;
    278278    private System.Windows.Forms.TabPage variablesTabPage;
    279     private HeuristicLab.Core.OperatorBaseVariablesView operatorBaseVariablesView;
     279    private HeuristicLab.Core.Views.OperatorBaseVariablesView operatorBaseVariablesView;
    280280    private System.Windows.Forms.TabPage constraintsTabPage;
    281     private HeuristicLab.Core.ConstrainedItemBaseView constrainedItemBaseView;
     281    private HeuristicLab.Core.Views.ConstrainedItemBaseView constrainedItemBaseView;
    282282    private System.Windows.Forms.TabPage descriptionTabPage;
    283283    private System.Windows.Forms.TextBox descriptionTextBox;
  • trunk/sources/HeuristicLab.Operators.Programmable/3.3/ProgrammableOperatorView.cs

    r1530 r2520  
    2929using HeuristicLab.Core;
    3030using HeuristicLab.Operators;
     31using HeuristicLab.Core.Views;
     32using HeuristicLab.MainForm;
    3133
    3234namespace HeuristicLab.Operators.Programmable {
     35  [Content(typeof(ProgrammableOperator), true)]
    3336  public partial class ProgrammableOperatorView : ViewBase {
    3437    public ProgrammableOperator ProgrammableOperator {
     
    102105      }
    103106      catch (Exception ex) {
    104         Auxiliary.ShowErrorMessageBox(ex);
     107        HeuristicLab.Core.Views.Auxiliary.ShowErrorMessageBox(ex);
    105108      }
    106109    }
     
    109112      if (dialog.ShowDialog(this) == DialogResult.OK) {
    110113        if (ProgrammableOperator.GetVariableInfo(dialog.VariableInfo.FormalName) != null)
    111           Auxiliary.ShowErrorMessageBox("A variable info with the same formal name already exists.");
     114          HeuristicLab.Core.Views.Auxiliary.ShowErrorMessageBox("A variable info with the same formal name already exists.");
    112115        else
    113116          ProgrammableOperator.AddVariableInfo(dialog.VariableInfo);
Note: See TracChangeset for help on using the changeset viewer.