| <?xml version="1.0" encoding="UTF-8"?> |
| <cheatsheet title="Importing PDE example"> |
| <intro> |
| <description> |
| This cheat sheet will demonstrate how to import and run the PDE tutorial example. |
| <br/> |
| <br/> |
| To learn more about using cheat sheets, click the help button |
| in the top right corner (?). |
| </description> |
| </intro> |
| <item title="Open the plug-in development perspective" dialog="false" skip="true" href="/org.eclipse.pde.doc.user/guide/tools/views/views.htm"> |
| <description> |
| To open the plug-in development perspective, |
| select <b>Window->Open Perspective->Other...</b> |
| and choose <b>Plug-in Development</b>. |
| <br/> |
| <br/> |
| Alternatively, click the following button to perform the task. |
| </description> |
| <command serialization="org.eclipse.ui.perspectives.showPerspective(org.eclipse.ui.perspectives.showPerspective.perspectiveId=org.eclipse.pde.ui.PDEPerspective)" confirm="false"> |
| </command> |
| </item> |
| <item title="Import Sample Plugin" dialog="true" skip="false"> |
| <description> |
| To import the sample plug-in for the PDE tutorial, |
| perform the following steps: |
| </description> |
| <subitem label="Select "File->Import..." from the main menu, expand the "Plug-in Development" category within the resulting "Import" wizard, and choose "Plugins and Fragments"" skip="false"> |
| </subitem> |
| <subitem label="Deselect the checkbox labeled "The target platform (as specified in the Preferences)". Then click the Browse button and go to !!!!!!!!!!!!!!!!. Lastly, select the "Projects with source folders" radio button in the "Import As" section towards the bottom of the page. Click "Next"" skip="false"> |
| </subitem> |
| <subitem label="Select the "org.eclipsecon.browser" plug-in in the "Plug-ins and Fragments found" table, click the "Add-->" button, and select "Finish"" skip="false"> |
| </subitem> |
| </item> |
| <item title="Open the plug-in editor" dialog="false" skip="true" href="/org.eclipse.pde.doc.user/guide/tools/editors/manifest_editor/editor.htm"> |
| <description> |
| To open the plug-in editor (if it is not already open), |
| expand the <b>org.eclipsecon.browser</b> tree dialog |
| in the <b>Package Explorer</b> view and double-click |
| on the <b>plugin.xml</b> file (the <b>Extensions</b> page |
| should be open initially). |
| <br/> |
| <br/> |
| Alternatively, click the following button to perform the task. |
| </description> |
| <command serialization="org.eclipse.ui.navigate.openResource(filePath=/org.eclipsecon.browser/plugin.xml)" confirm="false"> |
| </command> |
| </item> |
| <item title="Define a view extension" dialog="true" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/editors/manifest_editor/extensions.htm"> |
| <description> |
| To define a view extension, perform the following steps: |
| </description> |
| <subitem label="Click the "Add" button to open the "New Extension" wizard" skip="false"> |
| </subitem> |
| <subitem label="Select "org.eclipse.ui.views" from the "Extension Points" list box and click "Finish"" skip="false"> |
| </subitem> |
| </item> |
| <item title="Add a view category" dialog="false" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/editors/manifest_editor/extensions.htm"> |
| <description> |
| To define a view category, perform the following steps: |
| </description> |
| <subitem label="Select "org.eclipse.ui.views" in the list box under "All Extensions" heading in the "Extensions" page" skip="false"> |
| </subitem> |
| <subitem label="Right-click and select "New->category" from the context menu" skip="false"> |
| </subitem> |
| <subitem label="Replace the content of the "id" text box under "Extension Element Details" with "org.eclipsecon.browser.category"" skip="false"> |
| </subitem> |
| <subitem label="Replace the content of the "name" text box with "%category.name.browser"" skip="false"> |
| </subitem> |
| <subitem label="Select "File->Save" from the main menu" skip="false"> |
| </subitem> |
| </item> |
| <item title="Add a view" dialog="false" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/editors/manifest_editor/extensions.htm"> |
| <description> |
| To define a view, perform the following steps: |
| </description> |
| <subitem label="Select "org.eclipse.ui.views" in the list box under "All Extensions" heading in the "Extensions" page" skip="false"> |
| </subitem> |
| <subitem label="Right-click and select "New->view" from the context menu" skip="false"> |
| </subitem> |
| <subitem label="Replace the content of the "id" text box under "Extension Element Details" with "org.eclipsecon.browser.view"" skip="false"> |
| </subitem> |
| <subitem label="Replace the content of the "name" text box with "%view.name.links"" skip="false"> |
| </subitem> |
| <subitem label="Replace the content of the "class" text box with "org.eclipsecon.browser.view.ui.EclipseLinksView"" skip="false"> |
| </subitem> |
| <subitem label="Replace the content of the "category" text box with "org.eclipsecon.browser.category"" skip="false"> |
| </subitem> |
| <subitem label="Replace the content of the "icon" text box with "icons/eclipse_icon.gif"" skip="false"> |
| </subitem> |
| <subitem label="In the "allowMultiple" combo, select "false"" skip="false"> |
| </subitem> |
| <subitem label="Select "File->Save" from the main menu" skip="false"> |
| </subitem> |
| </item> |
| <item title="Add a sticky view" dialog="false" skip="true"> |
| <description> |
| To define a stickyView, perform the following steps: |
| </description> |
| <subitem label="Select "org.eclipse.ui.views" in the list box under "All Extensions" heading in the "Extensions" page" skip="false"> |
| </subitem> |
| <subitem label="Right-click and select "New->stickyView" from the context menu" skip="false"> |
| </subitem> |
| <subitem label="Replace the content of the "id" text box under "Extension Element Details" with "org.eclipsecon.browser.view"" skip="false"> |
| </subitem> |
| <subitem label="From the "location" combo under "Extension Element Details" select "RIGHT"" skip="false"> |
| </subitem> |
| <subitem label="From the "closeable" combo select "true"" skip="false"> |
| </subitem> |
| <subitem label="From the "moveable" combo select "true"" skip="false"> |
| </subitem> |
| <subitem label="Select "File->Save" from the main menu" skip="false"> |
| </subitem> |
| </item> |
| <item title="Test the plug-in" dialog="false" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/launchers/eclipse_application_launcher.htm"> |
| <description> |
| To test your Eclipse plug-in inside a target Eclipse platform, |
| perform the following steps: |
| </description> |
| <subitem label="Open the plug-in editor and select the "Overview" tab" skip="true"> |
| <command serialization="org.eclipse.ui.navigate.openResource(filePath=/org.eclipsecon.browser/META-INF/MANIFEST.MF)" confirm="false"> |
| </command> |
| </subitem> |
| <subitem label="Click the "Launch an Eclipse application" hyperlink under the "Testing" heading" skip="false"> |
| </subitem> |
| <subitem label="Select "Window->Show View->Other..." from the main menu in the newly launched Eclipse platform" skip="false"> |
| </subitem> |
| <subitem label="Note the "EclipseCon" category and expand its tree dialog" skip="false"> |
| </subitem> |
| <subitem label="Select the "Links" view and click the "OK" button" skip="false"> |
| </subitem> |
| <subitem label="Select "File->Exit" from the main menu to exit the target Eclipse platform" skip="false"> |
| </subitem> |
| </item> |
| </cheatsheet> |