I built an Eclipse RCP application that uses the configuration.xml
in the root of the project for some project configurations. I would like to customize the icon and keep default xml editor. I found one blog post, that does exactly what I'm looking for a property
file. I extracted it:
<extension point="org.eclipse.core.contenttype.contentTypes">
<content-type base-type="org.eclipse.core.runtime.properties"
file-extensions="config"
id="in.cypal.eclipse.myConfig"
name="My Config File"
priority="normal">
</content-type>
</extension>
<extension point="org.eclipse.ui.editors">
<editor class="org.eclipse.jdt.internal.ui.propertiesfileeditor.PropertiesFileEditor"
default="false"
extensions="config"
icon="icons/sample.gif"
id="in.cypal.eclipse.editors.myConfigEditor"
name="My Config Editor">
<contentTypeBinding contentTypeId="in.cypal.eclipse.myConfig">
</contentTypeBinding>
</editor>
</extension>
I guess that I basically need to adjust the attribute class
of the editor
element to the implementation of the xml editor in Eclipse. I installed the org.eclipse.wst.xml_ui.feature.feature.group
. I'm not able to find the right implementation. Please help :) Thank you!