Class WindFieldLayerSource
java.lang.Object
org.esa.snap.rcp.layermanager.layersrc.windfield.WindFieldLayerSource
- All Implemented Interfaces:
LayerSource
A source for
WindFieldLayers.- Since:
- BEAM 4.6
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel(LayerSourcePageContext pageContext) Aborts the operation of this layer source.booleancanFinish(LayerSourcePageContext pageContext) Checks whether this layer source can perform its finishing method without further information.getFirstPage(LayerSourcePageContext pageContext) Returns the first page (of possible many) of the assistant that belongs to this layer source.booleanbooleanisApplicable(LayerSourcePageContext pageContext) Check if this layer source is applicable to the current context.booleanperformFinish(LayerSourcePageContext pageContext) Adds one or more layers to the given context
-
Constructor Details
-
WindFieldLayerSource
public WindFieldLayerSource()
-
-
Method Details
-
isApplicable
Description copied from interface:LayerSourceCheck if this layer source is applicable to the current context.- Specified by:
isApplicablein interfaceLayerSource- Parameters:
pageContext- The current context.- Returns:
- true, if this layer source is applicable.
-
hasFirstPage
public boolean hasFirstPage()- Specified by:
hasFirstPagein interfaceLayerSource- Returns:
- true, if this layer source has assistant pages.
-
getFirstPage
Description copied from interface:LayerSourceReturns the first page (of possible many) of the assistant that belongs to this layer source. The given context can be interrogated to decide which page to return.- Specified by:
getFirstPagein interfaceLayerSource- Parameters:
pageContext- The current context.- Returns:
- the first assistant page.
-
canFinish
Description copied from interface:LayerSourceChecks whether this layer source can perform its finishing method without further information.- Specified by:
canFinishin interfaceLayerSource- Parameters:
pageContext- The current context.- Returns:
- true, if finish can be called.
-
performFinish
Description copied from interface:LayerSourceAdds one or more layers to the given context- Specified by:
performFinishin interfaceLayerSource- Parameters:
pageContext- The current context.- Returns:
- true, if the method completed successfully
-
cancel
Description copied from interface:LayerSourceAborts the operation of this layer source. This method is responsible for freeing all resources acquired by the layer source.- Specified by:
cancelin interfaceLayerSource- Parameters:
pageContext- The current context.
-