blob: d3e0a6b7ba8e36992d7b31aad148d9a7ea7b2d51 [file] [log] [blame]
Brian Baumandacaa122007-02-13 20:59:57 +00001<?xml version="1.0" encoding="UTF-8"?>
2<cheatsheet title="Export RCP product">
3 <intro>
4 <description>
5 This cheat sheet will demonstrate how to export the Eclipse Browser plug-in as an 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>
Brian Baumandacaa122007-02-13 20:59:57 +000012 <item title="Create the product configuration" dialog="true" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/file_wizards/new_product_config.htm">
13 <description>
14 To create the product configuration, perform the following steps:
15 </description>
16 <subitem label="Select &quot;File-&gt;New-&gt;Product Configuration&quot; from the main menu" skip="true">
17 <command serialization="org.eclipse.ui.newWizard(newWizardId=org.eclipse.pde.ui.NewProductConfigurationWizard)" confirm="false">
18 </command>
19 </subitem>
20 <subitem label="Select &quot;org.eclipsecon.browser&quot; in the resulting &quot;New Product Configuration&quot; wizard page" skip="false">
21 </subitem>
22 <subitem label="Input &quot;browser.product&quot; into the &quot;File name&quot; text box" skip="false">
23 </subitem>
24 <subitem label="Select the &quot;Use a launch configuration&quot; radio button inside the &quot;Initialize the file content&quot; group and click &quot;Finish&quot;." skip="false">
25 </subitem>
26 </item>
Brian Baumandacaa122007-02-13 20:59:57 +000027 <item title="Define the product" dialog="true" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/overview.htm">
28 <description>
29 To define the product, perform the following steps:
30 </description>
31 <subitem label="Input &quot;Browser RCP Application&quot; into the &quot;Product Name&quot; text box" skip="false">
32 </subitem>
33 <subitem label="Click the &quot;New...&quot; button next to the &quot;Product ID&quot; drop down menu to open the &quot;New Product Definition&quot; dialog box" skip="false">
34 </subitem>
35 <subitem label="Verify &quot;org.eclipsecon.browser&quot; is the inputted value for the &quot;Defining Plug-in&quot; text box" skip="true">
36 </subitem>
37 <subitem label="Verify &quot;product&quot; is the inputted value for the &quot;Product ID&quot; text box" skip="true">
38 </subitem>
39 <subitem label="Select &quot;org.eclipsecon.browser.application&quot; in the &quot;Application&quot; combo." skip="false">
40 </subitem>
41 <subitem label="Select &quot;File-&gt;Save&quot; from the main menu" skip="false">
42 </subitem>
43 </item>
Brian Baumandacaa122007-02-13 20:59:57 +000044 <item title="Add window images" dialog="true" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/branding.htm">
45 <description>
46 To add window images, perform the following steps:
47 </description>
48 <subitem label="Select the &quot;Branding&quot; tab within the product editor to display the &quot;Branding&quot; page" skip="false">
49 </subitem>
50 <subitem label="Click the &quot;Browse&quot; button adjacent to the &quot;16x16&quot; text box under the &quot;Window Images&quot; heading" skip="false">
51 </subitem>
52 <subitem label="Fully expand the &quot;org.eclipsecon.browser&quot; tree in the &quot;Image Selection&quot; dialog box and select &quot;alt_window_16.gif&quot; and click &quot;OK&quot;" skip="false">
53 </subitem>
54 <subitem label="Click the &quot;Browse&quot; button adjacent to the &quot;32x32&quot; text box under the &quot;Window Images&quot; heading" skip="false">
55 </subitem>
56 <subitem label="Fully expand the &quot;org.eclipsecon.browser&quot; tree in the &quot;Image Selection&quot; dialog box and select &quot;alt_window_32.gif&quot; and click &quot;OK&quot;" skip="false">
57 </subitem>
58 <subitem label="Select &quot;File-&gt;Save&quot; from the main menu" skip="false">
59 </subitem>
60 </item>
Wassim Melhem2f0a4912007-02-19 09:50:03 +000061 <item title="Run the RCP product" dialog="false" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/overview.htm">
62 <description>
63 To run the RCP product,
64 perform the following steps:
65 </description>
66 <subitem label="Click the &quot;Launch the product&quot; hyperlink under the &quot;Testing&quot; heading" skip="false">
67 </subitem>
68 <subitem label="Note: &quot;Browser RCP Application&quot; now shows up in the window title bar" skip="true">
69 </subitem>
70 <subitem label="Exit the RCP application" skip="false">
71 </subitem>
72 </item>
Brian Baumandacaa122007-02-13 20:59:57 +000073 <item title="Customize the launcher" dialog="true" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/launcher.htm">
74 <description>
75 We will walk through this task assuming we are working on a Windows
76 platform (Similar steps may be followed for other platforms).
77 <br/>
78 <br/>
79 To customize the launcher, perform the following steps:
80 </description>
81 <subitem label="Select the &quot;Launcher&quot; tab within the product editor to display the &quot;Launcher&quot; page" skip="false">
82 </subitem>
83 <subitem label="Input &quot;browser&quot; into the &quot;Launcher Name&quot; text box under the &quot;Program Launcher&quot; heading" skip="false">
84 </subitem>
85 <subitem label="Select the &quot;win32&quot; tab under the &quot;Program Launcher&quot; heading" skip="true">
86 </subitem>
87 <subitem label="Select the &quot;Use a single ICO file containing 7 images as specified above&quot; radio button" skip="true">
88 </subitem>
89 <subitem label="Click the &quot;Browse...&quot; button adjacent to the &quot;File&quot; text box" skip="true">
90 </subitem>
91 <subitem label="Fully expand the &quot;org.eclipsecon.browser&quot; tree in the &quot;Image Selection&quot; dialog box and select &quot;alt_launcher.ico&quot; and click &quot;OK&quot;" skip="true">
92 </subitem>
93 <subitem label="Select &quot;File-&gt;Save&quot; from the main menu" skip="false">
94 </subitem>
95 </item>
96 <item title="Export the plug-in based product" dialog="true" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/overview.htm">
97 <description>
98 To export the plug-in based product, perform the following steps:
99 </description>
100 <subitem label="Select the &quot;Overview&quot; tab within the product editor to display the &quot;Overview&quot; page" skip="false">
101 </subitem>
102 <subitem label="Click the &quot;Eclipse Product export wizard&quot; hyperlink under the &quot;Exporting&quot; heading to launch the &quot;Export&quot; dialog box" skip="true">
103 <command serialization="org.eclipse.ui.file.export(exportWizardId=org.eclipse.pde.ui.productExportWizard)" confirm="false">
104 </command>
105 </subitem>
106 <subitem label="Verify that &quot;/org.eclipsecon.browser/browser.product&quot; is entered in the &quot;Configuration&quot; combo box within the &quot;Product Configuration&quot; group" skip="true">
107 </subitem>
108 <subitem label="Input &quot;browser_rcpapp&quot; in the &quot;Root directory&quot; text box contained in the &quot;Product Configuration&quot; group" skip="false">
109 </subitem>
110 <subitem label="Input a destination directory in the &quot;Directory&quot; text box under the &quot;Destination&quot; group (e.g. &quot;C:\&quot; for Windows) and click &quot;Finish&quot;" skip="false">
111 </subitem>
112 </item>
113 <item title="Browse the exported plug-in based product directory" dialog="true" skip="false">
114 <description>
115 To browse the exported plug-in based product directory, perform the following steps:
116 </description>
117 <subitem label="Navigate your file system to the destination directory specified in the previous step (e.g. &quot;C:\&quot; for Windows)" skip="false">
118 </subitem>
119 <subitem label="Note the presence of the &quot;rcpapp_plugin-based&quot; directory in the destination directory and open it" skip="false">
120 </subitem>
121 <subitem label="Note the presence of the &quot;org.eclipsecon.browser&quot; plug-in along with many other RCP plug-ins it depends upon within the &quot;plugins&quot; sub-directory" skip="true">
122 </subitem>
123 <subitem label="Note the &quot;browser&quot; launcher with a branded icon (&quot;browser.exe&quot; on Windows)" skip="false">
124 </subitem>
125 <subitem label="Run the &quot;browser&quot; launcher" skip="false">
126 </subitem>
127 <subitem label="Observe the plug-in based RCP application you created that is fully executable outside the Eclipse workspace" skip="true">
128 </subitem>
129 <subitem label="Exit the RCP application" skip="false">
130 </subitem>
131 </item>
132</cheatsheet>