Class FlowEditor

    • Constructor Detail

      • FlowEditor

        public FlowEditor()
    • Method Detail

      • isValid

        protected boolean isValid​(String flow)
        Checks whether the flow is valid.
        Parameters:
        flow - the flow to check
        Returns:
        true if valid
      • doRun

        protected void doRun​(com.googlecode.lanterna.gui2.WindowBasedTextGUI context)
        Actual execution.
        Specified by:
        doRun in class AbstractMenuItemDefinition
        Parameters:
        context - the context to use
      • getCategory

        public String getCategory()
        Returns the category of the menu item in which it should appear, i.e., the name of the menu.
        Specified by:
        getCategory in class AbstractMenuItemDefinition
        Returns:
        the category/menu name