рефакторинг хранения окон
This commit is contained in:
@@ -62,9 +62,9 @@ public class SapforTasksPackageTree extends DataTree {
|
||||
SapforVersion_json version = (SapforVersion_json) o;
|
||||
Global.mainModule.set(current, version);
|
||||
if (current.equals(Current.SapforEtalonVersion))
|
||||
UI.getMainWindow().getTestingWindow().ShowCurrentSapforPackageVersionEtalon();
|
||||
Global.mainModule.getUI().getMainWindow().getTestingWindow().ShowCurrentSapforPackageVersionEtalon();
|
||||
else
|
||||
UI.getMainWindow().getTestingWindow().ShowCurrentSapforPackageVersion();
|
||||
Global.mainModule.getUI().getMainWindow().getTestingWindow().ShowCurrentSapforPackageVersion();
|
||||
//--
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@ import Common.Database.Tables.iDBTable;
|
||||
import Common.Visual.DataSetControlForm;
|
||||
import Common.Visual.Tables.TableRenderers;
|
||||
import _VisualDVM.Current;
|
||||
import _VisualDVM.Global;
|
||||
import _VisualDVM.Visual.UI;
|
||||
|
||||
import java.util.Comparator;
|
||||
@@ -52,12 +53,12 @@ public class ServerSapforsDBTable extends iDBTable<ServerSapfor> {
|
||||
@Override
|
||||
public void ShowCurrentObject() throws Exception {
|
||||
super.ShowCurrentObject();
|
||||
UI.getMainWindow().getTestingWindow().ShowCurrentServerSapfor();
|
||||
Global.mainModule.getUI().getMainWindow().getTestingWindow().ShowCurrentServerSapfor();
|
||||
}
|
||||
@Override
|
||||
public void ShowNoCurrentObject() throws Exception {
|
||||
super.ShowNoCurrentObject();
|
||||
UI.getMainWindow().getTestingWindow().ShowNoServerSapfor();
|
||||
Global.mainModule.getUI().getMainWindow().getTestingWindow().ShowNoServerSapfor();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user