»õ º¸±â¸¦ ½ÇÇàÇϱâ Àü¿¡ ´ÙÀ½°ú °°ÀÌ »ý¼ºµÈ Manifest ÆÄÀÏÀ» ã¾Æº¸±â·Î ÇÕ´Ï´Ù.
<?xml version="1.0" encoding="UTF-8"?> <?eclipse version="3.0"?> <plugin id="com.example.helloworld" name="Helloworld Plug-in" version="1.0.0" provider-name="EXAMPLE" class="com.example.helloworld.HelloworldPlugin"> <runtime> <library name="helloworld.jar"> <export name="*"/> </library> </runtime> <requires> <import plugin="org.eclipse.ui"/> <import plugin="org.eclipse.core.runtime"/> <import plugin="org.eclipse.core.runtime.compatibility"/> </requires> <extension point="org.eclipse.ui.views"> <category name="Hello Category" id="com.example.helloworld"> </category> <view name="Hello View" icon="icons/sample.gif" category="com.example.helloworld" class="com.example.helloworld.HelloWorldView" id="com.example.helloworld.HelloWorldView"> </view> </extension> </plugin>
Ç÷¯±×ÀÎ ÇÁ·ÎÁ§Æ®¸¦ ÀÛ¼ºÇßÀ» ¶§ Á¦°øÇÑ º¸±â¿¡ ´ëÇÑ Á¤º¸°¡ º¸±â È®ÀåÀ» Á¤ÀÇÇϱâ À§ÇÑ ÀûÀýÇÑ ¸¶Å©¾÷ÀÌ ÀÖ´Â Manifest ÆÄÀÏÀ» »ý¼ºÇÏ´Â µ¥ »ç¿ëµÇ¾ú½À´Ï´Ù. È®Àå Á¤ÀÇ¿¡¼ À̸§°ú ID¸¦ Æ÷ÇÔÇÑ º¸±â¿¡ ´ëÇÑ Ä«Å×°í¸®¸¦ Á¤ÀÇÇÕ´Ï´Ù. ±×·± ´ÙÀ½ À̸§°ú ID¸¦ Æ÷ÇÔÇÑ º¸±â ÀÚü¸¦ Á¤ÀÇÇϰí, Ä«Å×°í¸®¿¡ Á¤ÀÇÇÑ ID¸¦ »ç¿ëÇÏ¿© Ä«Å×°í¸®¿Í º¸±â¸¦ ¿¬°ü½Ãŵ´Ï´Ù. º¸±â HelloWorldView¸¦ ±¸ÇöÇϴ Ŭ·¡½ºµµ ÁöÁ¤ÇÕ´Ï´Ù.
º¸´Â ¹Ù¿Í °°ÀÌ Manifest ÆÄÀÏÀº È®Àå ¹× ½ÇÇà ¹æ¹ý¿¡ ´ëÇÑ ¸ðµç Á¤º¸¸¦ ÀÚ¼¼ÇÏ°í °£°áÇÑ ÆÐŰÁö·Î ¿ä¾àÇÕ´Ï´Ù.