[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] IConfigurationElement deprecated?

Hello,

While migrating RCP application from 3.1 to 3.2 I stumbled upon deprecated api in IConfugurationElement.

The API in question is getAttributeAsIs(String) method.
Deprecation message stated:
   The method is equivalent to the getAttribute(String).
   Contrary to its description, this method returns a
   translated value. Use the getAttribute(String) method
   instead.

That sounded kind of confusing.

First - why is this returning the translated value of the attribute?
Second - why am I forced to use getAttribute instead?
Third - How *do* I get attribute value "as-is" (e.g. non-translated value)?

Any comments on this?
--
  Roland Tepp