org.esa.beam.framework.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$
Author:
Norman Fomferra

Field Summary
static LayerEditor EMPTY
           
 
Method Summary
 JComponent createControl(AppContext appContext, com.bc.ceres.glayer.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(AppContext appContext,
                         com.bc.ceres.glayer.Layer layer)
Creates the control for the user interface which is displayed in the Layer Editor Toolview.

Parameters:
appContext - the application context
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.



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