~danilovesky/workcraft/trunk-menu-tools

« back to all changes in this revision

Viewing changes to SONPlugin/src/org/workcraft/plugins/son/tasks/TSONStructureTask.java

  • Committer: Danil Sokolov
  • Date: 2015-05-15 15:46:50 UTC
  • mfrom: (599.1.8 trunk-son-mbson)
  • Revision ID: danilovesky@gmail.com-20150515154650-es3cqmx1x1d4p757
Merge proposal for blueprint son-bson-extension approved.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
        private Collection<ONGroup> groupErrors = new HashSet<ONGroup>();
19
19
        private Collection<Path> cycleErrors = new ArrayList<Path>();
20
20
        
21
 
        private boolean hasErr = false;
22
21
        private int errNumber = 0;
23
22
        private int warningNumber = 0;
24
23
        
49
48
                }               
50
49
                
51
50
                for(Block block : blocks){
52
 
                        infoMsg("Initialising block..." + block);
 
51
                        infoMsg("Initialising block..." + net.getNodeReference(block));
53
52
                        Collection<Node> inputs = getTSONAlg().getBlockInputs(block);
54
53
                        Collection<Node> outputs = getTSONAlg().getBlockOutputs(block);
55
54
                        
77
76
                //block connection task result
78
77
                
79
78
                
80
 
                infoMsg("block structure tasks complete.");
 
79
                infoMsg("Block structure checking tasks complete.");
81
80
 
82
81
        }
83
82
        
94
93
        
95
94
        @Override
96
95
        public Collection<String> getRelationErrors() {
97
 
                return getRelationErrorsSetReferences(relationErrors);
 
96
                return getRelationErrorsSetRefs(relationErrors);
98
97
        }
99
98
 
100
99
        @Override
101
100
        public Collection<ArrayList<String>> getCycleErrors() {
102
 
                return getcycleErrorsSetReferences(cycleErrors);
 
101
                return getCycleErrorsSetRefs(cycleErrors);
103
102
        }
104
103
 
105
104
        @Override
106
105
        public Collection<String> getGroupErrors() {
107
 
                return getGroupErrorsSetReferences(groupErrors);
108
 
        }
109
 
        
110
 
        @Override
111
 
        public boolean hasErr() {
112
 
                return hasErr;
 
106
                return getGroupErrorsSetRefs(groupErrors);
113
107
        }
114
108
 
115
109
        @Override