일부 프로젝트 구성의 경우 프로젝트 루트에 configuration.xml
을 사용하는 Eclipse RCP 응용 프로그램을 빌드했습니다. 나는 아이콘을 사용자 정의하고 기본 XML 편집기를 유지하고 싶습니다. 하나의 블로그 post을 찾았습니다. 정확히 property
파일을 찾고 있습니다. 나는 그것을 추출 :xml 구성 파일 용 eclipse rcp 아이콘 변경
<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>
나는 기본적으로 이클립스의 XML 편집기의 구현에 editor
요소의 속성 class
을 조정할 필요가 있다고 생각한다. org.eclipse.wst.xml_ui.feature.feature.group
을 설치했습니다. 올바른 구현을 찾을 수 없습니다. 제발 도와주세요 :) 고마워요!