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

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

@@ -256,4 +256,26 @@ public class RunConfiguration extends iDBObject {
}
return res;
}
@Override
public Object getFieldAt(int columnIndex) {
switch (columnIndex) {
case 1:
return LauncherCall;
case 2:
return LauncherOptions;
case 3:
return dim;
case 4:
return printCube();
case 5:
return minMatrix;
case 6:
return maxMatrix;
case 7:
return args;
default:
return null;
}
}
}

View File

@@ -152,27 +152,6 @@ public class RunConfigurationsDBTable extends iDBTable<RunConfiguration> {
};
}
@Override
public Object getFieldAt(RunConfiguration object, int columnIndex) {
switch (columnIndex) {
case 1:
return object.LauncherCall;
case 2:
return object.LauncherOptions;
case 3:
return object.dim;
case 4:
return object.printCube();
case 5:
return object.minMatrix;
case 6:
return object.maxMatrix;
case 7:
return object.args;
default:
return null;
}
}
@Override
public Current CurrentName() {
return Current.RunConfiguration;
}