Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » What is the best way to override resources in a plug-in?
What is the best way to override resources in a plug-in? [message #526225] Fri, 09 April 2010 09:35 Go to next message
Eclipse UserFriend
Originally posted by: wbeckwith.gmail.com

Several big boy customers would like to essentially rebrand some of the
images and translation strings in our plug-ins. What's the best way
that others are using to achieve this?

While it is trivial to create a class that they can call that would look
in several places for the resources, I don't see how we could affect the
registry. Basically views, commands and editors will be processed by
the workbench before we have a chance to substitute their values if needed.

Wb
Re: What is the best way to override resources in a plug-in? [message #526622 is a reply to message #526225] Mon, 12 April 2010 12:36 Go to previous message
Marcus Ilgner is currently offline Marcus IlgnerFriend
Messages: 15
Registered: July 2009
Junior Member
On 09.04.10 11:35, Wendell Beckwith wrote:
> Several big boy customers would like to essentially rebrand some of the
> images and translation strings in our plug-ins. What's the best way that
> others are using to achieve this?
>
> While it is trivial to create a class that they can call that would look
> in several places for the resources, I don't see how we could affect the
> registry. Basically views, commands and editors will be processed by the
> workbench before we have a chance to substitute their values if needed.
>
> Wb

Normally this kind of things is done via fragment bundles.
See this (somewhat old but still correct) article on eclipse.org:
http://www.eclipse.org/articles/Article-Internationalization /how2I18n.html
Previous Topic:Change EditorReference image
Next Topic:Text editor get/set text
Goto Forum:
  


Current Time: Thu Apr 25 19:40:44 GMT 2024

Powered by FUDForum. Page generated in 0.02806 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top