Remove unnecessary public call, and add notes about future plans
authorAndy Allan <gravitystorm@gmail.com>
Fri, 15 Oct 2010 17:20:25 +0000 (17:20 +0000)
committerAndy Allan <gravitystorm@gmail.com>
Fri, 15 Oct 2010 17:20:25 +0000 (17:20 +0000)
TODO.txt
net/systemeD/halcyon/connection/Trace.as

index 5ebe386..b1c617d 100644 (file)
--- a/TODO.txt
+++ b/TODO.txt
@@ -69,7 +69,6 @@ Potlatch 2: main outstanding issues
 * Rework the loading text
 * Have a remove button for removing loaded traces
 * Have a check button for simplifying traces
-* Refactor the importer.as so that downloading the files can be done via the connection, not just directly
 
 Requested enhancements
 ----------------------
index c408f9a..7eb5787 100644 (file)
@@ -54,11 +54,8 @@ package net.systemeD.halcyon.connection {
             return tags.join(", ");
         }
 
-        public function get traceData():XML {
-            return XML(_traceData);
-        }
-
         private function fetchFromServer():void {
+            // todo - needs proper error handling
             Connection.getConnectionInstance().fetchTrace(id, saveTraceData);
             dispatchEvent(new Event("loading_data"));
         }
@@ -77,6 +74,8 @@ package net.systemeD.halcyon.connection {
         }
 
         public function addToMap():void {
+            // this allows adding and removing traces from the map, without re-downloading
+            // the data from the server repeatedly.
             if (!_isLoaded) {
               addEventListener("loaded_data", processEvent);
               fetchFromServer();
@@ -86,6 +85,10 @@ package net.systemeD.halcyon.connection {
             }
         }
 
+        public function removeFromMap():void {
+            //todo
+        }
+
         private function processEvent(e:Event):void {
             process();
         }