if __name__ == "__main__":
    import gaphor
    from gaphor import core
    from gaphor.services.actionmanager import ActionManager
    from gaphor.plugins.alignment import Alignment
    from gaphor.services.componentregistry import ComponentRegistry
    from gaphor.ui.consolewindow import ConsoleWindow
    from gaphor.services.copyservice import CopyService
    from gaphor.services.diagramexportmanager import DiagramExportManager
    from gaphor.plugins.diagramlayout import DiagramLayout
    from gaphor.ui.mainwindow import Diagrams
    from gaphor.UML.elementfactory import ElementFactory
    from gaphor.ui.elementeditor import ElementEditor
    from gaphor.services.eventmanager import EventManager
    from gaphor.services.filemanager import FileManager
    from gaphor.services.helpservice import HelpService
    from gaphor.ui.mainwindow import MainWindow
    from gaphor.ui.mainwindow import Namespace
    from gaphor.services.properties import Properties
    from gaphor.plugins.pynsource import PyNSource
    from gaphor.services.sanitizerservice import SanitizerService
    from gaphor.ui.mainwindow import Toolbox
    from gaphor.services.undomanager import UndoManager
    from gaphor.plugins.xmiexport import XMIExport

    gaphor.main()

if __name__ == "__main__":
    import gaphor
    from gaphor import core
    from gaphor.services.componentregistry import ComponentRegistry
    from gaphor.ui.consolewindow import ConsoleWindow
    from gaphor.services.copyservice import CopyService
    from gaphor.plugins.diagramlayout import DiagramLayout
    from gaphor.ui.mainwindow import Diagrams
    from gaphor.UML.elementfactory import ElementFactory
    from gaphor.ui.elementeditor import ElementEditor
    from gaphor.services.eventmanager import EventManager
    from gaphor.services.helpservice import HelpService
    from gaphor.ui.mainwindow import MainWindow
    from gaphor.services.properties import Properties
    from gaphor.plugins.pynsource import PyNSource
    from gaphor.services.sanitizerservice import SanitizerService
    from gaphor.services.undomanager import UndoManager
    from gaphor.plugins.xmiexport import XMIExport

    gaphor.main()

Fix mypy import errors due to removed services
Fix mypy import errors due to removed services

Signed-off-by: Dan Yeaw <2591e5f46f28d303f9dc027d475a5c60d8dea17a@yeaw.me>

  if __name__ == "__main__":
      import gaphor
      from gaphor import core
-     from gaphor.services.actionmanager import ActionManager
-     from gaphor.plugins.alignment import Alignment
      from gaphor.services.componentregistry import ComponentRegistry
      from gaphor.ui.consolewindow import ConsoleWindow
      from gaphor.services.copyservice import CopyService
-     from gaphor.services.diagramexportmanager import DiagramExportManager
      from gaphor.plugins.diagramlayout import DiagramLayout
      from gaphor.ui.mainwindow import Diagrams
      from gaphor.UML.elementfactory import ElementFactory
      from gaphor.ui.elementeditor import ElementEditor
      from gaphor.services.eventmanager import EventManager
-     from gaphor.services.filemanager import FileManager
      from gaphor.services.helpservice import HelpService
      from gaphor.ui.mainwindow import MainWindow
-     from gaphor.ui.mainwindow import Namespace
      from gaphor.services.properties import Properties
      from gaphor.plugins.pynsource import PyNSource
      from gaphor.services.sanitizerservice import SanitizerService
-     from gaphor.ui.mainwindow import Toolbox
      from gaphor.services.undomanager import UndoManager
      from gaphor.plugins.xmiexport import XMIExport
  
      gaphor.main()
  
Fix mypy import errors due to removed services
## Code Before:
if __name__ == "__main__":
    import gaphor
    from gaphor import core
    from gaphor.services.actionmanager import ActionManager
    from gaphor.plugins.alignment import Alignment
    from gaphor.services.componentregistry import ComponentRegistry
    from gaphor.ui.consolewindow import ConsoleWindow
    from gaphor.services.copyservice import CopyService
    from gaphor.services.diagramexportmanager import DiagramExportManager
    from gaphor.plugins.diagramlayout import DiagramLayout
    from gaphor.ui.mainwindow import Diagrams
    from gaphor.UML.elementfactory import ElementFactory
    from gaphor.ui.elementeditor import ElementEditor
    from gaphor.services.eventmanager import EventManager
    from gaphor.services.filemanager import FileManager
    from gaphor.services.helpservice import HelpService
    from gaphor.ui.mainwindow import MainWindow
    from gaphor.ui.mainwindow import Namespace
    from gaphor.services.properties import Properties
    from gaphor.plugins.pynsource import PyNSource
    from gaphor.services.sanitizerservice import SanitizerService
    from gaphor.ui.mainwindow import Toolbox
    from gaphor.services.undomanager import UndoManager
    from gaphor.plugins.xmiexport import XMIExport

    gaphor.main()

## Instruction:
Fix mypy import errors due to removed services
## Code After:
if __name__ == "__main__":
    import gaphor
    from gaphor import core
    from gaphor.services.componentregistry import ComponentRegistry
    from gaphor.ui.consolewindow import ConsoleWindow
    from gaphor.services.copyservice import CopyService
    from gaphor.plugins.diagramlayout import DiagramLayout
    from gaphor.ui.mainwindow import Diagrams
    from gaphor.UML.elementfactory import ElementFactory
    from gaphor.ui.elementeditor import ElementEditor
    from gaphor.services.eventmanager import EventManager
    from gaphor.services.helpservice import HelpService
    from gaphor.ui.mainwindow import MainWindow
    from gaphor.services.properties import Properties
    from gaphor.plugins.pynsource import PyNSource
    from gaphor.services.sanitizerservice import SanitizerService
    from gaphor.services.undomanager import UndoManager
    from gaphor.plugins.xmiexport import XMIExport

    gaphor.main()
