示例#1
0
 void OnActiveToolChanging()
 {
     if (ToolManager.IsActiveTool(this))
     {
         polyUtility.StopEditing();
     }
 }
示例#2
0
            void OnActiveToolChanged()
            {
                var scenePolygon = target as ScenePolygon;

                if (ToolManager.IsActiveTool(this) && IsAvailable() && scenePolygon)
                {
                    polyUtility.StartEditing(scenePolygon);
                }
            }
示例#3
0
            void OnSelectionChanged()
            {
                if (ToolManager.IsActiveTool(this))
                {
                    polyUtility.StopEditing();
                }
                var scenePolygon = target as ScenePolygon;

                if (ToolManager.IsActiveTool(this) && IsAvailable() && scenePolygon != null)
                {
                    polyUtility.StartEditing(scenePolygon);
                }
            }