public interface ILcdClusterShapeProvider
ILcdShape
which will be used to represent the cluster on the map.Modifier and Type | Method and Description |
---|---|
ILcdShape |
getShape(Set<Object> aComposingElements,
ILcdModel aOriginalModel)
Returns the shape in model coordinates for the cluster that will be composed of the given set of elements.
|
ILcdShape getShape(Set<Object> aComposingElements, ILcdModel aOriginalModel)
Returns the shape in model coordinates for the cluster that will be composed of the given set of elements.
This method is called while a read lock on aOriginalModel
is already acquired.
There are some additional things to take into account when using a custom shape.
aComposingElements
- The composing elements for the cluster for which a shape needs to be provided. Do not
modify.aOriginalModel
- The original model, from which the composing elements originate. It can be used to for
example retrieve the model descriptor or model reference from. Do not modify.