public class LocalizationViewModelService extends Object implements ViewModelService, EMFFormsLocaleChangeListener
Constructor and Description |
---|
LocalizationViewModelService()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Dispose.
|
int |
getPriority()
Returns the priority for this view service.
|
void |
instantiate(ViewModelContext context)
Instantiate the view service.
|
protected void |
localize(LocalizationAdapter localizationAdapter,
VElement vElement)
The actual method localizing a
VElement . |
void |
notifyLocaleChange()
Notify about a locale change.
|
public LocalizationViewModelService()
public void instantiate(ViewModelContext context)
instantiate
in interface ViewModelService
context
- the ViewModelContext
ViewModelService.instantiate(org.eclipse.emf.ecp.view.spi.context.ViewModelContext)
protected void localize(LocalizationAdapter localizationAdapter, VElement vElement)
VElement
.localizationAdapter
- The LocalizationAdapter to use for localizationvElement
- The VElement
to localizepublic void dispose()
dispose
in interface ViewModelService
ViewModelService.dispose()
public int getPriority()
getPriority
in interface ViewModelService
ViewModelService.getPriority()
public void notifyLocaleChange()
notifyLocaleChange
in interface EMFFormsLocaleChangeListener
EMFFormsLocaleChangeListener.notifyLocaleChange()
Copyright © 2018. All rights reserved.