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)
LayerEditor
createControl
in interface LayerEditor
appContext
- the application contextlayer
- 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 AppContext getAppContext()
protected com.bc.ceres.glayer.Layer getCurrentLayer()
Copyright © 2002–2014 Brockmann Consult GmbH. All rights reserved.