Class FreezeCommandHandler

    • Method Detail

      • handleFreezeCommand

        protected void handleFreezeCommand​(IFreezeCoordinatesProvider coordinatesProvider,
                                           boolean toggle,
                                           boolean override)
        Performs freeze actions dependent on the coordinates specified by the given IFreezeCoordinatesProvider and the configuration flags. If a freeze state is already active it is checked if this state should be overriden or toggled. Otherwise the freeze state is applied.
        Parameters:
        coordinatesProvider - The IFreezeCoordinatesProvider to retrieve the freeze coordinates from
        toggle - whether to unfreeze if the freeze layer is already in a frozen state
        override - whether to override a current frozen state.
      • handleUnfreeze

        protected void handleUnfreeze()
        Unfreeze a current frozen state.