Package org.esa.snap.ui.layer
Interface LayerSourceDescriptor
-
- All Known Implementing Classes:
DefaultLayerSourceDescriptor
public interface LayerSourceDescriptorTheLayerSourceDescriptorprovides metadata and a factory method for aLayerSource.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 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LayerSourcecreateLayerSource()Creates theLayerSourcewhich is used in the graphical user interface to addLayerto a view.StringgetDescription()A text describing what theLayerSource, created by thisLayerSourceDescriptor, does.StringgetId()A unique ID.LayerTypegetLayerType()TheLayerType.StringgetName()A human readable name.
-
-
-
Method Detail
-
getId
String getId()
A unique ID.- Returns:
- The unique ID.
-
getName
String getName()
A human readable name.- Returns:
- The name.
-
getDescription
String getDescription()
A text describing what theLayerSource, created by thisLayerSourceDescriptor, does.- Returns:
- A description.
-
createLayerSource
LayerSource createLayerSource()
Creates theLayerSourcewhich is used in the graphical user interface to addLayerto a view.- Returns:
- The
LayerSource.
-
-