@Deprecated public class DefaultLayerEditorDescriptor extends Object implements LayerEditorDescriptor, com.bc.ceres.core.runtime.ConfigurableExtension
module.xml
by extending the extension point layerEditors with layerEditor elements:
<extension point="beam-ui:layerEditors">
<layerEditor>
<editorFactory>org.esa.snap.visat.toolviews.layermanager.editors.VectorDataLayerEditorFactory</editorFactory>
<layer>VectorDataLayer</layer>
</layerEditor>
<layerEditor>
<editor>org.esa.snap.visat.toolviews.layermanager.editors.ImageLayerEditor</editor>
<layerType>com.bc.ceres.glayer.support.ImageLayer$Type</layerType>
</layerEditor>
<extension>
Note: This API is not public yet and may significantly change in the future. Use it at your own risk.
| Constructor and Description |
|---|
DefaultLayerEditorDescriptor()
Deprecated.
Constructor used by Ceres runtime for creating a dedicated
ConfigurationElement for this
LayerEditorDescriptor. |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(com.bc.ceres.core.runtime.ConfigurationElement config)
Deprecated.
|
protected ExtensionFactory |
createExtensionFactory()
Deprecated.
Creates an extension factory that maps an instances of a
Layer or
a LayerType to an instance of a LayerEditor. |
Class<? extends Layer> |
getLayerClass()
Deprecated.
Gets the
Layer class which is associated directly with a LayerEditor class or indirectly
via a ExtensionFactory class. |
Class<? extends LayerEditor> |
getLayerEditorClass()
Deprecated.
Gets the
LayerEditor class, whose instances serve as suitable editor either
for instances of the Layer class returned by LayerEditorDescriptor.getLayerClass() or
for instances of the LayerType class returned by LayerEditorDescriptor.getLayerTypeClass(). |
Class<? extends ExtensionFactory> |
getLayerEditorFactoryClass()
Deprecated.
Gets the
ExtensionFactory class, whose instances serve as suitable editor factory either
for instances of the Layer class returned by LayerEditorDescriptor.getLayerClass() or
for instances of the LayerType class returned by LayerEditorDescriptor.getLayerTypeClass(). |
Class<? extends LayerType> |
getLayerTypeClass()
Deprecated.
Gets the
LayerType class which is associated directly with a LayerEditor class or indirectly
via a ExtensionFactory class. |
public DefaultLayerEditorDescriptor()
ConfigurationElement for this
LayerEditorDescriptor.public Class<? extends Layer> getLayerClass()
LayerEditorDescriptorLayer class which is associated directly with a LayerEditor class or indirectly
via a ExtensionFactory class.getLayerClass in interface LayerEditorDescriptorLayerType class. May be null, if the LayerType class is given.public Class<? extends LayerType> getLayerTypeClass()
LayerEditorDescriptorLayerType class which is associated directly with a LayerEditor class or indirectly
via a ExtensionFactory class.getLayerTypeClass in interface LayerEditorDescriptorLayerType class. May be null, if the Layer class is given.public Class<? extends LayerEditor> getLayerEditorClass()
LayerEditorDescriptorLayerEditor class, whose instances serve as suitable editor either
for instances of the Layer class returned by LayerEditorDescriptor.getLayerClass() or
for instances of the LayerType class returned by LayerEditorDescriptor.getLayerTypeClass().getLayerEditorClass in interface LayerEditorDescriptorLayerEditor class. May be null, if the ExtensionFactory class is given.public Class<? extends ExtensionFactory> getLayerEditorFactoryClass()
LayerEditorDescriptorExtensionFactory class, whose instances serve as suitable editor factory either
for instances of the Layer class returned by LayerEditorDescriptor.getLayerClass() or
for instances of the LayerType class returned by LayerEditorDescriptor.getLayerTypeClass().getLayerEditorFactoryClass in interface LayerEditorDescriptorLayerEditor class. May be null, if the LayerEditor class is given.public void configure(com.bc.ceres.core.runtime.ConfigurationElement config) throws CoreException
configure in interface com.bc.ceres.core.runtime.ConfigurableExtensionCoreExceptionprotected ExtensionFactory createExtensionFactory()
Layer or
a LayerType to an instance of a LayerEditor.
Clients may override in order to provide their own ExtensionFactory.
Copyright © 2014–2019 European Space Agency (ESA). All rights reserved.