T
- the target object typepublic class StringLabelProvider<T> extends Object implements LabelProvider<T>
LabelProvider
implementation that simple calls
toString on the target object.Constructor and Description |
---|
StringLabelProvider() |
Modifier and Type | Method and Description |
---|---|
String |
getLabel(T item)
Returns a label for the given object.
|
public String getLabel(T item)
LabelProvider
getLabel
in interface LabelProvider<T>
item
- the object to get a label fromCopyright © 2018. All rights reserved.