|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.esa.beam.framework.ui.layer.DefaultLayerSourceDescriptor
public class DefaultLayerSourceDescriptor
The DefaultLayerSourceDescriptor provides metadata and
a factory method for a LayerSource.
Instances of this class are created by reading the extension configuration of
the extension point "layerSources" in the module.xml.
<extension point="beam-visat-rcp:layerSources">
<layerSource>
<id>shapefile-layer-source</id>
<name>ESRI Shapefile</name>
<description>Displays shapes from an ESRI Shapefile</description>
<class>org.esa.beam.visat.toolviews.layermanager.layersrc.shapefile.ShapefileLayerSource</class>
</layerSource>
</extension>
Example 1:
<extension point="beam-visat-rcp:layerSources">
<layerSource>
<id>bluemarble-layer-source</id>
<name>NASA Blue Marble;/name>
<description>Adds NASA Blue Marble image layer to the background.</description>
<layerType>org.esa.beam.worldmap.BlueMarbleLayerType</class>
</layerSource>
</extension>
Note: This API is not public yet and may significantly change in the future. Use it at your own risk.
| Constructor Summary | |
|---|---|
DefaultLayerSourceDescriptor()
Constructor used by Ceres runtime. |
|
| Method Summary | |
|---|---|
LayerSource |
createLayerSource()
Creates the LayerSource which is used in the graphical user interface to
add Layer to a view. |
String |
getDescription()
A text describing what the LayerSource, created by
this LayerSourceDescriptor, does. |
String |
getId()
A unique ID. |
com.bc.ceres.glayer.LayerType |
getLayerType()
The LayerType. |
String |
getName()
A human readable name. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultLayerSourceDescriptor()
| Method Detail |
|---|
public String getId()
LayerSourceDescriptor
getId in interface LayerSourceDescriptorpublic String getName()
LayerSourceDescriptor
getName in interface LayerSourceDescriptorpublic String getDescription()
LayerSourceDescriptorLayerSource, created by
this LayerSourceDescriptor, does.
getDescription in interface LayerSourceDescriptorpublic String toString()
toString in class Objectpublic LayerSource createLayerSource()
LayerSourceDescriptorLayerSource which is used in the graphical user interface to
add Layer to a view.
createLayerSource in interface LayerSourceDescriptorLayerSource.public com.bc.ceres.glayer.LayerType getLayerType()
LayerSourceDescriptorLayerType.
getLayerType in interface LayerSourceDescriptornull if
multiple layers are added.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||