fix. был баг в пути запаковки пакета при скачивании

This commit is contained in:
2023-10-26 20:46:03 +03:00
parent b309745e35
commit cd439030e8
7 changed files with 24 additions and 8 deletions

View File

@@ -2,6 +2,7 @@ package Visual_DVM_2021.Passes.All;
import Common.Current;
import Common.UI.UI;
import SapforTestingSystem.SapforTasksPackage.SapforTasksPackage;
import TestingSystem.TasksPackage.TasksPackageState;
import Visual_DVM_2021.Passes.Pass_2021;
public class ShowSapforTaskPackage extends Pass_2021<SapforTasksPackage> {
@Override
@@ -14,9 +15,12 @@ public class ShowSapforTaskPackage extends Pass_2021<SapforTasksPackage> {
}
@Override
protected boolean canStart(Object... args) throws Exception {
if (Current.Check(Log, Current.SapforTasksPackage)){
if (Current.Check(Log, Current.SapforTasksPackage)) {
target = Current.getSapforTasksPackage();
return true;
if (!target.state.equals(TasksPackageState.Done)) {
Log.Writeln_("Пакет не завершен!");
} else
return true;
}
return false;
}

View File

@@ -104,6 +104,12 @@
</component>
</children>
</toolbar>
<grid id="a1b9a" binding="treePanel" layout-manager="BorderLayout" hgap="0" vgap="0">
<constraints border-constraint="Center"/>
<properties/>
<border type="none"/>
<children/>
</grid>
</children>
</grid>
<grid id="98e2e" layout-manager="BorderLayout" hgap="0" vgap="0">

View File

@@ -13,6 +13,7 @@ public class SapforPackageFields implements DialogFields, FormWithSplitters {
private JButton bPrevious;
private JButton bNext;
private JButton bCompare;
private JPanel treePanel;
public JPanel getContent() {
return content;
}