no message

This commit is contained in:
2023-10-27 22:48:09 +03:00
parent 90fb80f087
commit 7177d02a5e
6 changed files with 76 additions and 12 deletions

View File

@@ -1,7 +1,10 @@
package Visual_DVM_2021.UI.Main;
import Common.Current;
import Common.Global;
import Common.UI.TextField.StyledTextField;
import Common.UI.UI;
import SapforTestingSystem.SapforTasksPackage.SapforTasksPackageInterface;
import SapforTestingSystem.SapforTasksPackage.SapforTasksPackageTree;
import Visual_DVM_2021.UI.Interface.FormWithSplitters;
import Visual_DVM_2021.UI.Interface.TestingWindow;
@@ -41,7 +44,9 @@ public class TestingForm implements FormWithSplitters, TestingWindow {
private JPanel sapforScenariosPanel;
private JPanel serverSapforsPanel;
private JPanel sapforTasksPackagesPanel;
private JTabbedPane sapforPackageTabs;
private JPanel sapforTasksPanel;
private JPanel sapforPackageTreePanel;
private JPanel testsRunTasksBackground;
private JCheckBox filterFinished;
private JButton bTest;
@@ -139,4 +144,17 @@ public class TestingForm implements FormWithSplitters, TestingWindow {
Global.testingServer.account_db.sapforTasksPackages.mountUI(sapforTasksPackagesPanel);
Global.testingServer.account_db.sapforTasks.mountUI(sapforTasksPanel);
}
@Override
public void ShowCurrentSapforTasksPackage() {
UI.Clear(sapforPackageTreePanel);
if (SapforTasksPackageInterface.isLoaded(Current.getSapforTasksPackage())){
sapforPackageTreePanel.add(
new JScrollPane(
new SapforTasksPackageTree(SapforTasksPackageInterface.getTree(Current.getSapforTasksPackage()))));
}
}
@Override
public void ShowNoCurrentSapforTasksPackage() {
UI.Clear(sapforPackageTreePanel);
}
}