public abstract class AbstractLayerEditor extends Object implements LayerEditor
EMPTY
Modifier | Constructor and Description |
---|---|
protected |
AbstractLayerEditor() |
Modifier and Type | Method and Description |
---|---|
protected abstract JComponent |
createControl()
Creates the editor control for this editor.
|
JComponent |
createControl(Layer layer)
Creates the control for the user interface which is displayed
in the Layer Editor Toolview.
|
protected Layer |
getCurrentLayer() |
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.
|
public final JComponent createControl(Layer layer)
LayerEditor
createControl
in interface LayerEditor
layer
- The layer to create the control for.public void handleEditorAttached()
LayerEditor
handleEditorAttached
in interface LayerEditor
public void handleEditorDetached()
LayerEditor
handleEditorDetached
in interface LayerEditor
public void handleLayerContentChanged()
LayerEditor
handleLayerContentChanged
in interface LayerEditor
protected abstract JComponent createControl()
protected Layer getCurrentLayer()
Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.