|
1 <?xml version="1.0" encoding="UTF-8" ?> |
|
2 <!-- |
|
3 Copyright (c) 2005, 2009 IBM Corporation and others. |
|
4 All rights reserved. This program and the accompanying materials |
|
5 are made available under the terms of the Eclipse Public License v1.0 |
|
6 which accompanies this distribution, and is available at |
|
7 http://www.eclipse.org/legal/epl-v10.html |
|
8 |
|
9 Contributors: |
|
10 IBM Corporation - initial API and implementation |
|
11 --> |
|
12 |
|
13 <!-- Simple Cheat Sheet --> |
|
14 |
|
15 <cheatsheet title="Customize a product"> |
|
16 |
|
17 <!-- Introduction --> |
|
18 |
|
19 <intro href="/org.eclipse.platform.doc.user/reference/ref-cheatsheets.htm"> |
|
20 <description> |
|
21 This cheat sheet will demonstrate how to add window images, |
|
22 add a splash screen and customize a launcher for an RCP |
|
23 application using PDE. |
|
24 <br/> |
|
25 <br/> |
|
26 To learn more about using cheat sheets, click the help button |
|
27 in the top right corner (?). |
|
28 </description> |
|
29 </intro> |
|
30 |
|
31 <!-- Item --> |
|
32 |
|
33 <item title="Open the plug-in development perspective" |
|
34 href="/org.eclipse.pde.doc.user/guide/tools/views/views.htm" |
|
35 dialog="false" |
|
36 skip="false"> |
|
37 <description> |
|
38 To open the plug-in development perspective, |
|
39 select <b>Window->Open Perspective->Other...</b> |
|
40 and choose <b>Plug-in Development</b>. |
|
41 <br/> |
|
42 <br/> |
|
43 Alternatively, click the following button to perform the task. |
|
44 </description> |
|
45 <command serialization="org.eclipse.ui.perspectives.showPerspective(org.eclipse.ui.perspectives.showPerspective.perspectiveId=org.eclipse.pde.ui.PDEPerspective)" required="false" translate="" /> |
|
46 </item> |
|
47 |
|
48 <!-- Item --> |
|
49 |
|
50 <item title="Open the product editor" |
|
51 href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/editor.htm" |
|
52 dialog="false" |
|
53 skip="false"> |
|
54 <description> |
|
55 To open the product editor (if it is not already open), |
|
56 expand the <b>com.example.rcpapp</b> tree dialog |
|
57 in the <b>Package Explorer</b> view and double-click |
|
58 on the <b>rcpapp.product</b> file (the <b>Overview</b> page |
|
59 should be open initially). |
|
60 <br/> |
|
61 <br/> |
|
62 Alternatively, click the following button to perform the task. |
|
63 </description> |
|
64 <command serialization="org.eclipse.ui.navigate.openResource(filePath=/com.example.rcpapp/rcpapp.product)" required="false" translate="" /> |
|
65 </item> |
|
66 |
|
67 <!-- Item --> |
|
68 |
|
69 <item title="Add window images" |
|
70 href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/branding.htm" |
|
71 dialog="true" |
|
72 skip="false"> |
|
73 <description> |
|
74 To add window images, perform the following steps: |
|
75 </description> |
|
76 <subitem label="Select the "Branding" tab within the product editor to display the "Branding" page" |
|
77 skip="false"/> |
|
78 <subitem label="Click the "Browse" button adjacent to the "16x16" text box under the "Window Images" heading" |
|
79 skip="false"/> |
|
80 <subitem label="Fully expand the "com.example.rcpapp" tree in the "Image Selection" dialog box and select "alt_window_16.gif" and click "OK"" |
|
81 skip="false"/> |
|
82 <subitem label="Click the "Browse" button adjacent to the "32x32" text box under the "Window Images" heading" |
|
83 skip="false"/> |
|
84 <subitem label="Fully expand the "com.example.rcpapp" tree in the "Image Selection" dialog box and select "alt_window_32.gif" and click "OK"" |
|
85 skip="false"/> |
|
86 <subitem label="Select "File->Save" from the main menu" |
|
87 skip="false"/> |
|
88 </item> |
|
89 |
|
90 <!-- Item --> |
|
91 |
|
92 <item title="Test the RCP product" |
|
93 dialog="false" |
|
94 href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/overview.htm" |
|
95 skip="false"> |
|
96 <description> |
|
97 To test the RCP product, |
|
98 perform the following steps: |
|
99 </description> |
|
100 <subitem label="Select the "Overview" tab within the product editor to display the "Overview" page" |
|
101 skip="false"/> |
|
102 <subitem label="Click the "Launch an Eclipse Application" hyperlink under the "Testing" heading" |
|
103 skip="false"/> |
|
104 <subitem label="Note the image in the window title bar (if applicable on your platform)" |
|
105 skip="true"/> |
|
106 <subitem label="Exit the RCP application" |
|
107 skip="false"/> |
|
108 </item> |
|
109 |
|
110 <!-- Item --> |
|
111 |
|
112 <item title="Add a splash screen" |
|
113 href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/splash.htm" |
|
114 dialog="true" |
|
115 skip="false"> |
|
116 <description> |
|
117 To add a splash screen, perform the following steps: |
|
118 </description> |
|
119 <subitem label="Select the "Splash" tab within the product editor to display the "Splash" page" |
|
120 skip="false"/> |
|
121 <subitem label="Click the "Browse..." button adjacent to the "Plug-in" text box under the "Location" heading" |
|
122 skip="false"/> |
|
123 <subitem label="Select the "com.example.rcpapp" entry in the "Plug-in Selection" dialog box and click "OK"" |
|
124 skip="true"/> |
|
125 <subitem label="Select "File->Save" from the main menu" |
|
126 skip="false"/> |
|
127 <subitem label="Note: Eclipse expects a file called "splash.bmp" to be located in the root of the specified plug-in. Verify that the root folder of "com.example.rcpapp" plug-in has the "splash.bmp'." |
|
128 skip="true"/> |
|
129 </item> |
|
130 |
|
131 <!-- Item --> |
|
132 |
|
133 <item title="Test the RCP product" |
|
134 dialog="false" |
|
135 href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/overview.htm" |
|
136 skip="false"> |
|
137 <description> |
|
138 To test the RCP product, |
|
139 perform the following steps: |
|
140 </description> |
|
141 <subitem label="Select the "Overview" tab within the product editor to display the "Overview" page" |
|
142 skip="false"/> |
|
143 <subitem label="Click the "Launch an Eclipse Application" hyperlink under the "Testing" heading" |
|
144 skip="false"/> |
|
145 <subitem label="Note the splash screen displayed before the RCP application window is visible" |
|
146 skip="true"/> |
|
147 <subitem label="Exit the RCP application" |
|
148 skip="false"/> |
|
149 </item> |
|
150 |
|
151 <!-- Item --> |
|
152 |
|
153 <item title="Customize the launcher" |
|
154 href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/launcher.htm" |
|
155 dialog="true" |
|
156 skip="false"> |
|
157 <description> |
|
158 We will walk through this task assuming we are working on a Windows |
|
159 platform (Similar steps may be followed for other platforms). |
|
160 <br/> |
|
161 <br/> |
|
162 To customize the launcher, perform the following steps: |
|
163 </description> |
|
164 <subitem label="Select the "Launching" tab within the product editor to display the "Launching" page" |
|
165 skip="false"/> |
|
166 <subitem label="Input "rcpapp" into the "Launcher Name" text box under the "Program Launcher" heading" |
|
167 skip="false"/> |
|
168 <subitem label="Select the "win32" tab under the "Program Launcher" heading" |
|
169 skip="true"/> |
|
170 <subitem label="Select the "Use a single ICO file containing 7 images as specified above" radio button" |
|
171 skip="true"/> |
|
172 <subitem label="Click the "Browse..." button adjacent to the "File" text box" |
|
173 skip="true"/> |
|
174 <subitem label="Fully expand the "com.example.rcpapp" tree in the "Image Selection" dialog box and select "alt_launcher.ico" and click "OK"" |
|
175 skip="true"/> |
|
176 <subitem label="Select "File->Save" from the main menu" |
|
177 skip="false"/> |
|
178 </item> |
|
179 |
|
180 </cheatsheet> |
|
181 |
|
182 |