ȯ°æ ¼³Á¤ Àü¼Û

org.eclipse.ui.preferenceTransfer

3.1

Workbench¿¡¼­´Â ȯ°æ ¼³Á¤À» À¯Áöº¸¼öÇÏ´Â µ¥ ÇÊ¿äÇÑ Áö¿øÀ» Á¦°øÇÕ´Ï´Ù. ÀÌ È®ÀåÁ¡ÀÇ ¿ëµµ´Â Ç÷¯±×Àο¡¼­ ȯ°æ ¼³Á¤ÀÇ Æ¯Á¤ ±×·ìÀ» ÀúÀå ¹× ·ÎµåÇÏ´Â µ¥ ÇÊ¿äÇÑ Æ¯Á¤ Áö¿øÀ» Ãß°¡ÇÒ ¼ö ÀÖµµ·Ï ÇÏ´Â °ÍÀÔ´Ï´Ù. ÀϹÝÀûÀ¸·Î ÀÌ È®ÀåÁ¡Àº °¡Á®¿À±â ¹× ³»º¸³»±â¿Í °°Àº Á¶ÀÛ¿¡ »ç¿ëµË´Ï´Ù.

<!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)>

º»¹®¿¡¼­ Àü¼Û ¿£Áø ±â´É¿¡ ´ëÇÑ °£´ÜÇÑ ¼³¸íÀ» Ç¥½ÃÇØ¾ß ÇÏ´Â ¼±ÅÃÀû ÇÏÀ§ ¿ä¼Ò.



<!ELEMENT mapping (entry*)>

<!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ÀÇ ½ºÆå¿¡ ÀÖ½À´Ï´Ù.



<!ELEMENT entry (key*)>

<!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>