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)
LayerEditorcreateControl in interface LayerEditorlayer - The layer to create the control for.public void handleEditorAttached()
LayerEditorhandleEditorAttached in interface LayerEditorpublic void handleEditorDetached()
LayerEditorhandleEditorDetached in interface LayerEditorpublic void handleLayerContentChanged()
LayerEditorhandleLayerContentChanged in interface LayerEditorprotected abstract JComponent createControl()
protected Layer getCurrentLayer()
Copyright © 2014–2019 European Space Agency (ESA). All rights reserved.