Interface ILspLabelingAlgorithmProvider<T extends ILspLabelingAlgorithm>
public interface ILspLabelingAlgorithmProvider<T extends ILspLabelingAlgorithm>
This interface defines a method to retrieve a labeling algorithm for a label.
This interface is used by
TLspCompositeLabelingAlgorithm
and TLspCompositeDiscreteLabelingAlgorithm
.- Since:
- 2012.0
-
Method Summary
Modifier and TypeMethodDescriptiongetLabelingAlgorithm
(TLspLabelID aLabel, TLspPaintState aPaintState, TLspContext aContext) This method returns a labeling algorithm for the given domain object and sublabel ID.
-
Method Details
-
getLabelingAlgorithm
This method returns a labeling algorithm for the given domain object and sublabel ID. It is permitted to return the same algorithm for different objects.- Parameters:
aLabel
- The label for which to retrieve an algorithmaPaintState
- The paint state. This is context information.aContext
- The context- Returns:
- a labeling algorithm.
-