-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