blob: 6218d323ea18f542775f7078ff77837fefbf673f [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<cheatsheet title="Extend the Eclipse Browser view">
<intro>
<description>
This cheat sheet will demonstrate how to extend the Eclipse Browser view 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="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 &quot;File-&gt;New-&gt;Project...&quot; from the main menu to bring up the &quot;New Project&quot; wizard. Expand the &quot;Plug-in Development&quot; category, choose &quot;Plug-in Project&quot; and press &quot;Next&quot;." skip="false">
<command serialization="org.eclipse.ui.newWizard(newWizardId=org.eclipse.pde.ui.NewProjectWizard)" confirm="false">
</command>
</subitem>
<subitem label="Input &quot;org.eclipse.browser.extension&quot; into the &quot;Project Name&quot; text box. Accept all defaults and press &quot;Next&quot;." skip="false">
</subitem>
<subitem label="Accept all default values on the &quot;Plug-in Content&quot; page and press &quot;Finish&quot;. A new plug-in project will be created and the plug-in manifest editor will open automatically." skip="false">
</subitem>
</item>
<item title="Define a new link" dialog="true" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/editors/manifest_editor/extensions.htm">
<description>
To contribute a new link to the Eclipse Browser view, perform the following steps:
</description>
<subitem label="On the &quot;Extensions&quot; page of the plug-in manifest editor, press the &quot;Add...&quot; button in the &quot;All Extensions&quot; section to open the &quot;New Extension&quot; wizard." skip="false">
</subitem>
<subitem label="Deselect the checkbox labeled &quot;Show only extension points from the required plug-ins&quot;." skip="false">
</subitem>
<subitem label="Select &quot;org.eclipse.browser.usefulLinks&quot; from the &quot;Extension Points&quot; list box and press &quot;Finish&quot;." skip="false">
</subitem>
<subitem label="Select &quot;No&quot; when prompted &quot;Do you want to add plug-in org.eclipsecon.browser, declaring the usefulLinks extension point, to the list of plug-in dependencies?&quot;." skip="false">
</subitem>
</item>
<item title="Add new link object" dialog="false" skip="false" 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="Right-click the &quot;org.eclipse.browser.usefulLinks&quot; in the list box under &quot;All Extensions&quot; heading in the &quot;Extensions&quot; page and select &quot;New-&gt;linkObject&quot; from the context menu." skip="false">
</subitem>
<subitem label="Replace the content of the &quot;name&quot; text box under &quot;Extension Element Details&quot; with &quot;Eclipse Articles&quot;." skip="false">
</subitem>
<subitem label="Replace the content of the &quot;link&quot; text box with &quot;http://www.eclipse.org/articles/&quot;." skip="false">
</subitem>
<subitem label="Right-click on the &quot;linkObject&quot; element and select &quot;New&gt;description&quot; from the context menu." skip="false">
</subitem>
<subitem label="Select the &quot;description&quot; element. Expand the &quot;Body Text&quot; section at the bottom of the &quot;Extensions&quot; page and input &quot;Web site to find Eclipse-related articles&quot; in the text area." skip="false">
</subitem>
<subitem label="Select &quot;File-&gt;Save&quot; 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 plug-in, perform the following steps:
</description>
<subitem label="On the &quot;Overview&quot; of the plug-in manifest editor, click the &quot;Launch an Eclipse application&quot; hyperlink under the &quot;Testing&quot; heading to launch a second instance of Eclipse." skip="false">
</subitem>
<subitem label="Note the &quot;Eclipse Articles&quot; link under the &quot;Useful Links&quot; section in the Eclipse Browser view. Click on it to view the associated web site in an embedded browser." skip="false">
</subitem>
<subitem label="Select &quot;File-&gt;Exit&quot; from the main menu to close the second Eclipse instance." skip="false">
</subitem>
</item>
</cheatsheet>