продолжение рефакторинга таблиц. перевод меню баров в интерфейс
This commit is contained in:
@@ -34,20 +34,18 @@ public class SapforSettingsDBTable extends iDBTable<SapforSettings> {
|
||||
}
|
||||
@Override
|
||||
protected DataSetControlForm createUI(JPanel mountPanel) {
|
||||
return new DataSetControlForm(this,mountPanel) {
|
||||
return new DataSetControlForm(this, mountPanel) {
|
||||
@Override
|
||||
public boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
protected void AdditionalInitColumns() {
|
||||
/*
|
||||
columns.get(5).setRenderer(TableRenderers.RendererAutoConfiguration);
|
||||
columns.get(5).setEditor(TableEditors.EditorAutoConfiguration);
|
||||
columns.get(5).setMinWidth(25);
|
||||
columns.get(5).setMaxWidth(25);
|
||||
columns.get(6).setMaxWidth(300);
|
||||
*/
|
||||
public DataMenuBar createMenuBar() {
|
||||
return new DataMenuBar(getPluralDescription(),
|
||||
PassCode.PublishSapforSettings,
|
||||
PassCode.CloneSapforSettings,
|
||||
PassCode.EditSapforSettings,
|
||||
PassCode.DeleteSapforSettings);
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -120,14 +118,6 @@ public class SapforSettingsDBTable extends iDBTable<SapforSettings> {
|
||||
return res;
|
||||
}
|
||||
@Override
|
||||
public DataMenuBar createMenuBar() {
|
||||
return new DataMenuBar(getPluralDescription(),
|
||||
PassCode.PublishSapforSettings,
|
||||
PassCode.CloneSapforSettings,
|
||||
PassCode.EditSapforSettings,
|
||||
PassCode.DeleteSapforSettings);
|
||||
}
|
||||
@Override
|
||||
public PassCode_ getDeletePassCode() {
|
||||
return PassCode.DeleteSapforSettings;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user