Exemplo n.º 1
0
 public static void AddTool(EditorTool tool)
 {
     _tools.Add(tool);
 }
Exemplo n.º 2
0
 private void Activate(EditorTool tool)
 {
     tool.Editor = _editor;
     if (tool.Availbable())
     {
         tool.Activated();
         if (tool.StaysActivated)
         {
             tool.Done = false;
             _activeTools.Push(tool);
         }
     }
 }