no message

This commit is contained in:
2023-10-30 17:05:26 +03:00
parent 67a2795f68
commit 735db1334e
4 changed files with 23 additions and 37 deletions

View File

@@ -1,24 +0,0 @@
package Visual_DVM_2021.UI.Main;
import Common.Current;
import SapforTestingSystem.SapforTask.SapforTask;
//упразднить.
public class SapforTasksComparisonForm extends TasksComparisonForm<SapforTask> {
public SapforTasksComparisonForm(ComparisonForm<SapforTask> slave_in) {
super(SapforTask.class, slave_in);
}
@Override
protected Current getCurrentObjectName() {
return Current.SapforTask;
}
@Override
protected String getTextByTab() {
return "";
}
@Override
protected TasksComparisonState[] getForbiddenStates() {
return new TasksComparisonState[]{
TasksComparisonState.Sts
};
}
}

View File

@@ -232,18 +232,28 @@
</grid>
<grid id="27fda" layout-manager="BorderLayout" hgap="0" vgap="0">
<constraints>
<tabbedpane title="" icon="icons/VersionsTree.png">
<tooltip value="Дерево версий"/>
<tabbedpane title="" icon="icons/Comparsion.png">
<tooltip value="Сравнение пакетов"/>
</tabbedpane>
</constraints>
<properties/>
<border type="none"/>
<children>
<grid id="17ec9" binding="sapforPackageTreePanel" layout-manager="BorderLayout" hgap="0" vgap="0">
<grid id="17ec9" layout-manager="BorderLayout" hgap="0" vgap="0">
<constraints border-constraint="Center"/>
<properties/>
<border type="none"/>
<children/>
<children>
<splitpane id="c2b4" binding="SC64">
<constraints border-constraint="Center"/>
<properties>
<dividerLocation value="350"/>
<dividerSize value="3"/>
</properties>
<border type="none"/>
<children/>
</splitpane>
</children>
</grid>
</children>
</grid>
@@ -257,8 +267,8 @@
<splitpane position="left"/>
</constraints>
<properties>
<minimumSize width="24" height="200"/>
<preferredSize width="204" height="200"/>
<minimumSize width="24" height="100"/>
<preferredSize width="204" height="100"/>
</properties>
<border type="none"/>
<children>

View File

@@ -1,9 +1,7 @@
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 Visual_DVM_2021.UI.Interface.FormWithSplitters;
import Visual_DVM_2021.UI.Interface.TestingWindow;
@@ -23,6 +21,7 @@ public class TestingForm implements FormWithSplitters, TestingWindow {
public JSplitPane SC56;
public JSplitPane SC63;
public JSplitPane SC59;
public JSplitPane SC64;
//-
//---
private JTabbedPane testingTabs;
@@ -45,7 +44,6 @@ public class TestingForm implements FormWithSplitters, TestingWindow {
private JPanel sapforTasksPackagesPanel;
private JTabbedPane sapforPackageTabs;
private JPanel sapforTasksPanel;
private JPanel sapforPackageTreePanel;
private JPanel testsRunTasksBackground;
private JCheckBox filterFinished;
private JButton bTest;
@@ -145,6 +143,7 @@ public class TestingForm implements FormWithSplitters, TestingWindow {
}
@Override
public void ShowCurrentSapforTasksPackage() {
/*
UI.Clear(sapforPackageTreePanel);
if (SapforTasksPackageInterface.isLoaded(Current.getSapforTasksPackage())){
sapforPackageTreePanel.add(
@@ -153,9 +152,11 @@ public class TestingForm implements FormWithSplitters, TestingWindow {
// new JScrollPane(new SapforTasksPackageTree(SapforTasksPackageInterface.getTree(Current.getSapforTasksPackage())))
;
}
*/
}
@Override
public void ShowNoCurrentSapforTasksPackage() {
UI.Clear(sapforPackageTreePanel);
// UI.Clear(sapforPackageTreePanel);
}
}