отображение файлов вывода (парса и преобразования)

This commit is contained in:
2023-11-02 23:27:38 +03:00
parent f20eec07b0
commit 6dbece2d92
3 changed files with 17 additions and 15 deletions

View File

@@ -11,8 +11,6 @@ public class SapforTasksPackageTree extends DataTree {
public SapforTasksPackageTree(DefaultMutableTreeNode root_in, Current current_in) {
super(root_in);
current = current_in;
// setRootVisible(false);
// CollapseAll();
}
@Override
protected int getStartLine() {
@@ -27,21 +25,11 @@ public class SapforTasksPackageTree extends DataTree {
}
@Override
public void SelectionAction(TreePath e) {
// System.out.println("Select " + current);
DefaultMutableTreeNode node = (DefaultMutableTreeNode) e.getLastPathComponent();
// Current.set(Current.ProjectNode, node);
Object o = node.getUserObject();
if (o instanceof SapforVersion_json) {
SapforVersion_json version = (SapforVersion_json) o;
Current.set(current, version);
/*
System.out.println(version.version+" files: "+version.files.size());
for (ProjectFile file: version.files){
System.out.println(Utils.Brackets(file));
}
System.out.println("---");
*/
if (current.equals(Current.SapforEtalonVersion))
UI.getMainWindow().getTestingWindow().ShowCurrentSapforPackageVersionEtalon();
else