org.esa.beam.visat.toolviews.layermanager.editors
Class VectorDataLayerEditor

java.lang.Object
  extended by org.esa.beam.framework.ui.layer.AbstractLayerEditor
      extended by org.esa.beam.framework.ui.layer.AbstractLayerConfigurationEditor
          extended by org.esa.beam.visat.toolviews.layermanager.editors.VectorDataLayerEditor
All Implemented Interfaces:
LayerEditor
Direct Known Subclasses:
TrackLayerEditor

public class VectorDataLayerEditor
extends AbstractLayerConfigurationEditor

Customizable LayerEditor for VectorDataNodes.

Author:
Marco Peters, Norman Fomferra

Field Summary
 
Fields inherited from interface org.esa.beam.framework.ui.layer.LayerEditor
EMPTY
 
Constructor Summary
VectorDataLayerEditor()
           
 
Method Summary
protected  void addEditablePropertyDescriptors()
          Clients override in order to subsequently call AbstractLayerConfigurationEditor.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.beam.framework.ui.layer.AbstractLayerConfigurationEditor
addPropertyDescriptor, createControl, getBindingContext
 
Methods inherited from class org.esa.beam.framework.ui.layer.AbstractLayerEditor
createControl, getAppContext, getCurrentLayer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VectorDataLayerEditor

public VectorDataLayerEditor()
Method Detail

addEditablePropertyDescriptors

protected void addEditablePropertyDescriptors()
Description copied from class: AbstractLayerConfigurationEditor
Clients override in order to subsequently call AbstractLayerConfigurationEditor.addPropertyDescriptor(com.bc.ceres.binding.PropertyDescriptor) for each property that shall be editable by this editor.

Specified by:
addEditablePropertyDescriptors in class AbstractLayerConfigurationEditor

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 interface LayerEditor
Overrides:
handleLayerContentChanged in class AbstractLayerConfigurationEditor

handleEditorAttached

public void handleEditorAttached()
Description copied from class: AbstractLayerConfigurationEditor
Does nothing.

Specified by:
handleEditorAttached in interface LayerEditor
Overrides:
handleEditorAttached in class AbstractLayerConfigurationEditor

handleEditorDetached

public void handleEditorDetached()
Description copied from class: AbstractLayerConfigurationEditor
Does nothing.

Specified by:
handleEditorDetached in interface LayerEditor
Overrides:
handleEditorDetached in class AbstractLayerConfigurationEditor

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)


Copyright © 2002-2013 Brockmann Consult GmbH. All Rights Reserved.