Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Wassim Melhem | 3ef1615 | 2007-02-21 07:51:32 +0000 | [diff] [blame] | 2 | <cheatsheet title="Create an Eclipse Product"> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 3 | <intro> |
| 4 | <description> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 5 | This tutorial will demonstrate how to use the RCP tooling in PDE to create a fully-branded product. |
| 6 | <br/> |
| 7 | <br/> |
| 8 | To learn more about using cheat sheets, click the help button in the top right corner (?). |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 9 | </description> |
| 10 | </intro> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 11 | <item title="Create the product configuration" dialog="true" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/file_wizards/new_product_config.htm"> |
| 12 | <description> |
| 13 | To create the product configuration, perform the following steps: |
| 14 | </description> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 15 | <subitem label="Select "File->New->Product Configuration" from the main menu to bring up the "New Product Configuration" wizard." skip="true"> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 16 | <command serialization="org.eclipse.ui.newWizard(newWizardId=org.eclipse.pde.ui.NewProductConfigurationWizard)" confirm="false"> |
| 17 | </command> |
| 18 | </subitem> |
Wassim Melhem | 5861743 | 2007-03-05 18:49:14 +0000 | [diff] [blame^] | 19 | <subitem label="In the "New Product Configuration wizard", select the "org.eclipse.browser" project as the parent folder, then input "browser.product" into the "File name" text box. Press "Finish"." skip="false"> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 20 | </subitem> |
| 21 | </item> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 22 | <item title="Define the product" dialog="true" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/overview.htm"> |
| 23 | <description> |
| 24 | To define the product, perform the following steps: |
| 25 | </description> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 26 | <subitem label="On the "Overview" page of the product editor, input "Eclipse Browser Product" into the "Product Name" text box." skip="false"> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 27 | </subitem> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 28 | <subitem label="Press the "New..." button next to the "Product ID" drop down menu to open the "New Product Definition" dialog box." skip="false"> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 29 | </subitem> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 30 | <subitem label="Select "org.eclipse.browser.application" from the list of available applications in the "Application" section. Press "Finish"." skip="false"> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 31 | </subitem> |
| 32 | </item> |
Wassim Melhem | 5861743 | 2007-03-05 18:49:14 +0000 | [diff] [blame^] | 33 | <item title="Specify the constituent plug-ins" dialog="false" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/configuration.htm"> |
| 34 | <description> |
| 35 | To specify the plug-ins that make up the product, perform the following steps: |
| 36 | </description> |
| 37 | <subitem label="On the "Configuration" tab of the product editor, press "Add..." in the "Plug-ins and Fragments" section." skip="false"> |
| 38 | </subitem> |
| 39 | <subitem label="In the plug-in selection dialog, select "org.eclipse.browser" and press OK." skip="false"> |
| 40 | </subitem> |
| 41 | <subitem label="Press "Add Required Plug-ins" to include in the list all the plug-ins that need to be present for the org.eclipse.browser plug-in to run." skip="false"> |
| 42 | </subitem> |
| 43 | </item> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 44 | <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> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 48 | <subitem label="Select the "Branding" page of the product editor." skip="false"> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 49 | </subitem> |
Wassim Melhem | cbdd9fa | 2007-02-23 21:05:17 +0000 | [diff] [blame] | 50 | <subitem label="In the "Window Images" section, press the "Browse..." button adjacent to the "16x16" text box to select the "/org.eclipse.browser/branding/world_16-16_windows.gif" image. Press "OK"." skip="false"> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 51 | </subitem> |
Wassim Melhem | cbdd9fa | 2007-02-23 21:05:17 +0000 | [diff] [blame] | 52 | <subitem label="In the "Window Images" section, press the "Browse..." button adjacent to the "32x32" text box to select the "/org.eclipse.browser/branding/world_32-32_windows.gif" image. Press "OK"." skip="false"> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 53 | </subitem> |
| 54 | </item> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 55 | <item title="Customize the About dialog" dialog="true" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/branding.htm"> |
Wassim Melhem | 3ef1615 | 2007-02-21 07:51:32 +0000 | [diff] [blame] | 56 | <description> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 57 | To customize the About dialog, perform the following steps: |
Wassim Melhem | 3ef1615 | 2007-02-21 07:51:32 +0000 | [diff] [blame] | 58 | </description> |
Wassim Melhem | cbdd9fa | 2007-02-23 21:05:17 +0000 | [diff] [blame] | 59 | <subitem label="In the "About Text" section, press the "Browse..." button adjacent to the "Image" text box to select the "/org.eclipse.browser/branding/world_about.gif" image. Press "OK"." skip="false"> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 60 | </subitem> |
| 61 | <subitem label="In the "Text" area, input "This is a blurb about my Eclipse Browser Product"." skip="false"> |
| 62 | </subitem> |
Wassim Melhem | 3ef1615 | 2007-02-21 07:51:32 +0000 | [diff] [blame] | 63 | </item> |
Wassim Melhem | 2f0a491 | 2007-02-19 09:50:03 +0000 | [diff] [blame] | 64 | <item title="Run the RCP product" dialog="false" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/overview.htm"> |
| 65 | <description> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 66 | To run the RCP product, perform the following steps: |
Wassim Melhem | 2f0a491 | 2007-02-19 09:50:03 +0000 | [diff] [blame] | 67 | </description> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 68 | <subitem label="Save the "browser.product" file via File > Save from the main menu." skip="false"> |
Wassim Melhem | 2f0a491 | 2007-02-19 09:50:03 +0000 | [diff] [blame] | 69 | </subitem> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 70 | <subitem label="On the "Overview" page of the product editor, click the "Launch the product" hyperlink under the "Testing" heading. Note the splash screen upon launching." skip="false"> |
Wassim Melhem | 2f0a491 | 2007-02-19 09:50:03 +0000 | [diff] [blame] | 71 | </subitem> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 72 | <subitem label="Note how the application window now has the title "Eclipse Browser Product" in the title bar." skip="true"> |
| 73 | </subitem> |
| 74 | <subitem label="Note how the application window has an image depicting the world in the top-left corner. The same image appears in the task bar at the bottom." skip="true"> |
| 75 | </subitem> |
| 76 | <subitem label="Press Alt-Tab (on Windows) to see your RCP application among the list of running applications, represented with a larger 48x48 icon." skip="true"> |
| 77 | </subitem> |
| 78 | <subitem label="Bring up the "About" dialog by selecting "Help > About Eclipse Browser Product" from the main menu of the application window. Verify that you see your custom text and image in the "About" dialog." skip="false"> |
| 79 | </subitem> |
| 80 | <subitem label="Exit the RCP application via "File > Exit" from the main menu of the application window." skip="false"> |
Wassim Melhem | 2f0a491 | 2007-02-19 09:50:03 +0000 | [diff] [blame] | 81 | </subitem> |
| 82 | </item> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 83 | <item title="Customize the launcher (Windows Only)" dialog="true" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/launcher.htm"> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 84 | <description> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 85 | To customize the launcher, perform the following steps: |
| 86 | </description> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 87 | <subitem label="Select the "Launcher" page of the product editor." skip="false"> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 88 | </subitem> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 89 | <subitem label="Input "browser" into the "Launcher Name" text box under the "Program Launcher" heading." skip="false"> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 90 | </subitem> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 91 | <subitem label="Select the "win32" tab under the "Program Launcher" heading and select the "Use a single ICO file containing 7 images as specified above" radio button." skip="true"> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 92 | </subitem> |
Wassim Melhem | cbdd9fa | 2007-02-23 21:05:17 +0000 | [diff] [blame] | 93 | <subitem label="Press the "Browse..." button adjacent to the "File" text box to select the "/org.eclipse.browser/branding/world_launcher.ico" file. Press "OK"." skip="true"> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 94 | </subitem> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 95 | <subitem label="Select "File->Save" from the main menu." skip="false"> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 96 | </subitem> |
| 97 | </item> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 98 | <item title="Export the product" dialog="true" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/overview.htm"> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 99 | <description> |
| 100 | To export the plug-in based product, perform the following steps: |
| 101 | </description> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 102 | <subitem label="Select the "Overview" page of the product editor." skip="false"> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 103 | </subitem> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 104 | <subitem label="Click the "Eclipse Product export wizard" hyperlink under the "Exporting" heading to bring up the "Eclipse Product" export wizard." skip="true"> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 105 | <command serialization="org.eclipse.ui.file.export(exportWizardId=org.eclipse.pde.ui.productExportWizard)" confirm="false"> |
| 106 | </command> |
| 107 | </subitem> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 108 | <subitem label="Input "browser" in the "Root directory" text field contained in the "Product Configuration" section." skip="false"> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 109 | </subitem> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 110 | <subitem label="Input a destination directory in the "Directory" text fiedl in the "Destination" section (e.g. "C:\destination" for Windows) and press "Finish"." skip="false"> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 111 | </subitem> |
| 112 | </item> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 113 | <item title="Browse the finished product" dialog="true" skip="false"> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 114 | <description> |
| 115 | To browse the exported plug-in based product directory, perform the following steps: |
| 116 | </description> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 117 | <subitem label="Navigate your file system to the destination directory specified in the previous step (e.g. "C:\destination" for Windows)" skip="false"> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 118 | </subitem> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 119 | <subitem label="Note the presence of the "browser" subdirectory. Expand it and examine the structure of your product. A "plugins" subdirectory containing all plug-ins, a "configuration" containing metadata." skip="true"> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 120 | </subitem> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 121 | <subitem label="Note the custom "browser" launcher with a branded icon ("browser.exe" on Windows) at the root of the "browser" directory." skip="true"> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 122 | </subitem> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 123 | <subitem label="Double-click on the "browser" executable to launch the product." skip="false"> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 124 | </subitem> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 125 | <subitem label="Observe the RCP product you created that is fully executable outside the Eclipse workspace." skip="true"> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 126 | </subitem> |
Wassim Melhem | 30d951d | 2007-02-23 19:50:27 +0000 | [diff] [blame] | 127 | <subitem label="Exit the product via "File > Exit" from the main menu." skip="false"> |
Brian Bauman | dacaa12 | 2007-02-13 20:59:57 +0000 | [diff] [blame] | 128 | </subitem> |
| 129 | </item> |
| 130 | </cheatsheet> |