]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.browsing.ui.nattable/src/org/simantics/browsing/ui/nattable/RowSelectionItem.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.browsing.ui.nattable / src / org / simantics / browsing / ui / nattable / RowSelectionItem.java
index 2d0b8e33b43865907c1e4c0f2617124815e69f85..3d943a0922967c31540e62257b727638f1229e14 100644 (file)
@@ -1,29 +1,29 @@
-package org.simantics.browsing.ui.nattable;\r
-\r
-import org.simantics.browsing.ui.swt.AdaptableHintContext;\r
-import org.simantics.db.layer0.SelectionHints;\r
-\r
-public class RowSelectionItem extends AdaptableHintContext {\r
-       int rowIndex;\r
-       int columnIndex[];\r
-       TreeNode item;\r
-       \r
-       public RowSelectionItem(TreeNode item, int rowIndex, int columnIndex[]) {\r
-               super(SelectionHints.KEY_MAIN);\r
-               this.item = item;\r
-               this.rowIndex = rowIndex;\r
-               this.columnIndex = columnIndex;\r
-               setHint(SelectionHints.KEY_MAIN,item);\r
-       }\r
-       \r
-       public TreeNode getItem() {\r
-               return item;\r
-       }\r
-       public int getRowIndex() {\r
-               return rowIndex;\r
-       }\r
-       \r
-       public int[] getColumnIndex() {\r
-               return columnIndex;\r
-       }\r
+package org.simantics.browsing.ui.nattable;
+
+import org.simantics.browsing.ui.swt.AdaptableHintContext;
+import org.simantics.db.layer0.SelectionHints;
+
+public class RowSelectionItem extends AdaptableHintContext {
+       int rowIndex;
+       int columnIndex[];
+       TreeNode item;
+       
+       public RowSelectionItem(TreeNode item, int rowIndex, int columnIndex[]) {
+               super(SelectionHints.KEY_MAIN);
+               this.item = item;
+               this.rowIndex = rowIndex;
+               this.columnIndex = columnIndex;
+               setHint(SelectionHints.KEY_MAIN,item);
+       }
+       
+       public TreeNode getItem() {
+               return item;
+       }
+       public int getRowIndex() {
+               return rowIndex;
+       }
+       
+       public int[] getColumnIndex() {
+               return columnIndex;
+       }
 }
\ No newline at end of file