parallelise
[potlatch2.git] / net / systemeD / potlatch2 / Toolbox.as
index 94232bdf406b2e9cb09f3a61b9f9db603343057b..d4de447bc5beee866f7aa85e8877214a29a060b3 100644 (file)
@@ -16,6 +16,7 @@ package net.systemeD.potlatch2 {
                ** Should float above tagViewer, not beneath it
                ** Icons should be disabled depending on what's selected (setEntity can do this)
                ** Remove annoying Illustrator cruft from SVG icons!
                ** Should float above tagViewer, not beneath it
                ** Icons should be disabled depending on what's selected (setEntity can do this)
                ** Remove annoying Illustrator cruft from SVG icons!
+               ** Tooltips
 
        */
 
 
        */
 
@@ -93,6 +94,12 @@ package net.systemeD.potlatch2 {
                                controller.setState(SelectedWayNode(controller.state).splitWay());
                        }
                }
                                controller.setState(SelectedWayNode(controller.state).splitWay());
                        }
                }
+               
+               public function doParallelise():void {
+                       if (entity is Way) {
+                               controller.setState(new SelectedParallelWay(Way(entity)));
+                       }
+               }
 
        }
 }
 
        }
 }