org.eclipse.emfforms.internal.view.model.localization
Class LocalizationViewModelService

java.lang.Object
  extended by org.eclipse.emfforms.internal.view.model.localization.LocalizationViewModelService
All Implemented Interfaces:
ViewModelService, EMFFormsLocaleChangeListener

public class LocalizationViewModelService
extends Object
implements ViewModelService, EMFFormsLocaleChangeListener

LocalizationViewModelService which will localize the view model.

Author:
Eugen Neufeld

Constructor Summary
LocalizationViewModelService()
          Default constructor.
 
Method Summary
 void dispose()
          Dispose.
 int getPriority()
          Returns the priority for this view service.
 void instantiate(ViewModelContext context)
          Instantiate the view service.
 void notifyLocaleChange()
          Notify about a locale change.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalizationViewModelService

public LocalizationViewModelService()
Default constructor.

Method Detail

instantiate

public void instantiate(ViewModelContext context)
Instantiate the view service.

Specified by:
instantiate in interface ViewModelService
Parameters:
context - the ViewModelContext
See Also:
ViewModelService.instantiate(org.eclipse.emf.ecp.view.spi.context.ViewModelContext)

dispose

public void dispose()
Dispose.

Specified by:
dispose in interface ViewModelService
See Also:
ViewModelService.dispose()

getPriority

public int getPriority()
Returns the priority for this view service.

Specified by:
getPriority in interface ViewModelService
Returns:
the priority
See Also:
ViewModelService.getPriority()

notifyLocaleChange

public void notifyLocaleChange()
Notify about a locale change.

Specified by:
notifyLocaleChange in interface EMFFormsLocaleChangeListener
See Also:
EMFFormsLocaleChangeListener.notifyLocaleChange()


Copyright © 2015. All Rights Reserved.