Interface AssistantPageContext

All Known Subinterfaces:
LayerSourcePageContext
All Known Implementing Classes:
AssistantPane, LayerSourceAssistantPane

public interface AssistantPageContext
Instances of this interface provide the context for implementations of AssistantPage.
  • Method Details

    • getWindow

      Window getWindow()
      The window in which the AssistantPage is shown.
      Returns:
      The window.
    • getCurrentPage

      AssistantPage getCurrentPage()
      Gets the currently displayed page.
      Returns:
      The current page.
    • setCurrentPage

      void setCurrentPage(AssistantPage page)
      Sets the currently displayed page. Should only be called by the framwoerk.
      Parameters:
      page - The current page.
    • updateState

      void updateState()
      Forces an updated of the state.
    • showErrorDialog

      void showErrorDialog(String message)
      Shows an error dialog with the given message.
      Parameters:
      message - The error message to display.