Interface WorkbenchDocksHandler

  • All Known Implementing Classes:
    AbstractWorkbenchDocksHandler

    public interface WorkbenchDocksHandler
    Component that handles the state of the authoring docks
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void init​(org.uberfire.mvp.Command updateDocksCommand)
      Initializes the handler with the callback Command.
      Collection<org.uberfire.client.workbench.docks.UberfireDock> provideDocks​(String perspectiveIdentifier)
      Provides a Collection containing the UberfireDock that should be displayed when this handler is active
      boolean shouldDisableDocks()
      Determines if the docks should be disabled or not
      boolean shouldRefreshDocks()
      Determines if the docks should be refreshed or not.
    • Method Detail

      • init

        void init​(org.uberfire.mvp.Command updateDocksCommand)
        Initializes the handler with the callback Command. This Command will be executed any time the docks must be refreshed
      • shouldRefreshDocks

        boolean shouldRefreshDocks()
        Determines if the docks should be refreshed or not.
      • shouldDisableDocks

        boolean shouldDisableDocks()
        Determines if the docks should be disabled or not
      • provideDocks

        Collection<org.uberfire.client.workbench.docks.UberfireDock> provideDocks​(String perspectiveIdentifier)
        Provides a Collection containing the UberfireDock that should be displayed when this handler is active