Class TerminalModule


  • public class TerminalModule
    extends java.lang.Object
    Class for the Terminal plug-in for every Module model.
    Author:
    Christopher Mindus
    • Constructor Detail

      • TerminalModule

        public TerminalModule​(ModuleFolderPropCnr cnr)
        Creates the Terminal Module for the Module project.
        Parameters:
        cnr - The module folder container.
    • Method Detail

      • getInstance

        public static TerminalModule getInstance​(ModuleFolderPropCnr cnr)
        Gets this instance for a Terminal Module enabled and initialized project.
        Parameters:
        cnr - The module folder container.
        Returns:
        null if not found.
      • getInstance

        public static TerminalModule getInstance​(DesignerProp dp)
        Gets this instance for a Terminal Module enabled and initialized project.
        Parameters:
        dp - The Designer property.
        Returns:
        null if not found.
      • dispose

        public void dispose()
        Disposes of the Terminal Module for the project.
      • getScreens

        public EditorScreenProp[] getScreens​(boolean includeErrors)
        Gets all screens in all folders.
        Parameters:
        includeErrors - Flag to also include screens that contains property errors.
        Returns:
        The screens, never null.