Package org.esa.snap.ui.layer
Class LayerSourceAssistantPane
- java.lang.Object
-
- org.esa.snap.ui.assistant.AssistantPane
-
- org.esa.snap.ui.layer.LayerSourceAssistantPane
-
- All Implemented Interfaces:
AssistantPageContext,LayerSourcePageContext
public class LayerSourceAssistantPane extends AssistantPane implements LayerSourcePageContext
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 LayerSourceAssistantPane(Window parent, String title)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LayerContextgetLayerContext()Gets thelayer contextof the selected view.LayerSourcegetLayerSource()Gets theLayerSourceof this assistant.ObjectgetPropertyValue(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 class org.esa.snap.ui.assistant.AssistantPane
getCurrentPage, getWindow, setCurrentPage, show, show, showErrorDialog, updateState
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.esa.snap.ui.assistant.AssistantPageContext
getCurrentPage, getWindow, setCurrentPage, showErrorDialog, updateState
-
-
-
-
Method Detail
-
getLayerContext
public LayerContext getLayerContext()
Description copied from interface:LayerSourcePageContextGets thelayer contextof the selected view.- Specified by:
getLayerContextin interfaceLayerSourcePageContext- Returns:
- The
layer contextof the selected view.
-
setLayerSource
public void setLayerSource(LayerSource layerSource)
Description copied from interface:LayerSourcePageContextSets theLayerSourceof this assistant.- Specified by:
setLayerSourcein interfaceLayerSourcePageContext- Parameters:
layerSource- TheLayerSourceof this assistant.
-
getLayerSource
public LayerSource getLayerSource()
Description copied from interface:LayerSourcePageContextGets theLayerSourceof this assistant.- Specified by:
getLayerSourcein interfaceLayerSourcePageContext- Returns:
- The
LayerSourceof this assistant.
-
getPropertyValue
public Object getPropertyValue(String key)
Description copied from interface:LayerSourcePageContextGets the value for the given key.- Specified by:
getPropertyValuein interfaceLayerSourcePageContext- Parameters:
key- The key of the property.- Returns:
- The value of the property.
-
setPropertyValue
public void setPropertyValue(String key, Object value)
Description copied from interface:LayerSourcePageContextSets the value for the given key.- Specified by:
setPropertyValuein interfaceLayerSourcePageContext- Parameters:
key- The key of the property.value- The value of the property.
-
-