перенос метода получающего поле объекта для отображения
This commit is contained in:
@@ -63,4 +63,14 @@ public class Machine extends iDBObject {
|
||||
"--help"
|
||||
));
|
||||
*/
|
||||
|
||||
@Override
|
||||
public Object getFieldAt(int columnIndex) {
|
||||
switch (columnIndex) {
|
||||
case 2:
|
||||
return getURL();
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -140,15 +140,6 @@ public class MachinesDBTable extends iDBTable<Machine> {
|
||||
};
|
||||
}
|
||||
@Override
|
||||
public Object getFieldAt(Machine object, int columnIndex) {
|
||||
switch (columnIndex) {
|
||||
case 2:
|
||||
return object.getURL();
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
return Current.Machine;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user