Package org.esa.snap.ui.assistant
Interface AssistantPage
- All Known Implementing Classes:
- AbstractAssistantPage,- AbstractLayerSourceAssistantPage,- CollectionLayerAssistantPage,- SelectLayerSourceAssistantPage
public interface AssistantPage
An 
It is used by an
AssistantPage is part of a sequence of pages. It is used by an
AssistantPane to assists the user to
 accomplish a specific task by stepping through the pages.- 
Method SummaryModifier and TypeMethodDescriptionbooleanDetermines if the page can finish the current assitant or not.booleancanHelp()Determines if the page can show help information.Gets the current context for this page.Gets the component of the page.Gets the title of the page.booleanvoidCancels the current execution of the assitant.booleanvoidOnly called if @link #canHelp ()} returnstrue.voidsetContext(AssistantPageContext pageContext) Sets the current context for this page.booleanCalled fromAssistantPageContext.updateState()in order to validate user inputs.
- 
Method Details- 
getPageTitleString getPageTitle()Gets the title of the page.- Returns:
- The page title.
 
- 
getPageComponentComponent getPageComponent()Gets the component of the page.- Returns:
- The page component.
 
- 
hasNextPageboolean hasNextPage()- Returns:
- true, if a next page is available
 
- 
getNextPageAssistantPage getNextPage()- Returns:
- the next page, or nullif no next page exists or the page could not be created.
 
- 
validatePageboolean validatePage()Called fromAssistantPageContext.updateState()in order to validate user inputs.- Returns:
- true, if the current page is valid
 
- 
canFinishboolean canFinish()Determines if the page can finish the current assitant or not.- Returns:
- trueif the page can perform finish, otherwise- false
 
- 
performFinishboolean performFinish()- Returns:
- trueif finishing was successful, otherwise- false.
 
- 
performCancelvoid performCancel()Cancels the current execution of the assitant. Implementors shall release allocated resources.
- 
canHelpboolean canHelp()Determines if the page can show help information.- Returns:
- trueif the page can show help information, otherwise- false
 
- 
performHelpvoid performHelp()Only called if @link #canHelp ()} returnstrue.
- 
setContextSets the current context for this page.- Parameters:
- pageContext- The context of the page.
 
- 
getContextAssistantPageContext getContext()Gets the current context for this page.- Returns:
- The context of the page.
 
 
-