- Timestamp:
- 03/04/11 01:06:26 (14 years ago)
- Location:
- branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views
- Files:
-
- 20 edited
- 8 moved
Legend:
- Unmodified
- Added
- Removed
-
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.