public Object getValue() {
ProgramDefinitions definitions = new ProgramDefinitions();
for (int i = 0; i < programTable.getRowCount(); i++) {
String extension = (String) programTable.getValueAt(i, 0, true);
String program = (String) programTable.getValueAt(i, 1, true);
ProgramDefinition definition = new ProgramDefinition(extension, program);
definitions.add(definition);
}
return definitions;
}