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

Now that I think of it - the "AsIs" method does not make much sense indeed, as the attribute values I'm interested in are never translated anyway...

And in case of translated attribute values, I can not care less what are the translation keys they use...

Paul Webster kirjutas mulle midagi seesugust:
Roland Tepp wrote:

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?

As I understand it the name and javadoc were incorrect. Eclipse always returns the translated value.


You want the "%command.BuildAuto.name" string? It looks like an IConfigurationElement for the IExtenionRegistry will always return translated attributes (for any attributes that were translated).

Later,
PW


-- Roland Tepp