1 <?xml version="1.0" encoding="utf-8"?>
3 xmlns:fx="http://ns.adobe.com/mxml/2009"
4 xmlns:mx="library://ns.adobe.com/flex/mx"
5 paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10"
6 horizontalAlign="left" backgroundColor="white" borderStyle="inset">
8 <mx:List width="100%" height="100%" id="mapStyle"
10 change="FlexGlobals.topLevelApplication.styleButton.close(); Stylesheets.instance().setStylesheet(mapStyle.selectedItem.name, mapStyle.selectedItem.url);"
11 dataProvider="{Stylesheets.instance().getCollection()}"
12 rowCount="{Stylesheets.instance().getCollection().length}" />
14 <mx:Button label="Edit..." click="FlexGlobals.topLevelApplication.styleButton.close(); new BackgroundDialog().init('Map style',mapStyle,Stylesheets.instance());" />
17 import net.systemeD.halcyon.*;
18 import net.systemeD.halcyon.connection.*;
19 import net.systemeD.potlatch2.*;
20 import net.systemeD.potlatch2.collections.Stylesheets;