C# Class Gbdx.CatalogTokenRefresh

Inheritance: ESRI.ArcGIS.Desktop.AddIns.Button
Datei anzeigen Open project: DigitalGlobe/DGConnect-ESRI

Public Methods

Method Description
CatalogTokenRefresh ( ) : System

Protected Methods

Method Description
OnClick ( ) : void
OnUpdate ( ) : void

Private Methods

Method Description
CheckLayers ( IMap map ) : List>.Dictionary

Sort through the layers and find which ones came from adding Idaho IDs to the map.

CheckSubLayers ( ICompositeLayer layer ) : List

Check for sub layers that have a idaho id for a layer name

CreateWmsMapLayer ( string id, int attempt ) : WMSMapLayerClass
GetLayers ( ) : List
GetToken ( ) : void

Get GBDX Authentication Token to be used in refreshing the WMS layers

RefreshLayer ( string catId, List idahoIds, bool &unRecoverableError ) : IGroupLayer
RemoveLayer ( string layerName ) : void

Search for and delete provided layer.

SublayerVisibleOn ( ILayer layer ) : void

Recursively iterate through the layers and turn their visbility to true

UpdateToken ( ) : void
UpdateTokens ( IMap map ) : void

Method Details

CatalogTokenRefresh() public method

public CatalogTokenRefresh ( ) : System
return System

OnClick() protected method

protected OnClick ( ) : void
return void

OnUpdate() protected method

protected OnUpdate ( ) : void
return void