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(dappleview.builderdirectoryType oDir)
        {
            dappleview.builderentryType oSetEntry = oDir.Newbuilderentry();
            dappleview.tileserversetType oSet = oSetEntry.Newtileserverset();
            oSet.Addname(new Altova.Types.SchemaString(m_strName));
            dappleview.tilelayersType oLayers = oSet.Newtilelayers();

            foreach (ImageTileLayerModelNode oTileLayer in UnfilteredChildren)
            {
                oTileLayer.SaveToView(oLayers);
            }

            oSet.Addtilelayers(oLayers);
            oSetEntry.Addtileserverset(oSet);
            oDir.Addbuilderentry(oSetEntry);
        }
Beispiel #3
0
        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);
        }
Beispiel #4
0
        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);
        }
Beispiel #5
0
        internal void SaveToView(dappleview.builderdirectoryType oWMSDir)
        {
            foreach (WMSServerModelNode oChild in UnfilteredChildren)
            {
                dappleview.builderentryType oChildEntry = oWMSDir.Newbuilderentry();
                dappleview.wmscatalogType oChildCatalog = oChildEntry.Newwmscatalog();

                oChildCatalog.Addcapabilitiesurl(new Altova.Types.SchemaString(oChild.Uri.ToBaseUri()));
                oChildCatalog.Addenabled(new Altova.Types.SchemaBoolean(oChild.Enabled));

                oChildEntry.Addwmscatalog(oChildCatalog);
                oWMSDir.Addbuilderentry(oChildEntry);
            }
        }