History log of /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/ValuesTreePage.java
Revision Date Author Comments
48b3fb9d56e7b663829ffd2b5edc044cc9b010a0 14-Jun-2013 Tor Norbye <tnorbye@google.com> Use LocaleManager from sdk-common rather than local ADT copy

Change-Id: Iae8bc5c4bc06643691b82242162a93f22c06d868
29e085e4605211cdd73f0c0eb55791acbec625d4 01-Jul-2012 Tor Norbye <tnorbye@google.com> Add locale data

This checkin adds a new LocaleManager which provides data related to
locales and regions, such as

(1) The right flag icon to use for a given language and region
combination
(2) The full name of a language code
(3) The full name of a region code

Before this CL, the flag icons were determined by looking at the
Locale instances installed on the machine, and matching up the
language codes with the corresponding country codes. However, that
only works for the locales you have installed -- and on a typical
Linux installation I tried, there were no other locales, and on a Mac
OSX install, many common locales (such as those referenced by standard
Android apps) were not included.

Instead, we now have a static map of bindings from language to region
(though if the language matches the default locale on the system, it
will use the associated country of that locale).

The full names of the languages and regions are also provided. This
allows us to display the corresponding name of a language in the
locale menu, such that users don't for example confuse country codes
and locales; "ca" isn't Canadian but Catalan, and so on.

This checkin also adds all the known language codes into the Language
dropdown for the configuration selector, and displays the
corresponding language name next to the selection. Similarly, it also
sets the relevant flag icon as the page icon for the value XML files.

Change-Id: I2a3a6f037a745a6c56aedb38ecd71ba25324f6fb
734d947687f3f3a761f404dbb0bf3dfe8f3f5843 21-Jan-2012 Raphael <raphael@google.com> ADT: Refactor CommonXmlEditor in its own package.

Change-Id: I0ee61ade9ea15335268fa313b74d9a949ecb189f
bc083393e77f8139a436683644065e396646d671 21-Jan-2012 Raphael <raphael@google.com> ADT: Refactor editors.xml and editors.resources.

This renames:
- xml.XmlEditor to otherxml.OtherXmlEditor,
- resources.ResourcesEditor to values.ValuesEditor

The change to rename Resources to Values matches
the folder name being /res/values.

That's just a trivial refactoring with no logic change.

Change-Id: I68bfa760f254fbbd3f2d5e3801a5092308e92f7f