categories of additional tags for roads
[potlatch2.git] / net / systemeD / potlatch2 / mapfeatures / editors / FreeTextEditorFactory.as
1 package net.systemeD.potlatch2.mapfeatures.editors {
2
3     import net.systemeD.halcyon.connection.*;
4     import net.systemeD.potlatch2.mapfeatures.*;
5     import flash.display.*;
6
7         public class FreeTextEditorFactory extends SingleTagEditorFactory {
8             private var _notPresentText:String;
9         
10         public function FreeTextEditorFactory(inputXML:XML) {
11             super(inputXML);
12             _notPresentText = inputXML.hasOwnProperty("@absenceText") ? String(inputXML.@absenceText) : "Unset";
13         }
14         
15         override protected function createSingleTagEditor():SingleTagEditor {
16             return new FreeTextEditor();
17         }
18         
19         public function get notPresentText():String {
20             return _notPresentText;
21         }
22     }
23
24 }
25
26