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
public class SelectLayerSourceAssistantPage extends AbstractLayerSourceAssistantPage
Note: This API is not public yet and may significantly change in the future. Use it at your own risk.
-
-
Constructor Summary
Constructors Constructor Description SelectLayerSourceAssistantPage(LayerSourceDescriptor[] sourceDescriptors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canFinish()
Determines if the page can finish the current assitant or not.Component
createPageComponent()
Creates the component of this page.AbstractLayerSourceAssistantPage
getNextPage()
boolean
hasNextPage()
boolean
performFinish()
boolean
validatePage()
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 Detail
-
SelectLayerSourceAssistantPage
public SelectLayerSourceAssistantPage(LayerSourceDescriptor[] sourceDescriptors)
-
-
Method Detail
-
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
public AbstractLayerSourceAssistantPage 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
public Component createPageComponent()
Description copied from class:AbstractAssistantPage
Creates the component of this page.- Specified by:
createPageComponent
in classAbstractAssistantPage
- Returns:
- The component of this page
-
-