перевод тестовых описания данных обратно в таблицы. нужно для обобщения описаний типовых проходов
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user