Package org.esa.snap.ui.layer
Interface LayerEditor
-
- All Known Implementing Classes:
AbstractLayerConfigurationEditor
,AbstractLayerEditor
,FeatureLayerEditor
,GraticuleLayerEditor
,ImageLayerEditor
,NoDataLayerEditor
,TrackLayerEditor
,VectorDataLayerEditor
public interface LayerEditor
An editor for a specific layer type.Note: This API is not public yet and may significantly change in the future. Use it at your own risk.
- Since:
- BEAM 4.6
- Version:
- $Revision$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description static LayerEditor
EMPTY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JComponent
createControl(Layer layer)
Creates the control for the user interface which is displayed in the Layer Editor Toolview.void
handleEditorAttached()
Called y the framework in order to inform this editor that it has been attached to the Layer Editor Toolview.void
handleEditorDetached()
Called y the framework in order to inform this editor that it has been detached from the Layer Editor Toolview.void
handleLayerContentChanged()
Called y the framework in order to inform this editor that the current layer has changed.
-
-
-
Field Detail
-
EMPTY
static final LayerEditor EMPTY
-
-
Method Detail
-
createControl
JComponent createControl(Layer layer)
Creates the control for the user interface which is displayed in the Layer Editor Toolview.- Parameters:
layer
- The layer to create the control for.- Returns:
- The control.
-
handleEditorAttached
void handleEditorAttached()
Called y the framework in order to inform this editor that it has been attached to the Layer Editor Toolview.
-
handleEditorDetached
void handleEditorDetached()
Called y the framework in order to inform this editor that it has been detached from the Layer Editor Toolview.
-
handleLayerContentChanged
void handleLayerContentChanged()
Called y the framework in order to inform this editor that the current layer has changed. Usually the the editor control must be updated in this case.
-
-