Package PamController

Class PAMStartupEnabler

java.lang.Object
PamController.PAMStartupEnabler

public class PAMStartupEnabler extends Object
Class to handle some temporary disabling of the PAMGuard start button during creating of objects at startup. this is particulalry needed to handle objects being crated on the FX thread.
Author:
dg50
  • Constructor Details

    • PAMStartupEnabler

      public PAMStartupEnabler()
  • Method Details

    • addDisableCount

      public static void addDisableCount()
      Call to disable the GUI. If you call this, you MUST then call dropDisableCount() or PAMGuard will remain disabled.
    • dropDisableCount

      public static void dropDisableCount()
      Call to enable the GUI. This shold only be called AFTER a call to addDiableCount().