Class ProjectFactory


  • public final class ProjectFactory
    extends java.lang.Object
    Factory for load project, create project, and create "not-loaded" project. TODO: change exception handling
    • Method Detail

      • createNotLoadedProject

        public static void createNotLoadedProject()
      • createProject

        public static void createProject​(ProjectProperties newProps)
        Create new project.
      • loadProject

        public static boolean loadProject​(ProjectProperties props,
                                          boolean onlineMode)
        Loads project in a "big" sense -- loads project's properties, glossaries, tms, source files etc.
        Parameters:
        props - properties for new project
        Returns:
        whether the project was successfully loaded or not
      • closeProject

        public static void closeProject()
        Close current project.