Brian Bauman | 20fbfb7 | 2007-02-13 02:25:52 +0000 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <cheatsheet title="Utilize application extension"> |
| 3 | <intro> |
| 4 | <description> |
| 5 | This cheat sheet will demonstrate how create a RCP application. |
| 6 | <br/> |
| 7 | <br/> |
| 8 | To learn more about using cheat sheets, click the help button |
| 9 | in the top right corner (?). |
| 10 | </description> |
| 11 | </intro> |
| 12 | <item title="Open the plug-in development perspective" dialog="false" skip="true" href="/org.eclipse.pde.doc.user/guide/tools/views/views.htm"> |
| 13 | <description> |
| 14 | To open the plug-in development perspective, |
| 15 | select <b>Window->Open Perspective->Other...</b> |
| 16 | and choose <b>Plug-in Development</b>. |
| 17 | <br/> |
| 18 | <br/> |
| 19 | Alternatively, click the following button to perform the task. |
| 20 | </description> |
| 21 | <command serialization="org.eclipse.ui.perspectives.showPerspective(org.eclipse.ui.perspectives.showPerspective.perspectiveId=org.eclipse.pde.ui.PDEPerspective)" confirm="false"> |
| 22 | </command> |
| 23 | </item> |
| 24 | <item title="Open the plug-in editor" dialog="false" skip="true" href="/org.eclipse.pde.doc.user/guide/tools/editors/manifest_editor/editor.htm"> |
| 25 | <description> |
| 26 | To open the plug-in editor (if it is not already open), |
| 27 | expand the <b>org.eclipsecon.browser</b> tree dialog |
| 28 | in the <b>Package Explorer</b> view and double-click |
| 29 | on the <b>plugin.xml</b> file (the <b>Extensions</b> page |
| 30 | should be open initially). |
| 31 | <br/> |
| 32 | <br/> |
| 33 | Alternatively, click the following button to perform the task. |
| 34 | </description> |
| 35 | <command serialization="org.eclipse.ui.navigate.openResource(filePath=/org.eclipsecon.browser/plugin.xml)" confirm="false"> |
| 36 | </command> |
| 37 | </item> |
| 38 | <item title="Define a perspective extension" dialog="false" skip="false"> |
| 39 | <description> |
| 40 | To define a perspective extension, perform the following steps: |
| 41 | </description> |
| 42 | <subitem label="Click the "Add" button to open the "New Extension" wizard" skip="false"> |
| 43 | </subitem> |
| 44 | <subitem label="Select "org.eclipse.ui.perspectives" from the "Extension Points" list box and click "Finish"" skip="false"> |
| 45 | </subitem> |
| 46 | </item> |
| 47 | <item title="Define a perspective" dialog="false" skip="false"> |
| 48 | <description> |
| 49 | To define a perspective, perform the following steps: |
| 50 | </description> |
| 51 | <subitem label="Select "org.eclipse.ui.perspectives" in the list box under "All Extensions" heading in the "Extensions" page" skip="false"> |
| 52 | </subitem> |
| 53 | <subitem label="Right-click and select "New->perspective" from the context menu" skip="false"> |
| 54 | </subitem> |
| 55 | <subitem label="Replace the content of the "id" text box under "Extension Element Details" with "org.eclipsecon.browser.perspective"" skip="false"> |
| 56 | </subitem> |
| 57 | <subitem label="Replace the content of the "name" text box with "%perspective.name.links"" skip="false"> |
| 58 | </subitem> |
| 59 | <subitem label="Replace the content of the "class" text box with "org.eclipsecon.browser.application.EclipseLinksPerspective"" skip="false"> |
| 60 | </subitem> |
| 61 | <subitem label="Replace the content of the "icon" text box with "icons/eclipse_icon.gif"" skip="false"> |
| 62 | </subitem> |
| 63 | <subitem label="Select "File->Save" from the main menu" skip="false"> |
| 64 | </subitem> |
| 65 | </item> |
| 66 | <item title="Define an application extension" dialog="true" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/editors/manifest_editor/extensions.htm"> |
| 67 | <description> |
| 68 | To define an application extension, perform the following steps: |
| 69 | </description> |
| 70 | <subitem label="Click the "Add" button to open the "New Extension" wizard" skip="false"> |
| 71 | </subitem> |
| 72 | <subitem label="Select "org.eclipse.core.runtime.applications" from the "Extension Points" list box and click "Finish"" skip="false"> |
| 73 | </subitem> |
| 74 | <subitem label="Set the contents of the "ID" field to "application"" skip="false"> |
| 75 | </subitem> |
| 76 | </item> |
| 77 | <item title="Add an application" dialog="false" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/editors/manifest_editor/extensions.htm"> |
| 78 | <description> |
| 79 | To define an application, perform the following steps: |
| 80 | </description> |
| 81 | <subitem label="Select "org.eclipse.ui.perspectives" in the list box under "All Extensions" heading in the "Extensions" page" skip="false"> |
| 82 | </subitem> |
| 83 | <subitem label="Right-click and select "New->application" from the context menu" skip="false"> |
| 84 | </subitem> |
| 85 | <subitem label="Select "(application)" under "org.eclipse.core.runtime.applications" in the list box under "All Extensions" heading in the "Extensions" page" skip="false"> |
| 86 | </subitem> |
| 87 | <subitem label="Right-click and select "New->run" from the context menu" skip="false"> |
| 88 | </subitem> |
| 89 | <subitem label="Replace the content of the "class" text box with "org.eclipsecon.browser.application.Application"" skip="false"> |
| 90 | </subitem> |
| 91 | <subitem label="Select "File->Save" from the main menu" skip="false"> |
| 92 | </subitem> |
| 93 | </item> |
| 94 | <item title="Test the plug-in" dialog="false" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/launchers/eclipse_application_launcher.htm"> |
| 95 | <description> |
| 96 | To test your Eclipse plug-in inside a target Eclipse platform, |
| 97 | perform the following steps: |
| 98 | </description> |
| 99 | <subitem label="Open the plug-in editor for the "org.eclipsecon.browser" plug-in and select the "Overview" tab" skip="true"> |
| 100 | <command serialization="org.eclipse.ui.navigate.openResource(filePath=/org.eclipsecon.browser/META-INF/MANIFEST.MF)" confirm="false"> |
| 101 | </command> |
| 102 | </subitem> |
| 103 | <subitem label="Click the "Launch an Eclipse application" hyperlink under the "Testing" heading" skip="false"> |
| 104 | </subitem> |
| 105 | <subitem label="Select "File->Exit" from the main menu to exit the target Eclipse platform" skip="false"> |
| 106 | </subitem> |
| 107 | </item> |
| 108 | </cheatsheet> |