@LayerTypeMetadata(name="CollectionLayerType", aliasNames="com.bc.ceres.glayer.CollectionLayer$Type") public static class CollectionLayer.Type extends LayerType
Constructor and Description |
---|
Type() |
Modifier and Type | Method and Description |
---|---|
Layer |
createLayer(LayerContext ctx,
PropertySet configuration)
Creates a layer instance for the given application provided context and the given layer configuration.
|
PropertySet |
createLayerConfig(LayerContext ctx)
Creates a default configuration instance for the type of layers this type can create.
|
boolean |
isValidFor(LayerContext ctx)
Tests if this type can create layers for the given application provided context.
|
createWithSceneView, getAliases, getName
getExtension
public boolean isValidFor(LayerContext ctx)
LayerType
ExtensibleObject.getExtension(Class)
).isValidFor
in class LayerType
ctx
- An application-dependent layer context.true
if the type is valid with respect to the given context.public PropertySet createLayerConfig(LayerContext ctx)
LayerType
LayerType.createLayer(com.bc.ceres.glayer.LayerContext, com.bc.ceres.binding.PropertySet)
method in order
to create a new layer instance.createLayerConfig
in class LayerType
ctx
- An application provided context, may be null
. The parameter may be ignored by many layer types.public Layer createLayer(LayerContext ctx, PropertySet configuration)
LayerType
createLayer
in class LayerType
ctx
- An application provided context, may be null
. The parameter may be ignored by many layer types.configuration
- The layer configuration.Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.