Class DeveloperModeGUI

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class DeveloperModeGUI extends JPanel
Developer Mode: unit details, a live terminal, unit lookup / ID sweep, and receiver flashing. Shown in the main window under the normal menu bar in place of the show designer view; the project stays loaded underneath.
See Also:
  • Field Details

    • releaseCheckStarted

      private static final AtomicBoolean releaseCheckStarted
    • unitsPanel

      private final UnitsPanel unitsPanel
    • terminalPanel

      private final TerminalPanel terminalPanel
    • lookupPanel

      private final LookupPanel lookupPanel
    • flashPanel

      private final FlashPanel flashPanel
  • Constructor Details

    • DeveloperModeGUI

      public DeveloperModeGUI(DevModeHost host)
  • Method Details

    • start

      public void start()
      Called when Developer Mode is shown.
    • onProjectChanged

      public void onProjectChanged()
      Called after a project is opened while Developer Mode is showing.
    • shutdown

      public void shutdown()
      Called when leaving Developer Mode or closing Emrick Designer: closes ports and stops background work.
    • shutdownForShow

      public void shutdownForShow(long timeoutMs)
      Shuts down so a show can run: closes the terminal, stops reading units, turns off any lookup, and waits (up to timeoutMs) for those to let go of their ports, so the show gets the transmitter. Receivers that are being flashed keep flashing; that never uses the transmitter.
    • isBusy

      public boolean isBusy()
      Returns:
      true if leaving now would interrupt a flash in progress