рефакторинг. вынес в обобщенную часть бд, но еще не все
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package Visual_DVM_2021.UI.Main;
|
||||
import _VisualDVM.Global;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common_old.UI.Windows.Dialog.DialogFields;
|
||||
import GlobalData.GlobalDatabase;
|
||||
import Visual_DVM_2021.UI.Interface.FormWithSplitters;
|
||||
|
||||
import javax.swing.*;
|
||||
@@ -15,7 +16,7 @@ public class ProfilesFields implements DialogFields, FormWithSplitters {
|
||||
return content;
|
||||
}
|
||||
public ProfilesFields(){
|
||||
Global.db.sapforProfiles.mountUI(profilesPanel);
|
||||
Global.db.sapforProfilesSettings.mountUI(settingsPanel);
|
||||
((GlobalDatabase)CommonUtils.db).sapforProfiles.mountUI(profilesPanel);
|
||||
((GlobalDatabase)CommonUtils.db).sapforProfilesSettings.mountUI(settingsPanel);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user