перевод тестовых описания данных обратно в таблицы. нужно для обобщения описаний типовых проходов
This commit is contained in:
@@ -17,6 +17,14 @@ public class SapforProfilesDBTable extends iDBTable<SapforProfile> {
|
||||
super(SapforProfile.class);
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
return "профили SAPFOR";
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
return "профиль SAPFOR";
|
||||
}
|
||||
@Override
|
||||
protected DataSetControlForm createUI(JPanel mountPanel) {
|
||||
return new SapforProfilesForm(this, mountPanel);
|
||||
}
|
||||
|
||||
@@ -19,14 +19,6 @@ public class SapforProfilesForm extends DataSetControlForm<SapforProfile> {
|
||||
return Current.SapforProfile;
|
||||
}
|
||||
@Override
|
||||
protected String getPluralDescription() {
|
||||
return "профили SAPFOR";
|
||||
}
|
||||
@Override
|
||||
protected String getSingleDescription() {
|
||||
return "профиль SAPFOR";
|
||||
}
|
||||
@Override
|
||||
protected boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@@ -50,7 +42,7 @@ public class SapforProfilesForm extends DataSetControlForm<SapforProfile> {
|
||||
}
|
||||
@Override
|
||||
public DataMenuBar createMenuBar() {
|
||||
return new DataMenuBar(getPluralDescription(),
|
||||
return new DataMenuBar(dataSource.getPluralDescription(),
|
||||
PassCode.SaveProfile,
|
||||
PassCode.EditProfile,
|
||||
PassCode.ApplyProfile,
|
||||
|
||||
Reference in New Issue
Block a user