Class AbstractBasicMenuItemDefinition

    • Constructor Detail

      • AbstractBasicMenuItemDefinition

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

        public AbstractBasicMenuItemDefinition​(AbstractApplicationFrame owner)
        Initializes the menu item.
        Parameters:
        owner - the owning application
    • Method Detail

      • getUseThread

        protected boolean getUseThread()
        Whether to use a simple runnable for launching or a separate thread.
        Returns:
        true if to use separate thread
      • preLaunch

        public void preLaunch()
        Hook method that gets executed just before calling "launch()".

        Default implementation does nothing.
      • launch

        public abstract void launch()
        Launches the functionality of the menu item.
      • postLaunch

        public void postLaunch()
        Hook method that gets executed just after calling "launch()".

        Default implementation does nothing.