Package org.esa.snap.ui.assistant
Interface AssistantPageContext
-
- All Known Subinterfaces:
LayerSourcePageContext
- All Known Implementing Classes:
AssistantPane
,LayerSourceAssistantPane
public interface AssistantPageContext
Instances of this interface provide the context for implementations ofAssistantPage
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssistantPage
getCurrentPage()
Gets the currently displayedpage
.Window
getWindow()
The window in which theAssistantPage
is shown.void
setCurrentPage(AssistantPage page)
Sets the currently displayedpage
.void
showErrorDialog(String message)
Shows an error dialog with the given message.void
updateState()
Forces an updated of the state.
-
-
-
Method Detail
-
getWindow
Window getWindow()
The window in which theAssistantPage
is shown.- Returns:
- The window.
-
getCurrentPage
AssistantPage getCurrentPage()
Gets the currently displayedpage
.- Returns:
- The current page.
-
setCurrentPage
void setCurrentPage(AssistantPage page)
Sets the currently displayedpage
. 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.
-
-