Package org.esa.snap.ui.layer
Interface LayerSourcePageContext
- All Superinterfaces:
AssistantPageContext
- All Known Implementing Classes:
LayerSourceAssistantPane
Instances of this interface provide the context for implementations of
AbstractLayerSourceAssistantPage.
Note: This API is not public yet and may significantly change in the future. Use it at your own risk.
-
Method Summary
Modifier and TypeMethodDescriptionGets thelayer contextof the selected view.Gets theLayerSourceof this assistant.getPropertyValue(String key) Gets the value for the given key.voidsetLayerSource(LayerSource layerSource) Sets theLayerSourceof this assistant.voidsetPropertyValue(String key, Object value) Sets the value for the given key.Methods inherited from interface org.esa.snap.ui.assistant.AssistantPageContext
getCurrentPage, getWindow, setCurrentPage, showErrorDialog, updateState
-
Method Details
-
getLayerContext
LayerContext getLayerContext()Gets thelayer contextof the selected view.- Returns:
- The
layer contextof the selected view.
-
setLayerSource
Sets theLayerSourceof this assistant.- Parameters:
layerSource- TheLayerSourceof this assistant.
-
getLayerSource
LayerSource getLayerSource()Gets theLayerSourceof this assistant.- Returns:
- The
LayerSourceof this assistant.
-
getPropertyValue
Gets the value for the given key.- Parameters:
key- The key of the property.- Returns:
- The value of the property.
-
setPropertyValue
Sets the value for the given key.- Parameters:
key- The key of the property.value- The value of the property.
-