ÄÄÆ÷ÁöÆ® ġƮ ½ÃÆ®´Â º¹ÇÕ ¹®Á¦Á¡À» ¼ÒÇü Ÿ½ºÅ© ¼¼Æ®·Î ºÐÇØÇÏ¿© ÇØ´ç ¹®Á¦Á¡À» ÇØ°áÇÒ ¼ö ÀÖµµ·Ï ¾È³»ÇÕ´Ï´Ù. ÄÄÆ÷ÁöÆ® ġƮ ½ÃÆ®´Â org.eclipse.ui.cheatsheets.cheatSheetContent È®ÀåÁ¡À» »ç¿ëÇÏ¿© µî·ÏµË´Ï´Ù.
ÄÄÆ÷ÁöÆ® ġƮ ½ÃÆ® ÄÁÅÙÃ÷ ÀÚü´Â ÄÄÆ÷ÁöÆ® ġƮ ½ÃÆ® ÄÁÅÙÃ÷ ÆÄÀÏ ½ºÆåÀ» µû¸£´Â º°µµÀÇ ÆÄÀÏ¿¡ Á¤Àǵ˴ϴÙ. ÄÁÅÙÃ÷ ÆÄÀÏÀº XML ÆÄÀÏÀÌ¸ç ±×·ì¿¡¼ Æ®¸® ±¸Á¶·Î ±¸¼ºµÇ´Â Ÿ½ºÅ© ¼¼Æ®·Î ±¸¼ºµË´Ï´Ù.
<compositeCheatsheet>´Â ÄÄÆ÷ÁöÆ® ġƮ ½ÃÆ®ÀÇ ·çÆ® ¿ä¼Ò·Î, <task> ¶Ç´Â <taskGroup>ÀÌ µÉ ¼ö ÀÖ´Â ´ÜÀÏ ·çÆ® Ÿ½ºÅ©¸¦ °®½À´Ï´Ù. <taskGroup> ¿ä¼Ò´Â Çϳª ÀÌ»óÀÇ ÇÏÀ§¸¦ °¡Áú ¼ö ÀÖÀ¸¸ç, °¢ ÇÏÀ§´Â <task> ¶Ç´Â <taskGroup>ÀÏ ¼ö ÀÖ½À´Ï´Ù. <task>¿¡´Â ÇÏÀ§ Ÿ½ºÅ©°¡ ¾ø½À´Ï´Ù.
Ÿ½ºÅ© ¹× Ÿ½ºÅ© ±×·ì¿¡´Â <intro> ¿ä¼Ò(Ÿ½ºÅ©¸¦ ½ÃÀÛÇϱâ Àü¿¡ Ç¥½ÃµÇ´Â ÅØ½ºÆ®°¡ µé¾î ÀÖÀ½) ¹× <onCompletion> ¿ä¼Ò(Ÿ½ºÅ©°¡ ¿Ï·áµÈ °æ¿ì Ç¥½ÃµÇ´Â ÅØ½ºÆ®°¡ µé¾î ÀÖÀ½)°¡ Æ÷Ç﵃ ¼ö ÀÖ½À´Ï´Ù. µÎ <intro> ¹× <onCompletion> ¿ä¼Ò¿¡´Â ¾ç½Ä ÅØ½ºÆ® ¸¶Å©¾÷ÀÌ Æ÷Ç﵃ ¼ö ÀÖ½À´Ï´Ù. ¾Æ·¡ ¿¹Á¦¿¡¼ <b> ¹× </b> ÅÂ±×´Â ÅØ½ºÆ®¸¦ ±½°Ô Ç¥½ÃÇÏ´Â µ¥ »ç¿ëµË´Ï´Ù.
Ÿ½ºÅ©¿¡´Â <param> ¿ä¼Òµµ Æ÷Ç﵃ ¼ö ÀÖ½À´Ï´Ù. ġƮ ½ÃÆ® Ÿ½ºÅ©´Â ´ÙÀ½ ¸Å°³º¯¼ö¸¦ °¡Áú ¼ö ÀÖ½À´Ï´Ù. "id"´Â µî·ÏµÈ ġƮ ½ÃÆ®ÀÇ IDÀ̰í, "path"´Â ġƮ ½ÃÆ® ÄÁÅÙÃ÷ ÆÄÀÏÀÇ »ó´ë °æ·Î ¶Ç´Â URLÀ̰í, "skipIntro"´Â trueÀÎ °æ¿ì ¼Ò°³ ºÎºÐÀÌ ¾Æ´Ñ ù ¹øÂ° ´Ü°è¿¡¼ ġƮ ½ÃÆ®°¡ ½ÃÀÛµÇ°Ô ÇÏ´Â ºÎ¿ï ¸Å°³º¯¼öÀÔ´Ï´Ù. "id" ¶Ç´Â "path"¸¦ ÁöÁ¤ÇØ¾ß ÇÕ´Ï´Ù(µÑ ¸ðµÎ¸¦ ÁöÁ¤ÇÒ ¼ö´Â ¾øÀ½).
Ÿ½ºÅ© "B"¿¡¼ Ÿ½ºÅ© "A"·ÎÀÇ <dependency> ³ëµå´Â Ÿ½ºÅ© B¸¦ ½ÃÀÛÇϱâ Àü¿¡ Ÿ½ºÅ© A°¡ ¿Ï·áµÇ¾î¾ß ÇÔÀ» ³ªÅ¸³À´Ï´Ù.
Ÿ½ºÅ©¿¡ kind = "cheatsheet"°¡ ÀÖ´Â °æ¿ì ġƮ ½ÃÆ®´Â ÇØ´ç Ÿ½ºÅ©°¡ ½ÃÀÛµÇ¸é ¿¸³´Ï´Ù. ġƮ ½ÃÆ® Ÿ½ºÅ©¿¡ »ç¿ëÇÒ ¼ö ÀÖ´Â ¼¼ °¡ÁöÀÇ ¸Å°³º¯¼ö°¡ ÀÖ½À´Ï´Ù.
¸Å°³º¯¼ö À̸§ | ¼³¸í |
id | È®ÀåÁ¡ org.eclipse.ui.cheatsheets.cheatSheetContent¸¦ »ç¿ëÇÏ¿© µî·ÏµÈ ġƮ ½ÃÆ® ID. À̸¦ »ç¿ëÇÏ¿© ÇØ´ç Ÿ½ºÅ©¿Í ¿¬°üµÇ´Â ġƮ ½ÃÆ®¸¦ ½Äº°ÇÕ´Ï´Ù. ID³ª °æ·Î ¸Å°³º¯¼ö(µÑ ´Ù´Â ¾Æ´Ô)¸¦ ÁöÁ¤ÇØ¾ß ÇÕ´Ï´Ù. |
path | ġƮ ½ÃÆ® ÄÁÅÙÃ÷ ÆÄÀÏÀÇ URL. Àý´ë URLÀ̰ųª ÄÄÆ÷ÁöÆ® ġƮ ½ÃÆ® ÄÁÅÙÃ÷ ÆÄÀÏÀÇ »ó´ë URLÀÔ´Ï´Ù. ID¿Í °æ·Î¸¦ µÑ ´Ù ÁöÁ¤ÇÑ °æ¿ì °æ·Î°¡ ÄÁÅÙÃ÷ ÆÄÀÏÀ» ã´Â µ¥ »ç¿ëµÇ°í ID ¸Å°³º¯¼ö´Â ¹«½ÃµË´Ï´Ù. |
showIntro | ±âº»°ªÀ¸·Î ture·Î ¼³Á¤µÈ ºÎ¿ï ¸Å°³º¯¼ö. "false"ÀÎ °æ¿ì ġƮ ½ÃÆ®°¡ ½ÃÀÛµÉ ¶§ ¼Ò°³ ´ë½Å ù ¹øÂ° ´Ü°è°¡ óÀ½¿¡ Ç¥½ÃµË´Ï´Ù. |
¾Æ·¡ÀÇ ÆÄÀÏÀº ±âÁ¸ ġƮ ½ÃÆ®¿¡¼ ÄÄÆ÷ÁöÆ® ġƮ ½ÃÆ®¸¦ ÀÛ¼ºÇÏ´Â ¹æ¹ý¿¡ ´ëÇÑ ¿¹Á¦ÀÔ´Ï´Ù. Ÿ½ºÅ© ±×·ìÀ» ÀÛ¼ºÇϰí Ÿ½ºÅ©¸¦ °Ç³Ê¶Û ¼ö ÀÖ°Ô ÇÏ´Â ¹æ¹ýÀ» º¸¿©ÁÝ´Ï´Ù.
<?xml version="1.0" encoding="UTF-8" ?> <compositeCheatsheet name="Composite cheat sheet example"> <taskGroup name= "Composite cheat sheet example"> <intro> This is an example of a <b>composite cheat sheet</b> built from existing cheat sheets. <br/><br/>You can select a task to work on either by following the hyperlinks or by selecting a task in the tree. </intro> <onCompletion>Congratulations you have completed all the tasks.</onCompletion> <task kind="cheatsheet" name= "Branching and merging using CVS" skip="true"> <param name = "id" value = "org.eclipse.platform.cvs_1" /> <intro>This cheat sheet is intended for CVS users. If you are not using CVS or do not intend to branch and merge you may skip this task. </intro> <onCompletion>Congratulations you now know how to branch and merge.</onCompletion> </task> <taskGroup name= "Create Java Projects" kind = "sequence"> <intro> First you will learn how to create a simple java project, then you will create an java project which uses SWT. <br/><br/>This task group is a sequence which means that if you click on the subtask "Standalone SWT Application" it will not let that task be started until "Create a java project" has been completed. </intro> <onCompletion>Congratulations you have built both Java applications.</onCompletion> <task kind="cheatsheet" name= "Create a java project" id = "createJavaProject"> <param name="id" value = "org.eclipse.jdt.helloworld"/> <param name="showIntro" value = "false"/> <intro>This cheat sheet walks through the process of creating a simple hello world application. The cheat sheet can launch wizards to create a new project and a new class. </intro> <onCompletion>Congratulations you have succeeded in creating a hello world application</onCompletion> </task> <task kind="cheatsheet" name= "Standalone SWT Application"> <intro>Eclipse plugins which contribute to the user interface use The Standard Widget Toolkit (SWT). This task guide can be used to learn more about SWT. </intro> <param name = "id" value = "org.eclipse.jdt.helloworld.swt" /> <onCompletion>Congratulations you have succeeded in creating an SWT application.</onCompletion> </task> </taskGroup> </taskGroup> </compositeCheatsheet>
ÄÄÆ÷ÁöÆ® ġƮ ½ÃÆ®´Â È®Àå °¡´ÉÇÏÁö¸¸ Eclipse 3.2¿¡¼ ÀÌ È®À强Àº ÀϽÃÀûÀ̸ç API°¡ µÇ±â Àü¿¡ Ŭ·¡½º°¡ º¯°æµÉ ¼ö ÀÖ½À´Ï´Ù. ÄÄÆ÷ÁöÆ® ġƮ ½ÃÆ® Áö¿øÀº Ÿ½ºÅ© ÆíÁý±â ¹× Ÿ½ºÅ© Ž»ö±â¸¦ Á¦°øÇÒ ¼ö ÀÖ´Â »õ·Î¿î µÎ ¿ä¼ÒÀÎ taskEditor¿Í taskExplorer°¡ ÀÖ´Â org.eclipse.ui.cheatsheets.cheatSheetContent È®ÀåÁ¡À» »ç¿ëÇÏ¿© È®ÀåÇÒ ¼ö ÀÖ½À´Ï´Ù.
Ÿ½ºÅ© ÆíÁý±â¸¦ Á¦°øÇϸé Ÿ½ºÅ© ¼¼ºÎ»çÇ× ¼½¼Ç¿¡ Ç¥½ÃµÇ´Â »õ·Î¿î Á¾·ùÀÇ Å¸½ºÅ©°¡ Á¤Àǵ˴ϴÙ. Ÿ½ºÅ© ÆíÁý±â¸¦ Á¦°øÇÏ·Á¸é TaskEditorÀÇ ±¸Ã¼Àû ¼ºêŬ·¡½º¸¦ ±¸ÇöÇÑ ´ÙÀ½ taskEditor ¿ä¼Ò¸¦ plugin.xml¿¡ Ãß°¡ÇϽʽÿÀ.
È®ÀåÁ¡À» »ç¿ëÇÏ¿© Ÿ½ºÅ© Ž»ö±âÀÇ Ç¥½Ãµµ ±¸¼ºÇÒ ¼ö ÀÖ½À´Ï´Ù. Æ®¸® Ž»ö±â´Â Eclipse Ç÷§Æû¿¡ Æ÷ÇԵǾî ÀÖ½À´Ï´Ù. ±âº»ÀûÀ¸·Î ù ¹øÂ°·Î ¿¸° Ç׸ñÀÌ <compositeCheatSheet> ¿ä¼ÒÀÇ ¼Ó¼ºÀÎ Æ®¸®ÀÎ °æ¿ì ÄÄÆ÷ÁöÆ® ġƮ ½ÃÆ® Ž»ö±â¿¡¼´Â ÇØ´ç ±âº»°ªÀ» ´ëüÇÒ ¼ö ÀÖ½À´Ï´Ù. µÑ ÀÌ»óÀÇ Å½»ö±â°¡ µî·ÏµÈ °æ¿ì º¸±â ¸Þ´º¿¡´Â Ž»ö±â °£¿¡ ÀüȯÇÒ ¼ö ÀÖ´Â ¸Þ´º Ç׸ñÀÌ Æ÷ÇԵ˴ϴÙ. Ÿ½ºÅ© Ž»ö±â¸¦ Á¦°øÇÏ·Á¸é ¸ÕÀú TaskExplorerÀÇ ±¸Ã¼Àû ¼ºêŬ·¡½º¸¦ ±¸ÇöÇÑ ´ÙÀ½ taskExplorer ¿ä¼Ò¸¦ plugin.xml¿¡ Ãß°¡ÇϽʽÿÀ.
ġƮ ½ÃÆ®¿¡ ´ëÇÑ ÀÛ¾÷
ÄÄÆ÷ÁöÆ® ġƮ ½ÃÆ®¿¡ ´ëÇÑ ÀÛ¾÷
ġƮ ½ÃÆ® ÀÛ¼º
ÀÛ¼º °¡À̵å¶óÀÎ
ÄÄÆ÷ÁöÆ® ġƮ ½ÃÆ® ÄÁÅÙÃ÷ ÆÄÀÏ ½ºÆå
org.eclipse.ui.cheatsheets.cheatSheetContent È®ÀåÁ¡