перевод тестовых описания данных обратно в таблицы. нужно для обобщения описаний типовых проходов
This commit is contained in:
@@ -11,6 +11,14 @@ public class EnvironmentValuesDBTable extends iDBTable<EnvironmentValue> {
|
||||
super(EnvironmentValue.class);
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
return "переменная окружения";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
return "переменные окружения";
|
||||
}
|
||||
@Override
|
||||
protected DataSetControlForm createUI(JPanel mountPanel) {
|
||||
return new EnvironmentsValuesForm(this, mountPanel);
|
||||
}
|
||||
|
||||
@@ -19,14 +19,6 @@ public class EnvironmentsValuesForm extends DataSetControlForm<EnvironmentValue>
|
||||
return Current.EnvironmentValue;
|
||||
}
|
||||
@Override
|
||||
protected String getSingleDescription() {
|
||||
return "переменная окружения";
|
||||
}
|
||||
@Override
|
||||
protected String getPluralDescription() {
|
||||
return "переменные окружения";
|
||||
}
|
||||
@Override
|
||||
public String[] getUIColumnNames() {
|
||||
return new String[]{
|
||||
"имя",
|
||||
@@ -48,7 +40,7 @@ public class EnvironmentsValuesForm extends DataSetControlForm<EnvironmentValue>
|
||||
}
|
||||
@Override
|
||||
public DataMenuBar createMenuBar() {
|
||||
return new DataMenuBar(getPluralDescription(),
|
||||
return new DataMenuBar(dataSource.getPluralDescription(),
|
||||
PassCode.AddEnvironmentValue,
|
||||
PassCode.EditEnvironmentValue,
|
||||
PassCode.DeleteEnvironmentValue,
|
||||
|
||||
Reference in New Issue
Block a user