Changeset 6675 for branches/GP.Grammar.Editor/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/ClusteringSolutionView.cs
- Timestamp:
- 08/22/11 09:35:06 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GP.Grammar.Editor/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/ClusteringSolutionView.cs
r6647 r6675 25 25 namespace HeuristicLab.Problems.DataAnalysis.Views { 26 26 [View("ClusteringSolution View")] 27 [Content(typeof(ClusteringSolution), true)]27 [Content(typeof(ClusteringSolution), false)] 28 28 public partial class ClusteringSolutionView : DataAnalysisSolutionView { 29 29 public ClusteringSolutionView() { … … 35 35 set { base.Content = value; } 36 36 } 37 38 #region drag and drop 39 protected override void itemsListView_DragEnter(object sender, DragEventArgs e) { 40 validDragOperation = false; 41 if (!ReadOnly && (e.Data.GetData(HeuristicLab.Common.Constants.DragDropDataFormat) is ClusteringProblemData)) { 42 validDragOperation = true; 43 } 44 } 45 #endregion 37 46 } 38 47 }
Note: See TracChangeset
for help on using the changeset viewer.