Beispiel #1
0
 /// <summary>Processes the open project.</summary>
 /// <param name="obj">The object.</param>
 /// <exception cref="NotImplementedException"></exception>
 private static void ProcessOpenProject(WidgetManager obj)
 {
     if (!obj.widgets.Exists(i => i.GetType() == typeof(ProjectManager)))
     {
         obj.widgets.Add(new ProjectManager(obj.EventHandler, true));
     }
 }
Beispiel #2
0
 /// <summary>Invokes the open console.</summary>
 /// <param name="obj">The object.</param>
 private static void ProcessOpenConsole(WidgetManager obj)
 {
     if (!obj.widgets.Exists(i => i.GetType() == typeof(Console)))
     {
         Console.Current = new Console(obj.EventHandler);
         obj.widgets.Add(Console.Current);
         System.Console.WriteLine("Process Open Console");
     }
 }
Beispiel #3
0
 /// <summary>Processes the exit editor.</summary>
 private static void ProcessExitEditor(WidgetManager obj)
 {
     Environment.Exit(1);
     System.Console.WriteLine("Process Exit Editor");
 }
Beispiel #4
0
 /// <summary>Invokes the close console.</summary>
 /// <param name="obj">The object.</param>
 private static void ProcessCloseConsole(WidgetManager obj)
 {
     obj.widgets.RemoveAll(i => i.GetType() == typeof(Console));
     System.Console.WriteLine("Process Close Console");
 }
Beispiel #5
0
 /// <summary>Processes the creator project.</summary>
 /// <param name="obj">The object.</param>
 private static void ProcessCloseCreatorProject(WidgetManager obj)
 {
     obj.widgets.RemoveAll(i => i.GetType() == typeof(ProjectManager));
     System.Console.WriteLine("Process Creator Project");
 }