public class EMFFormsLocalizationServiceImpl extends Object implements EMFFormsLocalizationService
| Constructor and Description |
|---|
EMFFormsLocalizationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getString(org.osgi.framework.Bundle bundle,
String key)
Return the String for the provided key.
|
String |
getString(Class<?> clazz,
String key)
Return the String for the provided key.
|
boolean |
hasKey(org.osgi.framework.Bundle bundle,
String key)
Return whether the key in question is available.
|
boolean |
hasKey(Class<?> clazz,
String key)
Return whether the key in question is available.
|
protected void |
setBundleLocalization(org.eclipse.osgi.service.localization.BundleLocalization bundleLocalization)
Called by the framework to set the BundleLocalization.
|
protected void |
setEMFFormsLocaleProvider(EMFFormsLocaleProvider localeProvider)
Called by the framework to set the EMFFormsLocaleProvider.
|
protected void |
setReportService(ReportService reportService)
Called by the framework to set the ReportService.
|
protected void |
unsetEMFFormsLocaleProvider(EMFFormsLocaleProvider localeProvider)
Called by the framework to unset the EMFFormsLocaleProvider.
|
protected void setEMFFormsLocaleProvider(EMFFormsLocaleProvider localeProvider)
localeProvider - The EMFFormsLocaleProviderprotected void unsetEMFFormsLocaleProvider(EMFFormsLocaleProvider localeProvider)
localeProvider - The EMFFormsLocaleProviderprotected void setBundleLocalization(org.eclipse.osgi.service.localization.BundleLocalization bundleLocalization)
bundleLocalization - The BundleLocalizationprotected void setReportService(ReportService reportService)
reportService - The ReportServicepublic String getString(Class<?> clazz, String key)
getString in interface EMFFormsLocalizationServiceclazz - The class which needs a translated stringkey - The key of the stringEMFFormsLocalizationService.getString(java.lang.Class,
java.lang.String)public String getString(org.osgi.framework.Bundle bundle, String key)
getString in interface EMFFormsLocalizationServicebundle - The bundle which provides the translated stringskey - The key of the stringEMFFormsLocalizationService.getString(org.osgi.framework.Bundle,
java.lang.String)public boolean hasKey(org.osgi.framework.Bundle bundle,
String key)
hasKey in interface EMFFormsLocalizationServicebundle - The bundle in which to search for the keykey - The key to searchEMFFormsLocalizationService.hasKey(org.osgi.framework.Bundle,
java.lang.String)public boolean hasKey(Class<?> clazz, String key)
hasKey in interface EMFFormsLocalizationServiceclazz - The class in whose bundle to search for the keykey - The key to searchEMFFormsLocalizationService.hasKey(java.lang.Class, java.lang.String)Copyright © 2019. All rights reserved.