AttributeColumnsController ac = Lookup.getDefault().lookup(AttributeColumnsController.class);
return ac.getTableRowsCount(table)>0;//Make sure that there is at least 1 row
}
public AttributeColumnsManipulatorUI getUI(AttributeTable table,AttributeColumn column) {
GeneralCreateColumnFromRegexUI ui = new GeneralCreateColumnFromRegexUI();
ui.setMode(GeneralCreateColumnFromRegexUI.Mode.MATCHING_GROUPS);
return ui;
}