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(AppContext appContext,
com.bc.ceres.glayer.Layer layer)
Creates the control for the user interface which is displayed
in the Layer Editor Toolview.
|
protected AppContext |
getAppContext() |
protected com.bc.ceres.glayer.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(AppContext appContext, com.bc.ceres.glayer.Layer layer)
LayerEditorcreateControl in interface LayerEditorappContext - the application contextlayer - 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 AppContext getAppContext()
protected com.bc.ceres.glayer.Layer getCurrentLayer()
Copyright © 2002–2014 Brockmann Consult GmbH. All rights reserved.