Tantalizing answer. But so far I’ve
had no luck in getting this to work. I’ve tried to understand this
by reading the eclipse source code and the help. From the help:
…
The possible property names that are
honored by the platform for product customization are defined in IProductConstants.
See the javadoc for a complete description of these properties and their
values. We'll look at these further in Customizing
a product.
public interface IProductConstants
These
constants define the set of properties that the UI expects to be available via IProduct.getProperty(String)
.
--
It seems to me that only a fixed set of
preferences can be predefined: ABOUT_IMAGE, ABOUT_TEXT, WELCOME_PAGE, …
If plugin_customization.ini is more
powerful than this I’d appreciate a pointer to the documentation or
source.
We have our own product. Here is an
excerpt of plugin.xml from our feature branding plugin.
<plugin>
<extension id="ide" point="org.eclipse.core.runtime.products">
<product name="%productName" application="org.eclipse.ui.ide.workbench" description="%productBlurb">
<property name="windowImages" value="A-m-logo-only-RGB-16x16.gif,A-m-logo-only-RGB-32x32.gif,A-m-logo-only-RGB-16x16.jpg,A-m-logo-only-RGB-32x32.jpg"/>
<property name="aboutImage" value="AmbricLogo-White-R-120plus.png"/>
<property name="aboutText" value="%productBlurb"/>
<property name="appName" value="aDesigner"/>
<property name="preferenceCustomization" value="plugin_customization.ini"/>
…
</plugin>
I’ve changed the plugin_customization.ini file in the same
directory as the above plugin.xml with no effect. I’ve even deleted
the .metadata in the workspace I’m testing in to force it to get
defaults.
Here are the lines I’ve
added to the plugin_customization.ini
org.eclipse.debug.ui/org.eclipse.debug.ui.memory.rowSize\:com.ambric.debug.ui=8
org.eclipse.debug.ui/org.eclipse.debug.ui.memory.columnSize\:com.ambric.ui=1