public TabBaseViewModel()
{
//properties
LineType = LineTypes.Geodesic;
LineDistanceType = DistanceTypes.Meters;
//commands
ClearGraphicsCommand = new RelayCommand(OnClearGraphics);
ActivateToolCommand = new RelayCommand(OnActivateTool);
EnterKeyCommand = new RelayCommand(OnEnterKeyCommand);
CancelCommand = new RelayCommand(OnCancelCommand);
// Mediator
Mediator.Register(Constants.NEW_MAP_POINT, OnNewMapPointEvent);
Mediator.Register(Constants.MOUSE_MOVE_POINT, OnMouseMoveEvent);
Mediator.Register(Constants.TAB_ITEM_SELECTED, OnTabItemSelected);
}