Merge branch 'master' into flex4
[potlatch2.git] / net / systemeD / halcyon / connection / Connection.as
index 8aa80d27198f610456016717002c75825d92ab78..07a43b7037236d6bfc4d6b8b97e8c30a1cc6862a 100644 (file)
@@ -439,7 +439,7 @@ package net.systemeD.halcyon.connection {
             return changeset;
         }
 
-        protected function addTrace(t:Trace):void {
+        public function addTrace(t:Trace):void {
             traces.push(t);
         }
 
@@ -447,6 +447,13 @@ package net.systemeD.halcyon.connection {
             traces = new Vector.<Trace>();
         }
 
+               public function findTrace(id:int):Trace {
+                       for each (var t:Trace in traces) {
+                               if (t.id == id) return t;
+                       }
+                       return null;
+               }
+
         public function getTraces():Vector.<Trace> {
             return traces;
         }