blob: 0c1b3b0a5354fb5811b92614abf8543917bcb09f [file] [log] [blame]
Brian Bauman20fbfb72007-02-13 02:25:52 +00001<?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-&gt;Open Perspective-&gt;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 &quot;Add&quot; button to open the &quot;New Extension&quot; wizard" skip="false">
43 </subitem>
44 <subitem label="Select &quot;org.eclipse.ui.perspectives&quot; from the &quot;Extension Points&quot; list box and click &quot;Finish&quot;" 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 &quot;org.eclipse.ui.perspectives&quot; in the list box under &quot;All Extensions&quot; heading in the &quot;Extensions&quot; page" skip="false">
52 </subitem>
53 <subitem label="Right-click and select &quot;New-&gt;perspective&quot; from the context menu" skip="false">
54 </subitem>
55 <subitem label="Replace the content of the &quot;id&quot; text box under &quot;Extension Element Details&quot; with &quot;org.eclipsecon.browser.perspective&quot;" skip="false">
56 </subitem>
57 <subitem label="Replace the content of the &quot;name&quot; text box with &quot;%perspective.name.links&quot;" skip="false">
58 </subitem>
59 <subitem label="Replace the content of the &quot;class&quot; text box with &quot;org.eclipsecon.browser.application.EclipseLinksPerspective&quot;" skip="false">
60 </subitem>
61 <subitem label="Replace the content of the &quot;icon&quot; text box with &quot;icons/eclipse_icon.gif&quot;" skip="false">
62 </subitem>
63 <subitem label="Select &quot;File-&gt;Save&quot; 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 &quot;Add&quot; button to open the &quot;New Extension&quot; wizard" skip="false">
71 </subitem>
72 <subitem label="Select &quot;org.eclipse.core.runtime.applications&quot; from the &quot;Extension Points&quot; list box and click &quot;Finish&quot;" skip="false">
73 </subitem>
74 <subitem label="Set the contents of the &quot;ID&quot; field to &quot;application&quot;" 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 &quot;org.eclipse.ui.perspectives&quot; in the list box under &quot;All Extensions&quot; heading in the &quot;Extensions&quot; page" skip="false">
82 </subitem>
83 <subitem label="Right-click and select &quot;New-&gt;application&quot; from the context menu" skip="false">
84 </subitem>
85 <subitem label="Select &quot;(application)&quot; under &quot;org.eclipse.core.runtime.applications&quot; in the list box under &quot;All Extensions&quot; heading in the &quot;Extensions&quot; page" skip="false">
86 </subitem>
87 <subitem label="Right-click and select &quot;New-&gt;run&quot; from the context menu" skip="false">
88 </subitem>
89 <subitem label="Replace the content of the &quot;class&quot; text box with &quot;org.eclipsecon.browser.application.Application&quot;" skip="false">
90 </subitem>
91 <subitem label="Select &quot;File-&gt;Save&quot; 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 &quot;org.eclipsecon.browser&quot; plug-in and select the &quot;Overview&quot; 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 &quot;Launch an Eclipse application&quot; hyperlink under the &quot;Testing&quot; heading" skip="false">
104 </subitem>
105 <subitem label="Select &quot;File-&gt;Exit&quot; from the main menu to exit the target Eclipse platform" skip="false">
106 </subitem>
107 </item>
108</cheatsheet>