File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
base/uk.ac.stfc.isis.ibex.ui.scriptgenerator/src/uk/ac/stfc/isis/ibex/ui/scriptgenerator Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 2727
2828import uk .ac .stfc .isis .ibex .scriptgenerator .row .Row ;
2929import uk .ac .stfc .isis .ibex .scriptgenerator .row .WaitUnit ;
30+ import uk .ac .stfc .isis .ibex .ui .tables .ColumnComparator ;
3031import uk .ac .stfc .isis .ibex .ui .tables .DataboundCellLabelProvider ;
3132import uk .ac .stfc .isis .ibex .ui .tables .DataboundTable ;
33+ import uk .ac .stfc .isis .ibex .ui .tables .NullComparator ;
3234import uk .ac .stfc .isis .ibex .ui .widgets .DoubleEditingSupportBlankIfNull ;
3335import uk .ac .stfc .isis .ibex .ui .widgets .StringEditingSupport ;
3436import uk .ac .stfc .isis .ibex .ui .widgets .WaitEditingSupport ;
@@ -274,4 +276,12 @@ private void addRowIfNull(Row row) {
274276 setRows (rows );
275277 }
276278 }
279+
280+ /**
281+ * Get the comparator for the columns. The script generator requires a null comparator.
282+ * @return The comparator for the table.
283+ */
284+ protected ColumnComparator <Row > comparator () {
285+ return new NullComparator <>();
286+ }
277287}
You can’t perform that action at this time.
0 commit comments