[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.rcp] Re: How to i18n the perspective name?
|
- From: Daniel Krügler <dsp@xxxxxxx>
- Date: Thu, 09 Oct 2008 12:56:52 +0200
- Newsgroups: eclipse.platform.rcp
- Organization: EclipseCorner
- User-agent: Thunderbird 2.0.0.17 (Windows/20080914)
Michael Obster wrote:
Hi,
I want to change the perspective name over a i18n. But how can I do
that? The view titles can be set with setPartName() from runtime, but I
didn't find a method to set the perspective name.
Is this only possible from plugin.xml? And how can I i18n this?
If you want to access the plugin.properties you can do so via
Platform.getResourceString(ThePlugin.getBundle(), "%resource-id");
The exist also methods to retrieve the Bundle object via id,
either via Platform or Bundle.
HTH & greetings from Bremen,
Daniel Krügler