Package com.iizigo.term.project
Class TerminalModule
- java.lang.Object
- com.iizigo.term.project.TerminalModule
public class TerminalModule extends java.lang.Object
Class for the Terminal plug-in for every Module model.- Author:
- Christopher Mindus
Constructor Summary
Constructors Constructor Description TerminalModule(ModuleFolderPropCnr cnr)
Creates the Terminal Module for the Module project.
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Disposes of the Terminal Module for the project.static TerminalModule
getInstance(ModuleFolderPropCnr cnr)
Gets this instance for a Terminal Module enabled and initialized project.static TerminalModule
getInstance(DesignerProp dp)
Gets this instance for a Terminal Module enabled and initialized project.EditorScreenProp[]
getScreens(boolean includeErrors)
Gets all screens in all folders.
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.