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 booleancanFinish()Determines if the page can finish the current assitant or not.ComponentcreatePageComponent()Creates the component of this page.AbstractLayerSourceAssistantPagegetNextPage()booleanhasNextPage()booleanperformFinish()booleanvalidatePage()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:AssistantPageCalled fromAssistantPageContext.updateState()in order to validate user inputs.- Specified by:
validatePagein interfaceAssistantPage- Overrides:
validatePagein classAbstractAssistantPage- Returns:
- true, if the current page is valid
-
hasNextPage
public boolean hasNextPage()
- Specified by:
hasNextPagein interfaceAssistantPage- Overrides:
hasNextPagein classAbstractAssistantPage- Returns:
- true, if a next page is available
-
getNextPage
public AbstractLayerSourceAssistantPage getNextPage()
Description copied from interface:AssistantPage- Specified by:
getNextPagein interfaceAssistantPage- Overrides:
getNextPagein classAbstractAssistantPage- Returns:
- the next page, or
nullif no next page exists or the page could not be created.
-
canFinish
public boolean canFinish()
Description copied from interface:AssistantPageDetermines if the page can finish the current assitant or not.- Specified by:
canFinishin interfaceAssistantPage- Overrides:
canFinishin classAbstractAssistantPage- Returns:
trueif the page can perform finish, otherwisefalse
-
performFinish
public boolean performFinish()
Description copied from interface:AssistantPage- Specified by:
performFinishin interfaceAssistantPage- Overrides:
performFinishin classAbstractAssistantPage- Returns:
trueif finishing was successful, otherwisefalse.
-
createPageComponent
public Component createPageComponent()
Description copied from class:AbstractAssistantPageCreates the component of this page.- Specified by:
createPageComponentin classAbstractAssistantPage- Returns:
- The component of this page
-
-