C# Class ProAppVisibilityModule.ViewModels.ProLOSBaseViewModel

Inheritance: ProTabBaseViewModel
Datei anzeigen Open project: Esri/visibility-addin-dotnet

Private Properties

Property Type Description
DeletePoints void
IsValidPoint bool
OnActivateTool void
OnDeleteAllPointsCommand void
OnDeletePointCommand void
OnDisplayCoordinateTypeChanged void
OnEditPropertiesDialogCommand void
OnNewMapPointEvent void
Reset void

Public Methods

Method Description
ProLOSBaseViewModel ( ) : System

Private Methods

Method Description
DeletePoints ( List observers ) : void
IsValidPoint ( MapPoint point, bool showPopup = false ) : bool

Method to check to see point is withing the currently selected surface returns true if there is no surface selected or point is contained by layer AOI returns false if the point is not contained in the layer AOI

OnActivateTool ( object obj ) : void

Method called when the map TOC is updated Reset surface names

Override this method to implement a "Mode" to separate the input of observer points and target points

OnDeleteAllPointsCommand ( object obj ) : void
OnDeletePointCommand ( object obj ) : void

Command method to delete points

OnDisplayCoordinateTypeChanged ( object obj ) : void

Method used to reset the currently selected surfacename Use when toc items or map changes, on tab selection changed, etc

Method to handle the display coordinate type change Need to update the list boxes

OnEditPropertiesDialogCommand ( object obj ) : void

Handler for opening the edit properties dialog

OnNewMapPointEvent ( object obj ) : void

Override this event to collect observer points based on tool mode

Reset ( bool toolReset ) : void

Method used to check to see if a point is contained by an envelope

Method to get a z offset distance in the correct units for the map

Method to get a ISurface from a map with layer name

returns ILayer if found in the map layer collection

Method to get all the names of the raster/tin layers that support ISurface we use this method to populate a combobox for input selection of surface layer

Override to add aditional items in the class to reset tool

Method Details

ProLOSBaseViewModel() public method

public ProLOSBaseViewModel ( ) : System
return System