Package com.hybris.cockpitng.labels.impl
Class LocaleLabelProvider
- java.lang.Object
-
- com.hybris.cockpitng.labels.impl.LocaleLabelProvider
-
- All Implemented Interfaces:
LabelProvider<java.util.Locale>
public class LocaleLabelProvider extends java.lang.Object implements LabelProvider<java.util.Locale>
-
-
Constructor Summary
Constructors Constructor Description LocaleLabelProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CockpitLocaleServicegetCockpitLocaleService()java.lang.StringgetDescription(java.util.Locale locale)Returns text description for a given Object.java.lang.StringgetIconPath(java.util.Locale locale)Returns icon path for a given Object.java.lang.StringgetLabel(java.util.Locale locale)Returns label for a given Object.voidsetCockpitLocaleService(CockpitLocaleService cockpitLocaleService)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.hybris.cockpitng.labels.LabelProvider
getShortLabel
-
-
-
-
Method Detail
-
getLabel
public java.lang.String getLabel(java.util.Locale locale)
Description copied from interface:LabelProviderReturns label for a given Object.- Specified by:
getLabelin interfaceLabelProvider<java.util.Locale>- Returns:
- label for a given object
-
getDescription
public java.lang.String getDescription(java.util.Locale locale)
Description copied from interface:LabelProviderReturns text description for a given Object.- Specified by:
getDescriptionin interfaceLabelProvider<java.util.Locale>- Returns:
- description for a given object
-
getIconPath
public java.lang.String getIconPath(java.util.Locale locale)
Description copied from interface:LabelProviderReturns icon path for a given Object.- Specified by:
getIconPathin interfaceLabelProvider<java.util.Locale>- Returns:
- icon path for a given object
-
getCockpitLocaleService
protected CockpitLocaleService getCockpitLocaleService()
-
setCockpitLocaleService
public void setCockpitLocaleService(CockpitLocaleService cockpitLocaleService)
-
-