public class LocaleLabelProvider extends Object implements LabelProvider<Locale>
| Constructor and Description |
|---|
LocaleLabelProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected CockpitLocaleService |
getCockpitLocaleService() |
String |
getDescription(Locale locale)
Returns text description for a given Object.
|
String |
getIconPath(Locale locale)
Returns icon path for a given Object.
|
String |
getLabel(Locale locale)
Returns label for a given Object.
|
void |
setCockpitLocaleService(CockpitLocaleService cockpitLocaleService) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetShortLabelpublic String getLabel(Locale locale)
LabelProvidergetLabel in interface LabelProvider<Locale>public String getDescription(Locale locale)
LabelProvidergetDescription in interface LabelProvider<Locale>public String getIconPath(Locale locale)
LabelProvidergetIconPath in interface LabelProvider<Locale>protected CockpitLocaleService getCockpitLocaleService()
public void setCockpitLocaleService(CockpitLocaleService cockpitLocaleService)
Copyright © 2018. All rights reserved.