рефакторинг. инкапсуляция таблиц бд

This commit is contained in:
2024-10-17 17:22:33 +03:00
parent 17c2644766
commit e34778d6be
65 changed files with 145 additions and 103 deletions

View File

@@ -309,7 +309,7 @@ public class DataSetControlForm extends ControlWithCurrentForm<DataTable> {
FKBehaviour behaviour = table.getFKDependencies().get(dep);
switch (behaviour.ui) {
case ACTIVE:
table.getDb().tables.get(dep).ShowUI();
table.getDb().getTable(dep).ShowUI();
break;
case PASSIVE:
break;
@@ -325,7 +325,7 @@ public class DataSetControlForm extends ControlWithCurrentForm<DataTable> {
FKBehaviour behaviour = table.getFKDependencies().get(dep);
switch (behaviour.ui) {
case ACTIVE:
table.getDb().tables.get(dep).ClearUI();
table.getDb().getTable(dep).ClearUI();
break;
case PASSIVE:
break;

View File

@@ -1,6 +1,4 @@
package Common.Visual.Menus;
import Common.Visual.Menus.StyledPopupMenu;
import Common.Visual.Menus.VisualiserMenuItem;
import Common.Visual.Trees.StyledTree;
import javax.swing.*;

View File

@@ -1,8 +1,8 @@
package Common.Visual.Trees;
import Common.MainModule_;
import Common.Visual.Fonts.VisualiserFonts;
import Common.Visual.Themes.ThemeElement;
import Common.Visual.Menus.GraphMenu;
import Common.Visual.Themes.ThemeElement;
import javax.swing.*;
import javax.swing.tree.DefaultMutableTreeNode;