- Timestamp:
- 09/11/08 21:11:24 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.CEDMA.Core
- Files:
-
- 5 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.CEDMA.Core/Console.cs
r492 r553 33 33 public class Console : ItemBase, IEditable { 34 34 private AgentList agentList; 35 private ResultList resultsList; 35 36 private DatabaseOperatorLibrary operatorLibary; 36 37 private ChannelFactory<IDatabase> factory; … … 45 46 } 46 47 48 public ResultList ResultsList { 49 get { return resultsList; } 50 } 51 47 52 public IOperatorLibrary OperatorLibrary { 48 53 get { return operatorLibary; } … … 52 57 : base() { 53 58 agentList = new AgentList(); 59 resultsList = new ResultList(); 54 60 operatorLibary = new DatabaseOperatorLibrary(); 55 61 } … … 89 95 agentList.Database = database; 90 96 operatorLibary.Database = database; 97 98 ChannelFactory<IStore> storeFactory = new ChannelFactory<IStore>(binding); 99 IStore store = storeFactory.CreateChannel(new EndpointAddress(serverUri + "/RdfStore")); 100 resultsList.Store = store; 91 101 } 92 102 #endregion -
trunk/sources/HeuristicLab.CEDMA.Core/ConsoleEditor.cs
r510 r553 28 28 using System.ServiceModel; 29 29 using HeuristicLab.PluginInfrastructure; 30 using HeuristicLab.Charting; 31 using System.Drawing; 32 using HeuristicLab.CEDMA.DB.Interfaces; 30 33 31 34 namespace HeuristicLab.CEDMA.Core { … … 39 42 private Label projectLabel; 40 43 private Button newButton; 41 private System.ComponentModel.IContainer components;42 44 private Button opLibButton; 43 45 private Label label1; 46 private TabPage resultsTabPage; 44 47 private Console console; 45 48 … … 54 57 this.tabControl = new System.Windows.Forms.TabControl(); 55 58 this.agentsPage = new System.Windows.Forms.TabPage(); 59 this.resultsTabPage = new System.Windows.Forms.TabPage(); 56 60 this.connectButton = new System.Windows.Forms.Button(); 57 61 this.comboBox1 = new System.Windows.Forms.ComboBox(); … … 85 89 | System.Windows.Forms.AnchorStyles.Right))); 86 90 this.tabControl.Controls.Add(this.agentsPage); 91 this.tabControl.Controls.Add(this.resultsTabPage); 87 92 this.tabControl.Enabled = false; 88 93 this.tabControl.Location = new System.Drawing.Point(6, 85); … … 101 106 this.agentsPage.Text = "Agents"; 102 107 this.agentsPage.UseVisualStyleBackColor = true; 108 // 109 // resultsTabPage 110 // 111 this.resultsTabPage.Location = new System.Drawing.Point(4, 22); 112 this.resultsTabPage.Name = "resultsTabPage"; 113 this.resultsTabPage.Padding = new System.Windows.Forms.Padding(3); 114 this.resultsTabPage.Size = new System.Drawing.Size(498, 352); 115 this.resultsTabPage.TabIndex = 2; 116 this.resultsTabPage.Text = "Results"; 117 this.resultsTabPage.UseVisualStyleBackColor = true; 103 118 // 104 119 // connectButton … … 189 204 agentsPage.Controls.Add((Control)console.AgentList.CreateView()); 190 205 agentsPage.Controls[0].Dock = DockStyle.Fill; 206 resultsTabPage.Controls.Clear(); 207 resultsTabPage.Controls.Add((Control)console.ResultsList.CreateView()); 208 resultsTabPage.Controls[0].Dock = DockStyle.Fill; 191 209 opLibButton.Enabled = true; 192 210 opLibButton.Enabled = true; -
trunk/sources/HeuristicLab.CEDMA.Core/HeuristicLab.CEDMA.Core.csproj
r514 r553 33 33 <WarningLevel>4</WarningLevel> 34 34 </PropertyGroup> 35 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> 36 <DebugSymbols>true</DebugSymbols> 37 <OutputPath>bin\Debug\</OutputPath> 38 <DefineConstants>DEBUG;TRACE</DefineConstants> 39 <DebugType>full</DebugType> 40 <PlatformTarget>x86</PlatformTarget> 41 <ErrorReport>prompt</ErrorReport> 42 </PropertyGroup> 43 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> 44 <OutputPath>bin\x86\Release\</OutputPath> 45 <DefineConstants>TRACE</DefineConstants> 46 <Optimize>true</Optimize> 47 <DebugType>pdbonly</DebugType> 48 <PlatformTarget>x86</PlatformTarget> 49 <ErrorReport>prompt</ErrorReport> 50 </PropertyGroup> 35 51 <ItemGroup> 52 <Reference Include="HeuristicLab.Charting, Version=3.0.0.91, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 53 <SpecificVersion>False</SpecificVersion> 54 <HintPath>..\HeuristicLab.Charting\bin\Debug\HeuristicLab.Charting.dll</HintPath> 55 </Reference> 36 56 <Reference Include="System" /> 37 57 <Reference Include="System.Core"> … … 62 82 <SubType>UserControl</SubType> 63 83 </Compile> 84 <Compile Include="Histogram.cs" /> 85 <Compile Include="ResultList.cs" /> 64 86 <Compile Include="ResultTable.cs" /> 65 87 <Compile Include="ResultExporter.cs" /> … … 92 114 <DependentUpon>AgentView.cs</DependentUpon> 93 115 </Compile> 116 <Compile Include="ResultListView.cs"> 117 <SubType>UserControl</SubType> 118 </Compile> 119 <Compile Include="ResultListView.Designer.cs"> 120 <DependentUpon>ResultListView.cs</DependentUpon> 121 </Compile> 94 122 </ItemGroup> 95 123 <ItemGroup> … … 100 128 <Project>{4F9BB789-D561-436B-B226-2BF44B7D0804}</Project> 101 129 <Name>HeuristicLab.CEDMA.DB.Interfaces</Name> 130 </ProjectReference> 131 <ProjectReference Include="..\HeuristicLab.Charting.Data\HeuristicLab.Charting.Data.csproj"> 132 <Project>{E0740131-AA3E-4A3F-BA03-C9FF8327F4EE}</Project> 133 <Name>HeuristicLab.Charting.Data</Name> 102 134 </ProjectReference> 103 135 <ProjectReference Include="..\HeuristicLab.Core\HeuristicLab.Core.csproj"> … … 131 163 <SubType>Designer</SubType> 132 164 </EmbeddedResource> 165 <EmbeddedResource Include="ResultListView.resx"> 166 <DependentUpon>ResultListView.cs</DependentUpon> 167 <SubType>Designer</SubType> 168 </EmbeddedResource> 133 169 </ItemGroup> 134 170 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
Note: See TracChangeset
for help on using the changeset viewer.