| <?xml version="1.0" encoding="UTF-8"?> |
| <cheatsheet title="Utilize custom extension"> |
| <intro> |
| <description> |
| This cheat sheet will demonstrate how to extend the example plug-in by adding a custom extesion using PDE. |
| <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="Create a new plug-in" dialog="true" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/project_wizards/new_plugin_project.htm"> |
| <description> |
| To create the plug-in perform the following steps |
| </description> |
| <subitem label="Select "File->New->Project..." from the main menu, expand the "Plug-in Development" category within the resulting "New Project" dialog box, and choose "Plug-in Project"" skip="true"> |
| <command serialization="org.eclipse.ui.newWizard(newWizardId=org.eclipse.pde.ui.NewProjectWizard)" confirm="false"> |
| </command> |
| </subitem> |
| <subitem label="Input "org.eclipsecon.browser.extension" into the "Project Name" text box" skip="false"> |
| </subitem> |
| <subitem label="Accept the rest of the default preloaded values on the "Plug-in Project" page and click "Next >"" skip="false"> |
| </subitem> |
| <subitem label="Accept the default preloaded values on the "Plug-in Content" page and click "Finish"" skip="false"> |
| </subitem> |
| </item> |
| <item title="Define a useful links 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="Select the "Extensions" tab of the Manifest Editor (which should open automatically)" skip="false"> |
| </subitem> |
| <subitem label="Click the "Add" button in the "All Extensions" section, to open the "New Extension" wizard" skip="false"> |
| </subitem> |
| <subitem label="Deselect the checkbox labeled "Show only extension points from the required plug-ins"" skip="false"> |
| </subitem> |
| <subitem label="Select "org.eclipsecon.browser.usefulLinks" from the "Extension Points" list box and click "Finish"" skip="false"> |
| </subitem> |
| <subitem label="Select "Yes" when prompted "Do you want to add plug-in org.eclipsecon.browser, declaring the usefulLinks extension point, to the list of plug-in dependencies?"" skip="false"> |
| </subitem> |
| </item> |
| <item title="Add new link object" dialog="false" skip="true" href="/org.eclipse.pde.doc.user/guide/tools/editors/manifest_editor/extensions.htm"> |
| <description> |
| To add an additional link object, perform the following steps: |
| </description> |
| <subitem label="Select "org.eclipsecon.browser.usefulLinks" in the list box under "All Extensions" heading in the "Extensions" page" skip="false"> |
| </subitem> |
| <subitem label="Right-click and select "New->linkObject" from the context menu" skip="false"> |
| </subitem> |
| <subitem label="Replace the content of the "name" text box under "Extension Element Details" with "Eclipse Articles"" skip="false"> |
| </subitem> |
| <subitem label="Replace the content of the "link" text box with "http://www.eclipse.org/articles/"" skip="false"> |
| </subitem> |
| <subitem label="Replace the content of the "description" text box with "Web site to find eclipse related articles"" 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="Select the "Overview" tab of the Manifest Editor" skip="true"> |
| <command serialization="org.eclipse.ui.navigate.openResource(filePath=/org.eclipsecon.browser.extension/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="Select "EclipseCon>Links" and click the "OK" button" skip="false"> |
| </subitem> |
| <subitem label="Note the "Eclipse Homepage" and "Eclipse Articles" links under the "Useful Links" section in the Links view" skip="false"> |
| </subitem> |
| <subitem label="Select "File->Exit" from the main menu to exit the target Eclipse platform" skip="false"> |
| </subitem> |
| </item> |
| </cheatsheet> |