[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform] IConfigurationElement deprecated?
|
- From: Roland Tepp <roland@xxxxxxxxxxxx>
- Date: Wed, 29 Nov 2006 16:49:51 +0200
- Newsgroups: eclipse.platform
- Organization: Videobet.com
- User-agent: Thunderbird 1.5.0.8 (Windows/20061025)
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