Changeset 5606
- Timestamp:
- 03/04/11 01:06:26 (14 years ago)
- Location:
- branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3
- Files:
-
- 3 added
- 31 edited
- 12 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/HeuristicLab.Clients.OKB-3.3.csproj
r5587 r5606 180 180 <Compile Include="Authentication\AuthenticationClient.cs" /> 181 181 <Compile Include="Authentication\ServiceClient\AuthenticationServiceClient.cs" /> 182 <Compile Include="Query\QueryClient.cs" /> 183 <Compile Include="Query\QueryMenuItem.cs" /> 184 <Compile Include="Query\ServiceClient\CombinedFilter.cs" /> 185 <Compile Include="Query\ServiceClient\OrdinalComparisonIntFilter.cs" /> 186 <Compile Include="Query\ServiceClient\NameOrdinalComparisonIntFilter.cs" /> 187 <Compile Include="Query\ServiceClient\NameOrdinalComparisonFloatFilter.cs" /> 188 <Compile Include="Query\ServiceClient\Filter.cs" /> 189 <Compile Include="Query\ServiceClient\NameEqualityComparisonBoolFilter.cs" /> 190 <Compile Include="Query\ServiceClient\NameEqualityComparisonByteArrayFilter.cs" /> 191 <Compile Include="Query\ServiceClient\NameOrdinalComparisonDoubleFilter.cs" /> 192 <Compile Include="Query\ServiceClient\NameOrdinalComparisonLongFilter.cs" /> 193 <Compile Include="Query\ServiceClient\NameStringComparisonAvailableValuesFilter.cs" /> 194 <Compile Include="Query\ServiceClient\NameStringComparisonFilter.cs" /> 195 <Compile Include="Query\ServiceClient\OrdinalComparisonDateTimeFilter.cs" /> 196 <Compile Include="Query\ServiceClient\OrdinalComparisonLongFilter.cs" /> 182 197 <Compile Include="Query\ServiceClient\QueryServiceClient.cs" /> 198 <Compile Include="Query\ServiceClient\StringComparisonAvailableValuesFilter.cs" /> 199 <Compile Include="Query\ServiceClient\StringComparisonFilter.cs" /> 200 <Compile Include="Query\Views\CombinedFilterView.cs"> 201 <SubType>UserControl</SubType> 202 </Compile> 203 <Compile Include="Query\Views\CombinedFilterView.Designer.cs"> 204 <DependentUpon>CombinedFilterView.cs</DependentUpon> 205 </Compile> 206 <Compile Include="Query\Views\EqualityComparisonFilterView.cs"> 207 <SubType>UserControl</SubType> 208 </Compile> 209 <Compile Include="Query\Views\EqualityComparisonFilterView.Designer.cs"> 210 <DependentUpon>EqualityComparisonFilterView.cs</DependentUpon> 211 </Compile> 212 <Compile Include="Query\Views\FilterView.cs"> 213 <SubType>UserControl</SubType> 214 </Compile> 215 <Compile Include="Query\Views\FilterView.Designer.cs"> 216 <DependentUpon>FilterView.cs</DependentUpon> 217 </Compile> 218 <Compile Include="Query\Views\NameEqualityComparisonBoolFilterView.cs"> 219 <SubType>UserControl</SubType> 220 </Compile> 221 <Compile Include="Query\Views\NameEqualityComparisonBoolFilterView.Designer.cs"> 222 <DependentUpon>NameEqualityComparisonBoolFilterView.cs</DependentUpon> 223 </Compile> 224 <Compile Include="Query\Views\NameOrdinalComparisonDoubleFilterView.cs"> 225 <SubType>UserControl</SubType> 226 </Compile> 227 <Compile Include="Query\Views\NameOrdinalComparisonDoubleFilterView.Designer.cs"> 228 <DependentUpon>NameOrdinalComparisonDoubleFilterView.cs</DependentUpon> 229 </Compile> 230 <Compile Include="Query\Views\NameOrdinalComparisonLongFilterView.cs"> 231 <SubType>UserControl</SubType> 232 </Compile> 233 <Compile Include="Query\Views\NameOrdinalComparisonLongFilterView.Designer.cs"> 234 <DependentUpon>NameOrdinalComparisonLongFilterView.cs</DependentUpon> 235 </Compile> 236 <Compile Include="Query\Views\NameStringComparisonAvailableValuesFilterView.cs"> 237 <SubType>UserControl</SubType> 238 </Compile> 239 <Compile Include="Query\Views\NameStringComparisonAvailableValuesFilterView.Designer.cs"> 240 <DependentUpon>NameStringComparisonAvailableValuesFilterView.cs</DependentUpon> 241 </Compile> 242 <Compile Include="Query\Views\NameStringComparisonFilterView.cs"> 243 <SubType>UserControl</SubType> 244 </Compile> 245 <Compile Include="Query\Views\NameStringComparisonFilterView.Designer.cs"> 246 <DependentUpon>NameStringComparisonFilterView.cs</DependentUpon> 247 </Compile> 248 <Compile Include="Query\Views\OrdinalComparisonFilterView.cs"> 249 <SubType>UserControl</SubType> 250 </Compile> 251 <Compile Include="Query\Views\OrdinalComparisonFilterView.Designer.cs"> 252 <DependentUpon>OrdinalComparisonFilterView.cs</DependentUpon> 253 </Compile> 254 <Compile Include="Query\Views\OrdinalComparisonLongFilterView.cs"> 255 <SubType>UserControl</SubType> 256 </Compile> 257 <Compile Include="Query\Views\OrdinalComparisonLongFilterView.Designer.cs"> 258 <DependentUpon>OrdinalComparisonLongFilterView.cs</DependentUpon> 259 </Compile> 260 <Compile Include="Query\Views\QueryView.cs"> 261 <SubType>UserControl</SubType> 262 </Compile> 263 <Compile Include="Query\Views\QueryView.Designer.cs"> 264 <DependentUpon>QueryView.cs</DependentUpon> 265 </Compile> 266 <Compile Include="Query\Views\SetComparisonStringFilterView.cs" /> 267 <Compile Include="Query\Views\SetComparisonStringFilterView.Designer.cs"> 268 <DependentUpon>SetComparisonStringFilterView.cs</DependentUpon> 269 </Compile> 270 <Compile Include="Query\Views\StringComparisonAvailableValuesFilterView.cs"> 271 <SubType>UserControl</SubType> 272 </Compile> 273 <Compile Include="Query\Views\StringComparisonAvailableValuesFilterView.Designer.cs"> 274 <DependentUpon>StringComparisonAvailableValuesFilterView.cs</DependentUpon> 275 </Compile> 276 <Compile Include="Query\Views\StringComparisonFilterView.cs"> 277 <SubType>UserControl</SubType> 278 </Compile> 279 <Compile Include="Query\Views\StringComparisonFilterView.Designer.cs"> 280 <DependentUpon>StringComparisonFilterView.cs</DependentUpon> 281 </Compile> 183 282 <Compile Include="RunCreation\ServiceClient\RunCreationServiceClient.cs" /> 184 283 <Compile Include="HeuristicLabClientsOKBPlugin.cs" /> -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/QueryClient.cs
r5604 r5606 33 33 using HeuristicLab.PluginInfrastructure; 34 34 35 namespace HeuristicLab.Clients.OKB {36 [Item(" OKBClient", "Client for accessing the OKB.")]37 public sealed class OKBClient : IContent {38 private static OKBClient instance;39 public static OKBClient Instance {35 namespace HeuristicLab.Clients.OKB.Query { 36 [Item("QueryClient", "Client for accessing the OKB.")] 37 public sealed class QueryClient : IContent { 38 private static QueryClient instance; 39 public static QueryClient Instance { 40 40 get { 41 if (instance == null) instance = new OKBClient();41 if (instance == null) instance = new QueryClient(); 42 42 return instance; 43 43 } … … 75 75 #endregion 76 76 77 private OKBClient() {77 private QueryClient() { 78 78 platforms = new ItemCollection<Platform>(); 79 79 platforms.ItemsRemoved += new CollectionItemsChangedEventHandler<Platform>(platforms_ItemsRemoved); -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/QueryMenuItem.cs
r5604 r5606 23 23 using HeuristicLab.Optimizer; 24 24 25 namespace HeuristicLab.Clients.OKB {25 namespace HeuristicLab.Clients.OKB.Query { 26 26 internal class QueryMenuItem : HeuristicLab.MainForm.WindowsForms.MenuItem, IOptimizerUserInterfaceItemProvider { 27 27 public override string Name { -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/ServiceClient/CombinedFilter.cs
r5605 r5606 22 22 using System.Linq; 23 23 24 namespace HeuristicLab.Clients.OKB {24 namespace HeuristicLab.Clients.OKB.Query { 25 25 public partial class CombinedFilter { 26 26 public override Filter Clone() { -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/ServiceClient/Filter.cs
r5605 r5606 23 23 using HeuristicLab.Common; 24 24 25 namespace HeuristicLab.Clients.OKB {25 namespace HeuristicLab.Clients.OKB.Query { 26 26 public partial class Filter : IContent { 27 27 public virtual Filter Clone() { -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/ServiceClient/NameEqualityComparisonBoolFilter.cs
r5605 r5606 20 20 #endregion 21 21 22 using System; 23 using HeuristicLab.Common; 24 25 namespace HeuristicLab.Clients.OKB { 22 namespace HeuristicLab.Clients.OKB.Query { 26 23 public partial class NameEqualityComparisonBoolFilter { 27 24 public override Filter Clone() { -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/ServiceClient/NameEqualityComparisonByteArrayFilter.cs
r5605 r5606 20 20 #endregion 21 21 22 23 namespace HeuristicLab.Clients.OKB { 22 namespace HeuristicLab.Clients.OKB.Query { 24 23 public partial class NameEqualityComparisonByteArrayFilter { 25 24 public override Filter Clone() { -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/ServiceClient/NameOrdinalComparisonDoubleFilter.cs
r5605 r5606 20 20 #endregion 21 21 22 23 namespace HeuristicLab.Clients.OKB { 22 namespace HeuristicLab.Clients.OKB.Query { 24 23 public partial class NameOrdinalComparisonDoubleFilter { 25 24 public override Filter Clone() { -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/ServiceClient/NameOrdinalComparisonLongFilter.cs
r5605 r5606 20 20 #endregion 21 21 22 23 namespace HeuristicLab.Clients.OKB { 22 namespace HeuristicLab.Clients.OKB.Query { 24 23 public partial class NameOrdinalComparisonLongFilter { 25 24 public override Filter Clone() { -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/ServiceClient/NameStringComparisonAvailableValuesFilter.cs
r5605 r5606 20 20 #endregion 21 21 22 23 22 using System.Collections.Generic; 24 namespace HeuristicLab.Clients.OKB {25 public partial class NameS etComparisonStringAvailableValuesFilter {23 namespace HeuristicLab.Clients.OKB.Query { 24 public partial class NameStringComparisonAvailableValuesFilter { 26 25 public override Filter Clone() { 27 return new NameS etComparisonStringAvailableValuesFilter() { FilterTypeName = FilterTypeName, Label = Label, Name = Name, Comparison = Comparison, Value = Value, AvailableValues = new List<string>(AvailableValues) };26 return new NameStringComparisonAvailableValuesFilter() { FilterTypeName = FilterTypeName, Label = Label, Name = Name, Comparison = Comparison, Value = Value, AvailableValues = new List<string>(AvailableValues) }; 28 27 } 29 28 } -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/ServiceClient/NameStringComparisonFilter.cs
r5605 r5606 20 20 #endregion 21 21 22 23 namespace HeuristicLab.Clients.OKB { 24 public partial class NameSetComparisonStringFilter { 22 namespace HeuristicLab.Clients.OKB.Query { 23 public partial class NameStringComparisonFilter { 25 24 public override Filter Clone() { 26 return new NameS etComparisonStringFilter() { FilterTypeName = FilterTypeName, Label = Label, Name = Name, Comparison = Comparison, Value = Value };25 return new NameStringComparisonFilter() { FilterTypeName = FilterTypeName, Label = Label, Name = Name, Comparison = Comparison, Value = Value }; 27 26 } 28 27 } -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/ServiceClient/OrdinalComparisonDateTimeFilter.cs
r5605 r5606 20 20 #endregion 21 21 22 23 namespace HeuristicLab.Clients.OKB { 22 namespace HeuristicLab.Clients.OKB.Query { 24 23 public partial class OrdinalComparisonDateTimeFilter { 25 24 public override Filter Clone() { -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/ServiceClient/OrdinalComparisonLongFilter.cs
r5605 r5606 20 20 #endregion 21 21 22 23 namespace HeuristicLab.Clients.OKB { 22 namespace HeuristicLab.Clients.OKB.Query { 24 23 public partial class OrdinalComparisonLongFilter { 25 24 public override Filter Clone() { -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/ServiceClient/StringComparisonAvailableValuesFilter.cs
r5605 r5606 20 20 #endregion 21 21 22 23 22 using System.Collections.Generic; 24 namespace HeuristicLab.Clients.OKB {25 public partial class S etComparisonStringAvailableValuesFilter {23 namespace HeuristicLab.Clients.OKB.Query { 24 public partial class StringComparisonAvailableValuesFilter { 26 25 public override Filter Clone() { 27 return new S etComparisonStringAvailableValuesFilter() { FilterTypeName = FilterTypeName, Label = Label, Comparison = Comparison, Value = Value, AvailableValues = new List<string>(AvailableValues) };26 return new StringComparisonAvailableValuesFilter() { FilterTypeName = FilterTypeName, Label = Label, Comparison = Comparison, Value = Value, AvailableValues = new List<string>(AvailableValues) }; 28 27 } 29 28 } -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/ServiceClient/StringComparisonFilter.cs
r5605 r5606 20 20 #endregion 21 21 22 23 namespace HeuristicLab.Clients.OKB { 24 public partial class SetComparisonStringFilter { 22 namespace HeuristicLab.Clients.OKB.Query { 23 public partial class StringComparisonFilter { 25 24 public override Filter Clone() { 26 return new S etComparisonStringFilter() { FilterTypeName = FilterTypeName, Label = Label, Comparison = Comparison, Value = Value };25 return new StringComparisonFilter() { FilterTypeName = FilterTypeName, Label = Label, Comparison = Comparison, Value = Value }; 27 26 } 28 27 } -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/CombinedFilterView.Designer.cs
r5604 r5606 20 20 #endregion 21 21 22 namespace HeuristicLab.Clients.OKB {22 namespace HeuristicLab.Clients.OKB.Query { 23 23 partial class CombinedFilterView { 24 24 /// <summary> -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/CombinedFilterView.cs
r5604 r5606 26 26 using HeuristicLab.MainForm.WindowsForms; 27 27 28 namespace HeuristicLab.Clients.OKB {28 namespace HeuristicLab.Clients.OKB.Query { 29 29 [View("CombinedFilter View")] 30 30 [Content(typeof(CombinedFilter), true)] … … 41 41 protected override void OnInitialized(System.EventArgs e) { 42 42 base.OnInitialized(e); 43 IEnumerable<Filter> availableFilters = OKBClient.Instance.GetFilters();43 IEnumerable<Filter> availableFilters = QueryClient.Instance.GetFilters(); 44 44 filtersComboBox.DataSource = availableFilters; 45 45 filtersComboBox.DisplayMember = "Label"; -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/EqualityComparisonFilterView.Designer.cs
r5604 r5606 20 20 #endregion 21 21 22 namespace HeuristicLab.Clients.OKB {22 namespace HeuristicLab.Clients.OKB.Query { 23 23 partial class EqualityComparisonFilterView { 24 24 /// <summary> -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/EqualityComparisonFilterView.cs
r5604 r5606 24 24 using HeuristicLab.MainForm.WindowsForms; 25 25 26 namespace HeuristicLab.Clients.OKB {26 namespace HeuristicLab.Clients.OKB.Query { 27 27 [View("EqualityComparisonFilter View")] 28 28 public partial class EqualityComparisonFilterView : FilterView { -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/FilterView.Designer.cs
r5604 r5606 20 20 #endregion 21 21 22 namespace HeuristicLab.Clients.OKB {22 namespace HeuristicLab.Clients.OKB.Query { 23 23 partial class FilterView { 24 24 /// <summary> -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/FilterView.cs
r5604 r5606 24 24 using HeuristicLab.MainForm.WindowsForms; 25 25 26 namespace HeuristicLab.Clients.OKB {26 namespace HeuristicLab.Clients.OKB.Query { 27 27 [View("Filter View")] 28 28 [Content(typeof(Filter), true)] -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/NameEqualityComparisonBoolFilterView.Designer.cs
r5604 r5606 20 20 #endregion 21 21 22 namespace HeuristicLab.Clients.OKB {22 namespace HeuristicLab.Clients.OKB.Query { 23 23 partial class NameEqualityComparisonBoolFilterView { 24 24 /// <summary> -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/NameEqualityComparisonBoolFilterView.cs
r5604 r5606 24 24 using HeuristicLab.MainForm.WindowsForms; 25 25 26 namespace HeuristicLab.Clients.OKB {26 namespace HeuristicLab.Clients.OKB.Query { 27 27 [View("NameEqualityComparisonBoolFilter View")] 28 28 [Content(typeof(NameEqualityComparisonBoolFilter), true)] -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/NameOrdinalComparisonDoubleFilterView.Designer.cs
r5604 r5606 20 20 #endregion 21 21 22 namespace HeuristicLab.Clients.OKB {22 namespace HeuristicLab.Clients.OKB.Query { 23 23 partial class NameOrdinalComparisonDoubleFilterView { 24 24 /// <summary> -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/NameOrdinalComparisonDoubleFilterView.cs
r5604 r5606 24 24 using HeuristicLab.MainForm.WindowsForms; 25 25 26 namespace HeuristicLab.Clients.OKB {26 namespace HeuristicLab.Clients.OKB.Query { 27 27 [View("NameOrdinalComparisonDoubleFilter View")] 28 28 [Content(typeof(NameOrdinalComparisonDoubleFilter), true)] -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/NameOrdinalComparisonLongFilterView.Designer.cs
r5604 r5606 20 20 #endregion 21 21 22 namespace HeuristicLab.Clients.OKB {22 namespace HeuristicLab.Clients.OKB.Query { 23 23 partial class NameOrdinalComparisonLongFilterView { 24 24 /// <summary> -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/NameOrdinalComparisonLongFilterView.cs
r5604 r5606 24 24 using HeuristicLab.MainForm.WindowsForms; 25 25 26 namespace HeuristicLab.Clients.OKB {26 namespace HeuristicLab.Clients.OKB.Query { 27 27 [View("NameOrdinalComparisonLongFilter View")] 28 28 [Content(typeof(NameOrdinalComparisonLongFilter), true)] -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/NameStringComparisonAvailableValuesFilterView.Designer.cs
r5604 r5606 20 20 #endregion 21 21 22 namespace HeuristicLab.Clients.OKB {23 partial class NameS etComparisonStringAvailableValuesFilterView {22 namespace HeuristicLab.Clients.OKB.Query { 23 partial class NameStringComparisonAvailableValuesFilterView { 24 24 /// <summary> 25 25 /// Required designer variable. -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/NameStringComparisonAvailableValuesFilterView.cs
r5604 r5606 24 24 using HeuristicLab.MainForm.WindowsForms; 25 25 26 namespace HeuristicLab.Clients.OKB {27 [View("NameS etComparisonStringAvailableValuesFilter View")]28 [Content(typeof(NameS etComparisonStringAvailableValuesFilter), true)]29 public partial class NameS etComparisonStringAvailableValuesFilterView : SetComparisonFilterView {30 public new NameS etComparisonStringAvailableValuesFilter Content {31 get { return (NameS etComparisonStringAvailableValuesFilter)base.Content; }26 namespace HeuristicLab.Clients.OKB.Query { 27 [View("NameStringComparisonAvailableValuesFilter View")] 28 [Content(typeof(NameStringComparisonAvailableValuesFilter), true)] 29 public partial class NameStringComparisonAvailableValuesFilterView : StringComparisonFilterView { 30 public new NameStringComparisonAvailableValuesFilter Content { 31 get { return (NameStringComparisonAvailableValuesFilter)base.Content; } 32 32 set { base.Content = value; } 33 33 } 34 34 35 public NameS etComparisonStringAvailableValuesFilterView() {35 public NameStringComparisonAvailableValuesFilterView() { 36 36 InitializeComponent(); 37 37 } -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/NameStringComparisonFilterView.Designer.cs
r5604 r5606 20 20 #endregion 21 21 22 namespace HeuristicLab.Clients.OKB {23 partial class NameS etComparisonStringFilterView {22 namespace HeuristicLab.Clients.OKB.Query { 23 partial class NameStringComparisonFilterView { 24 24 /// <summary> 25 25 /// Required designer variable. -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/NameStringComparisonFilterView.cs
r5604 r5606 24 24 using HeuristicLab.MainForm.WindowsForms; 25 25 26 namespace HeuristicLab.Clients.OKB {27 [View("NameS etComparisonStringFilter View")]28 [Content(typeof(NameS etComparisonStringFilter), true)]29 public partial class NameS etComparisonStringFilterView : SetComparisonFilterView {30 public new NameS etComparisonStringFilter Content {31 get { return (NameS etComparisonStringFilter)base.Content; }26 namespace HeuristicLab.Clients.OKB.Query { 27 [View("NameStringComparisonFilter View")] 28 [Content(typeof(NameStringComparisonFilter), true)] 29 public partial class NameStringComparisonFilterView : StringComparisonFilterView { 30 public new NameStringComparisonFilter Content { 31 get { return (NameStringComparisonFilter)base.Content; } 32 32 set { base.Content = value; } 33 33 } 34 34 35 public NameS etComparisonStringFilterView() {35 public NameStringComparisonFilterView() { 36 36 InitializeComponent(); 37 37 } -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/OrdinalComparisonFilterView.Designer.cs
r5604 r5606 20 20 #endregion 21 21 22 namespace HeuristicLab.Clients.OKB {22 namespace HeuristicLab.Clients.OKB.Query { 23 23 partial class OrdinalComparisonFilterView { 24 24 /// <summary> -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/OrdinalComparisonFilterView.cs
r5604 r5606 24 24 using HeuristicLab.MainForm.WindowsForms; 25 25 26 namespace HeuristicLab.Clients.OKB {26 namespace HeuristicLab.Clients.OKB.Query { 27 27 [View("OrdinalComparisonFilter View")] 28 28 [Content(typeof(OrdinalComparisonFilter), true)] -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/OrdinalComparisonLongFilterView.Designer.cs
r5604 r5606 20 20 #endregion 21 21 22 namespace HeuristicLab.Clients.OKB {22 namespace HeuristicLab.Clients.OKB.Query { 23 23 partial class OrdinalComparisonLongFilterView { 24 24 /// <summary> -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/OrdinalComparisonLongFilterView.cs
r5604 r5606 24 24 using HeuristicLab.MainForm.WindowsForms; 25 25 26 namespace HeuristicLab.Clients.OKB {26 namespace HeuristicLab.Clients.OKB.Query { 27 27 [View("OrdinalComparisonLongFilter View")] 28 28 [Content(typeof(OrdinalComparisonLongFilter), true)] -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/QueryView.Designer.cs
r5604 r5606 20 20 #endregion 21 21 22 namespace HeuristicLab.Clients.OKB {22 namespace HeuristicLab.Clients.OKB.Query { 23 23 partial class QueryView { 24 24 /// <summary> -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/QueryView.cs
r5604 r5606 22 22 using System; 23 23 using System.IO; 24 using System.Linq;25 24 using System.Threading; 26 25 using System.Threading.Tasks; 27 26 using System.Windows.Forms; 28 27 using HeuristicLab.Core; 29 using HeuristicLab.Data;30 28 using HeuristicLab.MainForm; 31 29 using HeuristicLab.MainForm.WindowsForms; … … 33 31 using HeuristicLab.Persistence.Default.Xml; 34 32 35 namespace HeuristicLab.Clients.OKB {33 namespace HeuristicLab.Clients.OKB.Query { 36 34 [View("OKB Query")] 37 35 [Content(typeof(OKBClient), false)] -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/SetComparisonStringFilterView.Designer.cs
r5604 r5606 20 20 #endregion 21 21 22 namespace HeuristicLab.Clients.OKB {22 namespace HeuristicLab.Clients.OKB.Query { 23 23 partial class SetComparisonStringFilterView { 24 24 /// <summary> -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/SetComparisonStringFilterView.cs
r5604 r5606 24 24 using HeuristicLab.MainForm.WindowsForms; 25 25 26 namespace HeuristicLab.Clients.OKB {26 namespace HeuristicLab.Clients.OKB.Query { 27 27 [View("SetComparisonStringFilter View")] 28 28 [Content(typeof(SetComparisonStringFilter), true)] -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/StringComparisonAvailableValuesFilterView.Designer.cs
r5604 r5606 20 20 #endregion 21 21 22 namespace HeuristicLab.Clients.OKB {23 partial class S etComparisonStringAvailableValuesFilterView {22 namespace HeuristicLab.Clients.OKB.Query { 23 partial class StringComparisonAvailableValuesFilterView { 24 24 /// <summary> 25 25 /// Required designer variable. -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/StringComparisonAvailableValuesFilterView.cs
r5604 r5606 24 24 using HeuristicLab.MainForm.WindowsForms; 25 25 26 namespace HeuristicLab.Clients.OKB {27 [View("S etComparisonStringAvailableValuesFilter View")]28 [Content(typeof(S etComparisonStringAvailableValuesFilter), true)]29 public partial class S etComparisonStringAvailableValuesFilterView : SetComparisonFilterView {30 public new S etComparisonStringAvailableValuesFilter Content {31 get { return (S etComparisonStringAvailableValuesFilter)base.Content; }26 namespace HeuristicLab.Clients.OKB.Query { 27 [View("StringComparisonAvailableValuesFilter View")] 28 [Content(typeof(StringComparisonAvailableValuesFilter), true)] 29 public partial class StringComparisonAvailableValuesFilterView : StringComparisonFilterView { 30 public new StringComparisonAvailableValuesFilter Content { 31 get { return (StringComparisonAvailableValuesFilter)base.Content; } 32 32 set { base.Content = value; } 33 33 } 34 34 35 public S etComparisonStringAvailableValuesFilterView() {35 public StringComparisonAvailableValuesFilterView() { 36 36 InitializeComponent(); 37 37 } -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/StringComparisonFilterView.Designer.cs
r5604 r5606 20 20 #endregion 21 21 22 namespace HeuristicLab.Clients.OKB {23 partial class S etComparisonFilterView {22 namespace HeuristicLab.Clients.OKB.Query { 23 partial class StringComparisonFilterView { 24 24 /// <summary> 25 25 /// Required designer variable. … … 75 75 "<>", 76 76 "contains", 77 "not contains"}); 77 "not contains", 78 "like", 79 "not like"}); 78 80 this.comparisonComboBox.Location = new System.Drawing.Point(3, 2); 79 81 this.comparisonComboBox.Name = "comparisonComboBox"; -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/StringComparisonFilterView.cs
r5604 r5606 24 24 using HeuristicLab.MainForm.WindowsForms; 25 25 26 namespace HeuristicLab.Clients.OKB {27 [View("S etComparisonFilter View")]28 [Content(typeof(S etComparisonFilter), true)]29 public partial class S etComparisonFilterView : FilterView {30 public new S etComparisonFilter Content {31 get { return (S etComparisonFilter)base.Content; }26 namespace HeuristicLab.Clients.OKB.Query { 27 [View("StringComparisonFilter View")] 28 [Content(typeof(StringComparisonFilter), true)] 29 public partial class StringComparisonFilterView : FilterView { 30 public new StringComparisonFilter Content { 31 get { return (StringComparisonFilter)base.Content; } 32 32 set { base.Content = value; } 33 33 } 34 34 35 public S etComparisonFilterView() {35 public StringComparisonFilterView() { 36 36 InitializeComponent(); 37 37 } … … 41 41 comparisonComboBox.SelectedIndex = -1; 42 42 if (Content != null) { 43 if (Content.Comparison == S etComparison.Equal)43 if (Content.Comparison == StringComparison.Equal) 44 44 comparisonComboBox.SelectedItem = "="; 45 else if (Content.Comparison == S etComparison.NotEqual)45 else if (Content.Comparison == StringComparison.NotEqual) 46 46 comparisonComboBox.SelectedItem = "<>"; 47 else if (Content.Comparison == S etComparison.Contains)47 else if (Content.Comparison == StringComparison.Contains) 48 48 comparisonComboBox.SelectedItem = "contains"; 49 else if (Content.Comparison == S etComparison.NotContains)49 else if (Content.Comparison == StringComparison.NotContains) 50 50 comparisonComboBox.SelectedItem = "not contains"; 51 else if (Content.Comparison == StringComparison.Like) 52 comparisonComboBox.SelectedItem = "like"; 53 else if (Content.Comparison == StringComparison.NotLike) 54 comparisonComboBox.SelectedItem = "not like"; 51 55 } 52 56 } … … 60 64 if (Content != null) { 61 65 if (comparisonComboBox.SelectedItem == "=") 62 Content.Comparison = S etComparison.Equal;66 Content.Comparison = StringComparison.Equal; 63 67 else if (comparisonComboBox.SelectedItem == "<>") 64 Content.Comparison = S etComparison.NotEqual;68 Content.Comparison = StringComparison.NotEqual; 65 69 else if (comparisonComboBox.SelectedItem == "contains") 66 Content.Comparison = S etComparison.Contains;70 Content.Comparison = StringComparison.Contains; 67 71 else if (comparisonComboBox.SelectedItem == "not contains") 68 Content.Comparison = SetComparison.NotContains; 72 Content.Comparison = StringComparison.NotContains; 73 else if (comparisonComboBox.SelectedItem == "like") 74 Content.Comparison = StringComparison.Like; 75 else if (comparisonComboBox.SelectedItem == "not like") 76 Content.Comparison = StringComparison.NotLike; 69 77 } 70 78 }
Note: See TracChangeset
for help on using the changeset viewer.