C# Class csCommon.LayersViewModel

Inheritance: Caliburn.Micro.Screen, ILayerSelection
Show file Open project: TNOCS/csTouch Class Usage Examples

Public Methods

Method Description
AddContent ( csShared.Geo.Content.IContent content ) : void
AddLayer ( ) : void
AddTemplate ( PoiService selectedTemplate ) : void
AppState_ScriptCommand ( object sender, string command ) : void
CleanUpLayers ( sLayer &l ) : void
Config ( sLayer l ) : void
ConfigContent ( csShared.Geo.Content.IContent content ) : void
GetWmsLayers ( sWmsLayer li, List &enabled ) : void
Init ( ) : void
LayerMenu ( sLayer layer, FrameworkElement element ) : void
LayerStructureAsString ( ) : string
LayersViewModel ( ) : Caliburn.Micro
ParseEsriLayers ( Layer layer, sLayer &parent, string relativePath, bool include = true ) : void
ParseWmsLayers ( Layer layer, WmsLayer layerinfo, sWmsLayer &parent ) : void
Pause ( ) : void
RemoveContent ( csShared.Geo.Content.IContent content ) : void
Start ( ) : void
Start ( IStartStopLayer layer ) : void
Stop ( ) : void
Stop ( IStartStopLayer layer ) : void
ToggleOpacity ( sLayer layer ) : void
ToggleTab ( sLayer l ) : void
UpdateContent ( ) : void
UpdateExpandState ( sLayer l ) : void
UpdateLayers ( ) : void
UpdateWmsLayer ( sWmsLayer l ) : void
Zoom ( sLayer l ) : void
sbSelect ( ) : void

Protected Methods

Method Description
OnViewLoaded ( object view ) : void

Private Methods

Method Description
ActivateGisLayer ( sLayer l ) : void
DeactivateGisLayer ( sLayer l ) : void
GetLayerType ( sLayer pLayer ) : string
GetMenuItems ( sLayer layer ) : IEnumerable
Indent ( int pCount ) : string
LayerStructureAsString ( int pLevel, sLayer pLayer, StringBuilder &pLog ) : void
LayersViewModel ( System.ComponentModel.Composition.Hosting.CompositionContainer container ) : Caliburn.Micro
MakeDirty ( object sender, System e ) : void
ParseLayers ( Layer layer, sLayer &parent, string relativePath, bool include = true ) : void
dirtyTimer_Tick ( object sender, EventArgs e ) : void
sbSelect_Click ( object sender, System e ) : void
sbZoom_Click ( object sender, System e ) : void
w_Initialized ( object sender, EventArgs e ) : void

Method Details

AddContent() public method

public AddContent ( csShared.Geo.Content.IContent content ) : void
content csShared.Geo.Content.IContent
return void

AddLayer() public method

public AddLayer ( ) : void
return void

AddTemplate() public method

public AddTemplate ( PoiService selectedTemplate ) : void
selectedTemplate PoiService
return void

AppState_ScriptCommand() public method

public AppState_ScriptCommand ( object sender, string command ) : void
sender object
command string
return void

CleanUpLayers() public method

public CleanUpLayers ( sLayer &l ) : void
l sLayer
return void

Config() public method

public Config ( sLayer l ) : void
l sLayer
return void

ConfigContent() public method

public ConfigContent ( csShared.Geo.Content.IContent content ) : void
content csShared.Geo.Content.IContent
return void

GetWmsLayers() public method

public GetWmsLayers ( sWmsLayer li, List &enabled ) : void
li sWmsLayer
enabled List
return void

Init() public method

public Init ( ) : void
return void

LayerMenu() public method

public LayerMenu ( sLayer layer, FrameworkElement element ) : void
layer sLayer
element System.Windows.FrameworkElement
return void

LayerStructureAsString() public method

public LayerStructureAsString ( ) : string
return string

LayersViewModel() public method

public LayersViewModel ( ) : Caliburn.Micro
return Caliburn.Micro

OnViewLoaded() protected method

protected OnViewLoaded ( object view ) : void
view object
return void

ParseEsriLayers() public method

public ParseEsriLayers ( Layer layer, sLayer &parent, string relativePath, bool include = true ) : void
layer Layer
parent sLayer
relativePath string
include bool
return void

ParseWmsLayers() public static method

public static ParseWmsLayers ( Layer layer, WmsLayer layerinfo, sWmsLayer &parent ) : void
layer Layer
layerinfo ESRI.ArcGIS.Client.Toolkit.DataSources.WmsLayer
parent sWmsLayer
return void

Pause() public method

public Pause ( ) : void
return void

RemoveContent() public method

public RemoveContent ( csShared.Geo.Content.IContent content ) : void
content csShared.Geo.Content.IContent
return void

Start() public method

public Start ( ) : void
return void

Start() public method

public Start ( IStartStopLayer layer ) : void
layer IStartStopLayer
return void

Stop() public method

public Stop ( ) : void
return void

Stop() public method

public Stop ( IStartStopLayer layer ) : void
layer IStartStopLayer
return void

ToggleOpacity() public method

public ToggleOpacity ( sLayer layer ) : void
layer sLayer
return void

ToggleTab() public method

public ToggleTab ( sLayer l ) : void
l sLayer
return void

UpdateContent() public method

public UpdateContent ( ) : void
return void

UpdateExpandState() public method

public UpdateExpandState ( sLayer l ) : void
l sLayer
return void

UpdateLayers() public method

public UpdateLayers ( ) : void
return void

UpdateWmsLayer() public method

public UpdateWmsLayer ( sWmsLayer l ) : void
l sWmsLayer
return void

Zoom() public method

public Zoom ( sLayer l ) : void
l sLayer
return void

sbSelect() public static method

public static sbSelect ( ) : void
return void