public abstract class ALspLabelEditFilter extends Object
canEditLabel
method can be used to specify which labels are editable
and which are not. This class can be used in combination with
TLspLabelEditor
.Modifier | Constructor and Description |
---|---|
protected |
ALspLabelEditFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
canEditLabel(TLspLabelID aLabel,
TLspEditContext aContext)
Determines whether or not label can be edited by an editor.
|
public boolean canEditLabel(TLspLabelID aLabel, TLspEditContext aContext)
Determines whether or not label can be edited by an editor. Override this method to provide a custom implementation.
The default implementation checks if the paint representation state of the layer is visible.
aLabel
- the labels to be editedaContext
- the edit context