перевод тестовых описания данных обратно в таблицы. нужно для обобщения описаний типовых проходов

This commit is contained in:
2024-10-22 19:17:01 +03:00
parent 2edaffd634
commit 2fed433634
63 changed files with 339 additions and 278 deletions

View File

@@ -11,6 +11,14 @@ public class ServerSapforsDBTable extends iDBTable<ServerSapfor> {
super(ServerSapfor.class);
}
@Override
public String getSingleDescription() {
return "версия SAPFOR";
}
@Override
public String getPluralDescription() {
return "версии SAPFOR";
}
@Override
protected DataSetControlForm createUI(JPanel mountPanel) {
return new ServerSapforsForm(this, mountPanel);
}

View File

@@ -20,14 +20,6 @@ public class ServerSapforsForm extends DataSetControlForm<ServerSapfor> {
return Current.ServerSapfor;
}
@Override
protected String getSingleDescription() {
return "версия SAPFOR";
}
@Override
protected String getPluralDescription() {
return "версии SAPFOR";
}
@Override
protected boolean hasCheckBox() {
return true;
}
@@ -71,7 +63,7 @@ public class ServerSapforsForm extends DataSetControlForm<ServerSapfor> {
}
@Override
public DataMenuBar createMenuBar() {
return new DataMenuBar(getPluralDescription(),
return new DataMenuBar(dataSource.getPluralDescription(),
PassCode.CompileServerSapfor,
PassCode.ShowSapforCompilationOut,
PassCode.ShowSapforCompilationErr,