продолжение рефакторинга таблиц. перевод меню баров в интерфейс

This commit is contained in:
2024-10-17 21:24:55 +03:00
parent debc1a6cae
commit 452c023f1d
45 changed files with 515 additions and 510 deletions

View File

@@ -20,7 +20,7 @@ public class MessagesDBTable<M extends Message> extends iDBTable<M> {
@Override
protected DataSetControlForm createUI(JPanel mountPanel) {
DataSet dataset = this;
return new DataSetControlForm(this,mountPanel) {
return new DataSetControlForm(this, mountPanel) {
@Override
public void ShowCurrentObject() throws Exception {
super.ShowCurrentObject();
@@ -54,6 +54,10 @@ public class MessagesDBTable<M extends Message> extends iDBTable<M> {
// sorter.setSortKeys(sortKeys);
// sorter.sort();
}
@Override
public boolean hasMenuBar() {
return false;
}
};
}
@Override
@@ -77,8 +81,4 @@ public class MessagesDBTable<M extends Message> extends iDBTable<M> {
public Comparator<M> getComparator() {
return Comparator.comparingInt(o -> o.line);
}
@Override
public boolean hasMenuBar() {
return false;
}
}