Package org.esa.snap.ui.layer
Class DefaultLayerEditorDescriptor
- java.lang.Object
-
- org.esa.snap.ui.layer.DefaultLayerEditorDescriptor
-
- All Implemented Interfaces:
com.bc.ceres.core.runtime.ConfigurableExtension,LayerEditorDescriptor
@Deprecated public class DefaultLayerEditorDescriptor extends Object implements LayerEditorDescriptor, com.bc.ceres.core.runtime.ConfigurableExtension
Deprecated.since SNAP 2, no usedThe default descriptor for a layer editor. Layer editors are configured in your Module Manifestmodule.xmlby extending the extension pointlayerEditorswithlayerEditorelements:<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.
- Since:
- BEAM 4.6
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description DefaultLayerEditorDescriptor()Deprecated.Constructor used by Ceres runtime for creating a dedicatedConfigurationElementfor thisLayerEditorDescriptor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidconfigure(com.bc.ceres.core.runtime.ConfigurationElement config)Deprecated.protected ExtensionFactorycreateExtensionFactory()Deprecated.Creates an extension factory that maps an instances of aLayeror aLayerTypeto an instance of aLayerEditor.Class<? extends Layer>getLayerClass()Deprecated.Gets theLayerclass which is associated directly with aLayerEditorclass or indirectly via aExtensionFactoryclass.Class<? extends LayerEditor>getLayerEditorClass()Deprecated.Gets theLayerEditorclass, whose instances serve as suitable editor either for instances of theLayerclass returned byLayerEditorDescriptor.getLayerClass()or for instances of theLayerTypeclass returned byLayerEditorDescriptor.getLayerTypeClass().Class<? extends ExtensionFactory>getLayerEditorFactoryClass()Deprecated.Gets theExtensionFactoryclass, whose instances serve as suitable editor factory either for instances of theLayerclass returned byLayerEditorDescriptor.getLayerClass()or for instances of theLayerTypeclass returned byLayerEditorDescriptor.getLayerTypeClass().Class<? extends LayerType>getLayerTypeClass()Deprecated.Gets theLayerTypeclass which is associated directly with aLayerEditorclass or indirectly via aExtensionFactoryclass.
-
-
-
Constructor Detail
-
DefaultLayerEditorDescriptor
public DefaultLayerEditorDescriptor()
Deprecated.Constructor used by Ceres runtime for creating a dedicatedConfigurationElementfor thisLayerEditorDescriptor.
-
-
Method Detail
-
getLayerClass
public Class<? extends Layer> getLayerClass()
Deprecated.Description copied from interface:LayerEditorDescriptorGets theLayerclass which is associated directly with aLayerEditorclass or indirectly via aExtensionFactoryclass.- Specified by:
getLayerClassin interfaceLayerEditorDescriptor- Returns:
- The
LayerTypeclass. May benull, if theLayerTypeclass is given.
-
getLayerTypeClass
public Class<? extends LayerType> getLayerTypeClass()
Deprecated.Description copied from interface:LayerEditorDescriptorGets theLayerTypeclass which is associated directly with aLayerEditorclass or indirectly via aExtensionFactoryclass.- Specified by:
getLayerTypeClassin interfaceLayerEditorDescriptor- Returns:
- The
LayerTypeclass. May benull, if theLayerclass is given.
-
getLayerEditorClass
public Class<? extends LayerEditor> getLayerEditorClass()
Deprecated.Description copied from interface:LayerEditorDescriptorGets theLayerEditorclass, whose instances serve as suitable editor either for instances of theLayerclass returned byLayerEditorDescriptor.getLayerClass()or for instances of theLayerTypeclass returned byLayerEditorDescriptor.getLayerTypeClass().- Specified by:
getLayerEditorClassin interfaceLayerEditorDescriptor- Returns:
- The
LayerEditorclass. May benull, if theExtensionFactoryclass is given.
-
getLayerEditorFactoryClass
public Class<? extends ExtensionFactory> getLayerEditorFactoryClass()
Deprecated.Description copied from interface:LayerEditorDescriptorGets theExtensionFactoryclass, whose instances serve as suitable editor factory either for instances of theLayerclass returned byLayerEditorDescriptor.getLayerClass()or for instances of theLayerTypeclass returned byLayerEditorDescriptor.getLayerTypeClass().- Specified by:
getLayerEditorFactoryClassin interfaceLayerEditorDescriptor- Returns:
- The
LayerEditorclass. May benull, if theLayerEditorclass is given.
-
configure
public void configure(com.bc.ceres.core.runtime.ConfigurationElement config) throws CoreExceptionDeprecated.- Specified by:
configurein interfacecom.bc.ceres.core.runtime.ConfigurableExtension- Throws:
CoreException
-
createExtensionFactory
protected ExtensionFactory createExtensionFactory()
Deprecated.Creates an extension factory that maps an instances of aLayeror aLayerTypeto an instance of aLayerEditor.Clients may override in order to provide their own
ExtensionFactory.- Returns:
- An appropriate extension factory.
-
-