продолжение рефакторинга таблиц. перевод меню баров в интерфейс
This commit is contained in:
@@ -47,7 +47,7 @@ public class ServerSapforsDBTable extends iDBTable<ServerSapfor> {
|
||||
}
|
||||
@Override
|
||||
protected DataSetControlForm createUI(JPanel mountPanel) {
|
||||
return new DataSetControlForm(this,mountPanel) {
|
||||
return new DataSetControlForm(this, mountPanel) {
|
||||
@Override
|
||||
protected void AdditionalInitColumns() {
|
||||
// columns.get(0).setVisible(false);
|
||||
@@ -68,6 +68,14 @@ public class ServerSapforsDBTable extends iDBTable<ServerSapfor> {
|
||||
public boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
public DataMenuBar createMenuBar() {
|
||||
return new DataMenuBar(getPluralDescription(),
|
||||
PassCode.CompileServerSapfor,
|
||||
PassCode.ShowSapforCompilationOut,
|
||||
PassCode.ShowSapforCompilationErr,
|
||||
PassCode.DeleteServerSapfor);
|
||||
}
|
||||
};
|
||||
}
|
||||
@Override
|
||||
@@ -81,14 +89,6 @@ public class ServerSapforsDBTable extends iDBTable<ServerSapfor> {
|
||||
// return Comparator.comparingInt(o -> o.).reversed();
|
||||
}
|
||||
@Override
|
||||
public DataMenuBar createMenuBar() {
|
||||
return new DataMenuBar(getPluralDescription(),
|
||||
PassCode.CompileServerSapfor,
|
||||
PassCode.ShowSapforCompilationOut,
|
||||
PassCode.ShowSapforCompilationErr,
|
||||
PassCode.DeleteServerSapfor);
|
||||
}
|
||||
@Override
|
||||
public PassCode_ getDeletePassCode() {
|
||||
return PassCode.DeleteServerSapfor;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user