Package org.esa.snap.ui.layer
Class AbstractLayerConfigurationEditor
- java.lang.Object
- 
- org.esa.snap.ui.layer.AbstractLayerEditor
- 
- org.esa.snap.ui.layer.AbstractLayerConfigurationEditor
 
 
- 
- All Implemented Interfaces:
- LayerEditor
 - Direct Known Subclasses:
- GraticuleLayerEditor,- ImageLayerEditor,- NoDataLayerEditor,- VectorDataLayerEditor
 
 public abstract class AbstractLayerConfigurationEditor extends AbstractLayerEditor Base class for editors allowing to modify a layer's configuration.- Since:
- BEAM 4.6
 
- 
- 
Field Summary- 
Fields inherited from interface org.esa.snap.ui.layer.LayerEditorEMPTY
 
- 
 - 
Constructor SummaryConstructors Constructor Description AbstractLayerConfigurationEditor()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidaddEditablePropertyDescriptors()Clients override in order to subsequently calladdPropertyDescriptor(com.bc.ceres.binding.PropertyDescriptor)for each property that shall be editable by this editor.protected voidaddPropertyDescriptor(PropertyDescriptor propertyDescriptor)Defines an editable property.JComponentcreateControl()Creates the editor control for this editor.protected com.bc.ceres.swing.binding.BindingContextgetBindingContext()voidhandleEditorAttached()Does nothing.voidhandleEditorDetached()Does nothing.voidhandleLayerContentChanged()Called y the framework in order to inform this editor that the current layer has changed.- 
Methods inherited from class org.esa.snap.ui.layer.AbstractLayerEditorcreateControl, getCurrentLayer
 
- 
 
- 
- 
- 
Method Detail- 
getBindingContextprotected final com.bc.ceres.swing.binding.BindingContext getBindingContext() - Returns:
- The binding context.
 
 - 
createControlpublic JComponent createControl() Description copied from class:AbstractLayerEditorCreates the editor control for this editor.- Specified by:
- createControlin class- AbstractLayerEditor
- Returns:
- The editor control.
 
 - 
handleLayerContentChangedpublic void handleLayerContentChanged() Description copied from interface:LayerEditorCalled 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:
- handleLayerContentChangedin interface- LayerEditor
- Overrides:
- handleLayerContentChangedin class- AbstractLayerEditor
 
 - 
handleEditorAttachedpublic void handleEditorAttached() Does nothing.- Specified by:
- handleEditorAttachedin interface- LayerEditor
- Overrides:
- handleEditorAttachedin class- AbstractLayerEditor
 
 - 
handleEditorDetachedpublic void handleEditorDetached() Does nothing.- Specified by:
- handleEditorDetachedin interface- LayerEditor
- Overrides:
- handleEditorDetachedin class- AbstractLayerEditor
 
 - 
addEditablePropertyDescriptorsprotected abstract void addEditablePropertyDescriptors() Clients override in order to subsequently calladdPropertyDescriptor(com.bc.ceres.binding.PropertyDescriptor)for each property that shall be editable by this editor.
 - 
addPropertyDescriptorprotected final void addPropertyDescriptor(PropertyDescriptor propertyDescriptor) Defines an editable property.- Parameters:
- propertyDescriptor- The property's descriptor.
 
 
- 
 
-