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 LayerContext
getLayerContext()
Gets thelayer context
of the selected view.LayerSource
getLayerSource()
Gets theLayerSource
of this assistant.Object
getPropertyValue(String key)
Gets the value for the given key.void
setLayerSource(LayerSource layerSource)
Sets theLayerSource
of this assistant.void
setPropertyValue(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:LayerSourcePageContext
Gets thelayer context
of the selected view.- Specified by:
getLayerContext
in interfaceLayerSourcePageContext
- Returns:
- The
layer context
of the selected view.
-
setLayerSource
public void setLayerSource(LayerSource layerSource)
Description copied from interface:LayerSourcePageContext
Sets theLayerSource
of this assistant.- Specified by:
setLayerSource
in interfaceLayerSourcePageContext
- Parameters:
layerSource
- TheLayerSource
of this assistant.
-
getLayerSource
public LayerSource getLayerSource()
Description copied from interface:LayerSourcePageContext
Gets theLayerSource
of this assistant.- Specified by:
getLayerSource
in interfaceLayerSourcePageContext
- Returns:
- The
LayerSource
of this assistant.
-
getPropertyValue
public Object getPropertyValue(String key)
Description copied from interface:LayerSourcePageContext
Gets the value for the given key.- Specified by:
getPropertyValue
in 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:LayerSourcePageContext
Sets the value for the given key.- Specified by:
setPropertyValue
in interfaceLayerSourcePageContext
- Parameters:
key
- The key of the property.value
- The value of the property.
-
-