Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.emfforms.internal.core.services.locale.defaultlocale
Class DefaultLocaleProvider

    java.lang.Object
      org.eclipse.emfforms.spi.common.locale.AbstractEMFFormsLocaleProvider
          org.eclipse.emfforms.internal.core.services.locale.defaultlocale.DefaultLocaleProvider

All Implemented Interfaces:
  EMFFormsLocaleProvider

    public class DefaultLocaleProvider

extends AbstractEMFFormsLocaleProvider

EMFFormsLocaleProvider that works on the default `Locale`.

Author:
  Eugen Neufeld

Constructor Summary
`DefaultLocaleProvider()`

Method Summary
`Locale` | `getLocale()` Returns the current locale service.
`void` | `setLocale(Locale newLocale)` Method to update the locale.

Methods inherited from class org.eclipse.emfforms.spi.common.locale.AbstractEMFFormsLocaleProvider
`addEMFFormsLocaleChangeListener, removeEMFFormsLocaleChangeListener`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DefaultLocaleProvider

    public DefaultLocaleProvider()

Method Detail

### getLocale

    public Locale getLocale()

  Returns the current locale service.

  Returns:
    the current `Locale`
  See Also:
    `EMFFormsLocaleProvider.getLocale()`

### setLocale

    public void setLocale(Locale newLocale)

  Method to update the locale.

  Parameters:
    `newLocale` - The new Locale

Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2015. All Rights Reserved.