<!ELEMENT extension (transfer*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT transfer (mapping+ , description?)>
<!ATTLIST transfer
id CDATA #REQUIRED
name CDATA #REQUIRED
icon CDATA #IMPLIED>
<!ELEMENT description (#PCDATA)>
본문에서 전송 엔진 기능에 대한 간단한 설명을 표시해야 하는 선택적 부속요소.
<!ATTLIST mapping
scope CDATA #REQUIRED>
org.eclipse.core.runtime.preferences.IPreferenceFilter를 표시하는 부속요소. 이 부속요소에서는 org.eclipse.core.runtime.preferences.IScope 범위의 하나 이상 맵핑에 노드(노드당 0개 이상의 키가 지정됨)를 0개 이상 지정합니다. 필터의 내보내기 및 가져오기 동작 규칙은 org.eclipse.core.runtime.preferences.IPreferenceFilter의 스펙에 있습니다.
<!ATTLIST entry
node CDATA #IMPLIED>
지정된 범위로 전송할 키 및 노드를 지정하는 부속 요소
<!ELEMENT key EMPTY>
<!ATTLIST key
name CDATA #REQUIRED>
모든 전송을 내보내고 지정된 범위의 모든 노드를 내보내는 예제
<extension point=
"org.eclipse.ui.preferenceTransfer"
>
<transfer icon=
"XYZ.gif"
name=
"Export All Transfer Test"
id=
"org.eclipse.ui.tests.all"
>
<mapping scope=
"instance"
>
</mapping>
<mapping scope=
"configuration"
>
</mapping>
<mapping scope=
"project"
>
</mapping>
<description>
Export all tranfer, exports all nodes for specified scopes</description>
</transfer>
</extension>
VST(Very Simple Transfer)에서는 필수 정보만을 제공합니다.
<extension point=
"org.eclipse.ui.preferenceTransfer"
>
<transfer name=
"Bare Bones Transfer Test"
id=
"org.eclipse.ui.tests.all"
>
<mapping scope=
"instance"
>
</mapping>
</transfer>
</extension>
키 및 노드의 여러 조합을 내보내는 예제
<extension point=
"org.eclipse.ui.preferenceTransfer"
>
<transfer icon=
"XYZ.gif"
name=
"Export many preferences"
id=
"org.eclipse.ui.tests.all"
>
<mapping scope=
"instance"
>
<entry node=
"org.eclipse.ui"
>
<key name=
"showIntro,DOCK_PERSPECTIVE_BAR"
/>
</entry>
<entry node=
"org.eclipse.ui.workbench"
>
<key name=
"bogus,RUN_IN_BACKGROUND"
/>
</entry>
<entry node=
"org.eclipse.ui.ide"
/>
<entry node=
"org.eclipse.core.resources"
/>
</mapping>
<mapping scope=
"configuration"
>
</mapping>
<description>
Export many combinations of keys and nodes</description>
</transfer>
</extension>
Copyright (c) 2005 IBM Corporation and others.
All rights reserved. 본 프로그램 및 본 프로그램에 동봉되는 자료는 본 배포물에 동봉되는 Eclipse Public License v1.0의 조항에 따라 사용해야 하며
웹 사이트(http://www.eclipse.org/legal/epl-v10.html)에서도 관련 사항을 참조할 수 있습니다.