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