<!ELEMENT extension (factory+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ATTLIST factory
adaptableType CDATA #REQUIRED
class CDATA #REQUIRED>
<!ELEMENT adapter EMPTY>
<!ATTLIST adapter
type CDATA #REQUIRED>
<extension point=
"org.eclipse.core.runtime.adapters"
>
<factory class=
"com.xyz.MyFileAdapterFactory"
adaptableType=
"org.eclipse.core.resources.IFile"
>
<adapter type=
"com.xyz.MyFile"
/>
</factory>
</extension>
IAdapterManager.hasAdapter
¸Þ¼Òµå¸¦
»ç¿ëÇÏ¿© Á¶È¸µÇ°Å³ª IAdapterFactoryÀÇ getAdapter
¸Þ¼Òµå Áß Çϳª¸¦ »ç¿ëÇÏ¿© °Ë»öµÉ ¼ö ÀÖ½À´Ï´Ù.
ÀÌ È®ÀåÁ¡À» ÅëÇØ
µî·ÏµÈ ¾î´ðÅÍ ÆÑÅ丮´Â ·±Å¸ÀÓ ½Ã IAdapterFactory.registerAdapters¸¦
»ç¿ëÇÏ¿© µî·ÏÇÏÁö ¾Ê¾Æµµ µË´Ï´Ù.
Copyright (c) 2004, 2005 IBM Corporation and others.
All rights reserved. º» ÇÁ·Î±×·¥ ¹× º» ÇÁ·Î±×·¥¿¡ µ¿ºÀµÇ´Â ÀÚ·á´Â º» ¹èÆ÷¹°¿¡ µ¿ºÀµÇ´Â Eclipse Public License v1.0ÀÇ Á¶Ç׿¡ µû¶ó »ç¿ëÇØ¾ß Çϸç
À¥ »çÀÌÆ®(http://www.eclipse.org/legal/epl-v10.html)¿¡¼µµ °ü·Ã »çÇ×À» ÂüÁ¶ÇÒ ¼ö ÀÖ½À´Ï´Ù.