Class SelectLayerSourceAssistantPage
java.lang.Object
org.esa.snap.ui.assistant.AbstractAssistantPage
org.esa.snap.ui.layer.AbstractLayerSourceAssistantPage
org.esa.snap.rcp.layermanager.layersrc.SelectLayerSourceAssistantPage
- All Implemented Interfaces:
AssistantPage
Note: This API is not public yet and may significantly change in the future. Use it at your own risk.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Determines if the page can finish the current assitant or not.Creates the component of this page.boolean
boolean
boolean
Called fromAssistantPageContext.updateState()
in order to validate user inputs.Methods inherited from class org.esa.snap.ui.layer.AbstractLayerSourceAssistantPage
getContext, performCancel
Methods inherited from class org.esa.snap.ui.assistant.AbstractAssistantPage
canHelp, getPageComponent, getPageTitle, performHelp, setContext
-
Constructor Details
-
SelectLayerSourceAssistantPage
-
-
Method Details
-
validatePage
public boolean validatePage()Description copied from interface:AssistantPage
Called fromAssistantPageContext.updateState()
in order to validate user inputs.- Specified by:
validatePage
in interfaceAssistantPage
- Overrides:
validatePage
in classAbstractAssistantPage
- Returns:
- true, if the current page is valid
-
hasNextPage
public boolean hasNextPage()- Specified by:
hasNextPage
in interfaceAssistantPage
- Overrides:
hasNextPage
in classAbstractAssistantPage
- Returns:
- true, if a next page is available
-
getNextPage
Description copied from interface:AssistantPage
- Specified by:
getNextPage
in interfaceAssistantPage
- Overrides:
getNextPage
in classAbstractAssistantPage
- Returns:
- the next page, or
null
if no next page exists or the page could not be created.
-
canFinish
public boolean canFinish()Description copied from interface:AssistantPage
Determines if the page can finish the current assitant or not.- Specified by:
canFinish
in interfaceAssistantPage
- Overrides:
canFinish
in classAbstractAssistantPage
- Returns:
true
if the page can perform finish, otherwisefalse
-
performFinish
public boolean performFinish()Description copied from interface:AssistantPage
- Specified by:
performFinish
in interfaceAssistantPage
- Overrides:
performFinish
in classAbstractAssistantPage
- Returns:
true
if finishing was successful, otherwisefalse
.
-
createPageComponent
Description copied from class:AbstractAssistantPage
Creates the component of this page.- Specified by:
createPageComponent
in classAbstractAssistantPage
- Returns:
- The component of this page
-