перенос метода получающего поле объекта для отображения

This commit is contained in:
2024-10-20 13:34:38 +03:00
parent dc53ecd6c8
commit f13a9cda2e
76 changed files with 721 additions and 612 deletions

View File

@@ -191,4 +191,19 @@ public class Compiler extends iDBObject {
public String getVersionInfo() {
return "v=" + version + " r=" + revision;
}
//
@Override
public Object getFieldAt(int columnIndex) {
switch (columnIndex) {
case 2:
return description;
case 3:
return call_command;
case 4:
return version;
case 5:
return revision;
}
return null;
}
}

View File

@@ -159,20 +159,6 @@ public class CompilersDBTable extends iDBTable<Compiler> {
};
}
@Override
public Object getFieldAt(Compiler object, int columnIndex) {
switch (columnIndex) {
case 2:
return object.description;
case 3:
return object.call_command;
case 4:
return object.version;
case 5:
return object.revision;
}
return null;
}
@Override
public Current CurrentName() {
return Current.Compiler;
}