Class AbstractURLMenuItemDefinition

    • Constructor Detail

      • AbstractURLMenuItemDefinition

        public AbstractURLMenuItemDefinition()
        Initializes the menu item with no owner.
      • AbstractURLMenuItemDefinition

        public AbstractURLMenuItemDefinition​(adams.terminal.application.AbstractTerminalApplication owner)
        Initializes the menu item.
        Parameters:
        owner - the owning application
    • Method Detail

      • getURL

        protected abstract String getURL()
        The URL to open in a browser.
        Returns:
        the URL
      • doRun

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