Interface ILcyWorkspaceManagerListener

All Superinterfaces:
EventListener

public interface ILcyWorkspaceManagerListener extends EventListener
Listener that will be informed about changes in a TLcyWorkspaceManager.
  • Method Details

    • workspaceStatusChanged

      void workspaceStatusChanged(TLcyWorkspaceManagerEvent aEvent)
      This method is invoked when a TLcyWorkspaceManager is changed.
      Parameters:
      aEvent - The event describing the change.
    • onDecodingStarted

      static ILcyWorkspaceManagerListener onDecodingStarted(Runnable aRunnable)
      Utility method to create a new ILcyWorkspaceManagerListener which will trigger aRunnable each time the listener receives an event of type TLcyWorkspaceManagerEvent.STARTING_WORKSPACE_DECODING.
      Parameters:
      aRunnable - The runnable to execute. Note that this runnable is executed on the thread that performs the workspace decoding.
      Returns:
      a new ILcyWorkspaceManagerListener
      Since:
      2017.0
    • onDecodingEnded

      static ILcyWorkspaceManagerListener onDecodingEnded(Runnable aRunnable)
      Utility method to create a new ILcyWorkspaceManagerListener which will trigger aRunnable each time the listener receives an event of type TLcyWorkspaceManagerEvent.WORKSPACE_DECODING_ENDED.
      Parameters:
      aRunnable - The runnable to execute. Note that this runnable is executed on the thread that performs the workspace decoding.
      Returns:
      a new ILcyWorkspaceManagerListener
      Since:
      2017.0
    • onEncodingStarted

      static ILcyWorkspaceManagerListener onEncodingStarted(Runnable aRunnable)
      Utility method to create a new ILcyWorkspaceManagerListener which will trigger aRunnable each time the listener receives an event of type TLcyWorkspaceManagerEvent.STARTING_WORKSPACE_ENCODING.
      Parameters:
      aRunnable - The runnable to execute. Note that this runnable is executed on the thread that performs the workspace encoding.
      Returns:
      a new ILcyWorkspaceManagerListener
      Since:
      2017.0
    • onEncodingEnded

      static ILcyWorkspaceManagerListener onEncodingEnded(Runnable aRunnable)
      Utility method to create a new ILcyWorkspaceManagerListener which will trigger aRunnable each time the listener receives an event of type TLcyWorkspaceManagerEvent.WORKSPACE_ENCODING_ENDED.
      Parameters:
      aRunnable - The runnable to execute. Note that this runnable is executed on the thread that performs the workspace encoding.
      Returns:
      a new ILcyWorkspaceManagerListener
      Since:
      2017.0