internal void SaveToView(dappleview.serversType oServers) { dappleview.builderentryType oVEEntry = oServers.Newbuilderentry(); dappleview.virtualearthType oVEType = oVEEntry.Newvirtualearth(); oVEType.Addname(new Altova.Types.SchemaString("Virtual Earth")); oVEEntry.Addvirtualearth(oVEType); oServers.Addbuilderentry(oVEEntry); }
internal void SaveToView(dappleview.serversType oServers) { dappleview.builderentryType oImageEntry = oServers.Newbuilderentry(); dappleview.builderdirectoryType oImageDir = oImageEntry.Newbuilderdirectory(); oImageDir.Addname(new Altova.Types.SchemaString("Image Tile Servers")); oImageDir.Addspecialcontainer(new dappleview.SpecialDirectoryType("ImageServers")); foreach (ImageTileSetModelNode oTileSets in UnfilteredChildren) { oTileSets.SaveToView(oImageDir); } oImageEntry.Addbuilderdirectory(oImageDir); oServers.Addbuilderentry(oImageEntry); }
internal void SaveToView(Dapple.DappleView oView) { dappleview.serversType oServers = oView.View.Newservers(); m_oDAPRootNode.SaveToView(oServers); m_oTileRootNode.SaveToView(oServers); m_oVERootNode.SaveToView(oServers); dappleview.builderentryType oWMSBuilder = oServers.Newbuilderentry(); dappleview.builderdirectoryType oWMSDir = oWMSBuilder.Newbuilderdirectory(); oWMSDir.Addname(new Altova.Types.SchemaString("WMS Servers")); oWMSDir.Addspecialcontainer(new dappleview.SpecialDirectoryType("WMSServers")); m_oWMSRootNode.SaveToView(oWMSDir); m_oArcIMSRootNode.SaveToView(oWMSDir); oWMSBuilder.Addbuilderdirectory(oWMSDir); oServers.Addbuilderentry(oWMSBuilder); oView.View.Addservers(oServers); }
internal void SaveToView(dappleview.serversType oServers) { dappleview.builderentryType oDAPBuilder = oServers.Newbuilderentry(); dappleview.builderdirectoryType oDAPDir = oDAPBuilder.Newbuilderdirectory(); oDAPDir.Addname(new Altova.Types.SchemaString("DAP Servers")); oDAPDir.Addspecialcontainer(new dappleview.SpecialDirectoryType("DAPServers")); foreach (DapServerModelNode oChild in UnfilteredChildren) { dappleview.builderentryType oChildEntry = oDAPDir.Newbuilderentry(); dappleview.dapcatalogType oChildCatalog = oChildEntry.Newdapcatalog(); oChildCatalog.Addurl(new Altova.Types.SchemaString(oChild.Uri.ToBaseUri())); oChildCatalog.Addenabled(new Altova.Types.SchemaBoolean(oChild.Enabled)); oChildEntry.Adddapcatalog(oChildCatalog); oDAPDir.Addbuilderentry(oChildEntry); } oDAPBuilder.Addbuilderdirectory(oDAPDir); oServers.Addbuilderentry(oDAPBuilder); }