| [news.eclipse.platform] Re: Using Plug-in properties API? |
Thanks for your answer Paul.
Sadly I do not understand this best practice solution.
Mainly because of two reasons.
First:
I've a product running on different language environments. The product is set up at a customer by fitters having in general very view knowlage about eclipse good practiceses. What they want is just one place where every string used by the product is defined so that they can change it to the customers wishes. It is not reasonable to let them scan each package for property files just to performe a view minor tweaks.
Second:
A parts name, a commands desciption,a menus entry and so on. There are all somehow part of the UI. I define their names and descriptions within the plugin.property file. Usage of translated versions of these strings is done automaticly by eclipse. Why is custom generaded UI code (such as view content) less important that it is nor a good practice to let it participate on this very handy mechanism?
Later, PW
-- Paul Webster http://wiki.eclipse.org/Platform_Command_Framework http://wiki.eclipse.org/Command_Core_Expressions http://wiki.eclipse.org/Menu_Contributions http://wiki.eclipse.org/Menus_Extension_Mapping http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench.htm