Class VectorDataLayerEditor
- java.lang.Object
-
- org.esa.snap.ui.layer.AbstractLayerEditor
-
- org.esa.snap.ui.layer.AbstractLayerConfigurationEditor
-
- org.esa.snap.rcp.layermanager.editors.VectorDataLayerEditor
-
- All Implemented Interfaces:
LayerEditor
- Direct Known Subclasses:
TrackLayerEditor
public class VectorDataLayerEditor extends AbstractLayerConfigurationEditor
CustomizableLayerEditor
forVectorDataNode
s.
-
-
Field Summary
-
Fields inherited from interface org.esa.snap.ui.layer.LayerEditor
EMPTY
-
-
Constructor Summary
Constructors Constructor Description VectorDataLayerEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addEditablePropertyDescriptors()
Clients override in order to subsequently callAbstractLayerConfigurationEditor.addPropertyDescriptor(com.bc.ceres.binding.PropertyDescriptor)
for each property that shall be editable by this editor.void
handleEditorAttached()
Does nothing.void
handleEditorDetached()
Does nothing.void
handleLayerContentChanged()
Called y the framework in order to inform this editor that the current layer has changed.protected void
updateProperties(SimpleFeatureFigure[] selectedFigures, com.bc.ceres.swing.binding.BindingContext bindingContext)
protected void
updateProperty(com.bc.ceres.swing.binding.BindingContext bindingContext, String propertyName, Object styleValue)
protected void
updateStyle(com.bc.ceres.swing.binding.BindingContext bindingContext, String propertyName, com.bc.ceres.swing.figure.FigureStyle style)
-
Methods inherited from class org.esa.snap.ui.layer.AbstractLayerConfigurationEditor
addPropertyDescriptor, createControl, getBindingContext
-
Methods inherited from class org.esa.snap.ui.layer.AbstractLayerEditor
createControl, getCurrentLayer
-
-
-
-
Method Detail
-
addEditablePropertyDescriptors
protected void addEditablePropertyDescriptors()
Description copied from class:AbstractLayerConfigurationEditor
Clients override in order to subsequently callAbstractLayerConfigurationEditor.addPropertyDescriptor(com.bc.ceres.binding.PropertyDescriptor)
for each property that shall be editable by this editor.- Specified by:
addEditablePropertyDescriptors
in classAbstractLayerConfigurationEditor
-
handleLayerContentChanged
public void handleLayerContentChanged()
Description copied from interface:LayerEditor
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.- Specified by:
handleLayerContentChanged
in interfaceLayerEditor
- Overrides:
handleLayerContentChanged
in classAbstractLayerConfigurationEditor
-
handleEditorAttached
public void handleEditorAttached()
Description copied from class:AbstractLayerConfigurationEditor
Does nothing.- Specified by:
handleEditorAttached
in interfaceLayerEditor
- Overrides:
handleEditorAttached
in classAbstractLayerConfigurationEditor
-
handleEditorDetached
public void handleEditorDetached()
Description copied from class:AbstractLayerConfigurationEditor
Does nothing.- Specified by:
handleEditorDetached
in interfaceLayerEditor
- Overrides:
handleEditorDetached
in classAbstractLayerConfigurationEditor
-
updateProperties
protected void updateProperties(SimpleFeatureFigure[] selectedFigures, com.bc.ceres.swing.binding.BindingContext bindingContext)
-
updateProperty
protected void updateProperty(com.bc.ceres.swing.binding.BindingContext bindingContext, String propertyName, Object styleValue)
-
updateStyle
protected void updateStyle(com.bc.ceres.swing.binding.BindingContext bindingContext, String propertyName, com.bc.ceres.swing.figure.FigureStyle style)
-
-