org.esa.beam.framework.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 of AssistantPage.


Method Summary
 AssistantPage getCurrentPage()
          Gets the currently displayed page.
 Window getWindow()
          The window in which the AssistantPage is shown.
 void setCurrentPage(AssistantPage page)
          Sets the currently displayed page.
 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 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.


Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.