Method | Description | |
---|---|---|
DeactivateTool ( string toolname ) : void |
Method used to deactivate tool
|
|
ProTabBaseViewModel ( ) : System |
Method | Description | |
---|---|---|
AddGraphicToMap ( Geometry geom, CIMColor color, bool IsTempGraphic = false, double size = 1.0, string text = "" ) : System.Threading.Tasks.Task | ||
AddGraphicToMap ( Geometry geom, bool IsTempGraphic = false, double size = 1.0 ) : void | ||
ClearTempGraphics ( ) : void |
Method to clear all temp graphics
|
|
CreateMapElement ( ) : void |
Method is called when a user pressed the "Enter" key or when a second point is created for a line from mouse clicks Derived class must override this method in order to create map elements Clears temp graphics by default
|
|
GetDistanceFromTo ( DistanceTypes fromType, DistanceTypes toType, double input ) : double |
Ugly method to convert to/from different types of distance units
|
|
OnActivateTool ( object obj ) : void | ||
OnCancelCommand ( object obj ) : void | ||
OnClearGraphics ( object obj ) : void |
Clears all the graphics from the maps graphic container Inlucdes temp and map graphics Only removes temp and map graphics that were created by this add-in
|
|
OnEnterKeyCommand ( object obj ) : void |
Handler for the "Enter"key command Calls CreateMapElement
|
|
OnMouseMoveEvent ( object obj ) : void |
Handler for the mouse move event When the mouse moves accross the map, IPoints are returned to aid in updating feedback to user
|
|
OnNewMapPointEvent ( object obj ) : void |
Handler for the new map point click event
|
|
OnTabItemSelected ( object obj ) : void |
Handler for the tab item selected event Helps keep track of which tab item/viewmodel is active
|
|
Reset ( bool toolReset ) : void |
Method used to totally reset the tool reset points, feedback clear out textboxes
|
|
ResetPoints ( ) : void |
Resets Points 1 and 2
|
public DeactivateTool ( string toolname ) : void | ||
toolname | string | |
return | void |