Class DefaultLocaleViewService
- java.lang.Object
-
- org.eclipse.emf.ecp.view.context.internal.locale.DefaultLocaleViewService
-
- All Implemented Interfaces:
ViewLocaleService
,ViewModelService
@Deprecated public class DefaultLocaleViewService extends java.lang.Object implements ViewLocaleService
Deprecated.Please use theEMFFormsLocaleProvider
AViewModelService
which provides the default locale.- Author:
- Eugen Neufeld
-
-
Constructor Summary
Constructors Constructor Description DefaultLocaleViewService()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
dispose()
Deprecated.Dispose.java.util.Locale
getLocale()
Deprecated.The current locale of the view.int
getPriority()
Deprecated.Returns the priority for this view service.void
instantiate(ViewModelContext context)
Deprecated.Instantiate the view service.
-
-
-
Method Detail
-
instantiate
public void instantiate(ViewModelContext context)
Deprecated.Instantiate the view service.- Specified by:
instantiate
in interfaceViewModelService
- Parameters:
context
- theViewModelContext
- See Also:
ViewModelService.instantiate(org.eclipse.emf.ecp.view.spi.context.ViewModelContext)
-
dispose
public void dispose()
Deprecated.Dispose.- Specified by:
dispose
in interfaceViewModelService
- See Also:
ViewModelService.dispose()
-
getPriority
public int getPriority()
Deprecated.Returns the priority for this view service.- Specified by:
getPriority
in interfaceViewModelService
- Returns:
- the priority
- See Also:
ViewModelService.getPriority()
-
getLocale
public java.util.Locale getLocale()
Deprecated.The current locale of the view.- Specified by:
getLocale
in interfaceViewLocaleService
- Returns:
- the current locale
- See Also:
ViewLocaleService.getLocale()
-
-