Finishing up initial round of cheatsheets for EclipseCon
diff --git a/presentations/eclipse-con/2007/plugins/org.eclipsecon.cheatsheets/cheatsheets/examples-application-export.xml b/presentations/eclipse-con/2007/plugins/org.eclipsecon.cheatsheets/cheatsheets/examples-application-export.xml
new file mode 100644
index 0000000..bdf6206
--- /dev/null
+++ b/presentations/eclipse-con/2007/plugins/org.eclipsecon.cheatsheets/cheatsheets/examples-application-export.xml
@@ -0,0 +1,226 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<cheatsheet title="Export RCP product">
+ <intro>
+ <description>
+ This cheat sheet will demonstrate how to export the Eclipse Browser plug-in as an RCP application.
+ <br/>
+ <br/>
+ To learn more about using cheat sheets, click the help button
+ in the top right corner (?).
+ </description>
+ </intro>
+ <item title="Open the plug-in development perspective" dialog="false" skip="true" href="/org.eclipse.pde.doc.user/guide/tools/views/views.htm">
+ <description>
+ To open the plug-in development perspective,
+ select <b>Window->Open Perspective->Other...</b>
+ and choose <b>Plug-in Development</b>.
+ <br/>
+ <br/>
+ Alternatively, click the following button to perform the task.
+ </description>
+ <command serialization="org.eclipse.ui.perspectives.showPerspective(org.eclipse.ui.perspectives.showPerspective.perspectiveId=org.eclipse.pde.ui.PDEPerspective)" confirm="false">
+ </command>
+ </item>
+ <item title="Create the product configuration" dialog="true" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/file_wizards/new_product_config.htm">
+ <description>
+ To create the product configuration, perform the following steps:
+ </description>
+ <subitem label="Select "File->New->Product Configuration" from the main menu" skip="true">
+ <command serialization="org.eclipse.ui.newWizard(newWizardId=org.eclipse.pde.ui.NewProductConfigurationWizard)" confirm="false">
+ </command>
+ </subitem>
+ <subitem label="Select "org.eclipsecon.browser" in the resulting "New Product Configuration" wizard page" skip="false">
+ </subitem>
+ <subitem label="Input "browser.product" into the "File name" text box" skip="false">
+ </subitem>
+ <subitem label="Select the "Use a launch configuration" radio button inside the "Initialize the file content" group and click "Finish"." skip="false">
+ </subitem>
+ </item>
+ <item title="Open the product editor" dialog="false" skip="true" href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/editor.htm">
+ <description>
+ To open the product editor (if it is not already open),
+ expand the <b>org.eclipsecon.browser</b> tree dialog
+ in the <b>Package Explorer</b> view and double-click
+ on the <b>browser.product</b> file (the <b>Overview</b> page
+ should be open initially).
+ <br/>
+ <br/>
+ Alternatively, click the following button to perform the task.
+ </description>
+ <command serialization="org.eclipse.ui.navigate.openResource(filePath=/org.eclipsecon.browser/browser.product)" confirm="false">
+ </command>
+ </item>
+ <item title="Define the product" dialog="true" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/overview.htm">
+ <description>
+ To define the product, perform the following steps:
+ </description>
+ <subitem label="Input "Browser RCP Application" into the "Product Name" text box" skip="false">
+ </subitem>
+ <subitem label="Click the "New..." button next to the "Product ID" drop down menu to open the "New Product Definition" dialog box" skip="false">
+ </subitem>
+ <subitem label="Verify "org.eclipsecon.browser" is the inputted value for the "Defining Plug-in" text box" skip="true">
+ </subitem>
+ <subitem label="Verify "product" is the inputted value for the "Product ID" text box" skip="true">
+ </subitem>
+ <subitem label="Select "org.eclipsecon.browser.application" in the "Application" combo." skip="false">
+ </subitem>
+ <subitem label="Select "File->Save" from the main menu" skip="false">
+ </subitem>
+ </item>
+ <item title="Synchronize the product configuration with the defining plug-in" dialog="true" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/overview.htm">
+ <description>
+ Product configurations and their constituent files may become
+ unsynchronized. This situation is apparent when changes
+ made using the product editor are not reflected in the application.
+ <br/>
+ <br/>
+ To synchronize the product configuration with the defining plug-in,
+ click the <b>Synchronize</b> hyperlink under the <b>Testing</b>
+ heading on the product editor <b>Overview</b> page.
+ <br/>
+ <br/>
+ Note: PDE automatically synchronizes the product configuration
+ when the <b>Launch the product</b> hyperlinks under the
+ <b>Testing</b> heading are used.
+ </description>
+ </item>
+ <item title="Run the RCP product" dialog="false" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/overview.htm">
+ <description>
+ To run the RCP product,
+ perform the following steps:
+ </description>
+ <subitem label="Click the "Launch the product" hyperlink under the "Testing" heading" skip="false">
+ </subitem>
+ <subitem label="Note: "Browser RCP Application" now shows up in the window title bar" skip="true">
+ </subitem>
+ <subitem label="Exit the RCP application" skip="false">
+ </subitem>
+ </item>
+ <item title="Open the build configuration editor" dialog="false" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/editors/manifest_editor/build.htm">
+ <description>
+ To open the build configuration editor,
+ expand the <b>org.eclipsecon.browser</b> tree dialog
+ in the <b>Package Explorer</b> view and double-click
+ on the <b>build.properties</b> file.
+ <br/>
+ <br/>
+ Select the <b>Build</b> tab to display the <b>Build Configuration</b>
+ page if it is not the initial page.
+ <br/>
+ <br/>
+ Alternatively, click the following button to perform the task.
+ </description>
+ <command serialization="org.eclipse.ui.navigate.openResource(filePath=/org.eclipsecon.browser/build.properties)" confirm="false">
+ </command>
+ </item>
+ <item title="Modify the build configuration" dialog="true" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/editors/manifest_editor/build.htm">
+ <description>
+ In order to control what files are deployed with our packaged
+ RCP application, we need to modify the build configuration.
+ <br/>
+ <br/>
+ To modify the build configuration, perform the following steps:
+ </description>
+ <subitem label="Select the checkbox corresponding to the "data" directory under the "Binary Build" heading" skip="false">
+ </subitem>
+ <subitem label="Select the checkbox corresponding to the "icons" directory under the "Binary Build" heading" skip="false">
+ </subitem>
+ <subitem label="Select the checkbox corresponding to the "schema" directory under the "Binary Build" heading" skip="false">
+ </subitem>
+ <subitem label="Select the checkbox corresponding to the "plugin.properties" file under the "Binary Build" heading" skip="false">
+ </subitem>
+ <subitem label="Select the checkbox corresponding to the "splash.bmp" file under the "Binary Build" heading" skip="false">
+ </subitem>
+ <subitem label="Select "File->Save" from the main menu" skip="false">
+ </subitem>
+ </item>
+ <item title="Open the product editor" dialog="false" skip="true" href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/editor.htm">
+ <description>
+ To open the product editor (if it is not already open),
+ expand the <b>org.eclipsecon.browser</b> tree dialog
+ in the <b>Package Explorer</b> view and double-click
+ on the <b>browser.product</b> file.
+ <br/>
+ <br/>
+ Alternatively, click the following button to perform the task.
+ </description>
+ <command serialization="org.eclipse.ui.navigate.openResource(filePath=/org.eclipsecon.browser/browser.product)" confirm="false">
+ </command>
+ </item>
+ <item title="Add window images" dialog="true" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/branding.htm">
+ <description>
+ To add window images, perform the following steps:
+ </description>
+ <subitem label="Select the "Branding" tab within the product editor to display the "Branding" page" skip="false">
+ </subitem>
+ <subitem label="Click the "Browse" button adjacent to the "16x16" text box under the "Window Images" heading" skip="false">
+ </subitem>
+ <subitem label="Fully expand the "org.eclipsecon.browser" tree in the "Image Selection" dialog box and select "alt_window_16.gif" and click "OK"" skip="false">
+ </subitem>
+ <subitem label="Click the "Browse" button adjacent to the "32x32" text box under the "Window Images" heading" skip="false">
+ </subitem>
+ <subitem label="Fully expand the "org.eclipsecon.browser" tree in the "Image Selection" dialog box and select "alt_window_32.gif" and click "OK"" skip="false">
+ </subitem>
+ <subitem label="Select "File->Save" from the main menu" skip="false">
+ </subitem>
+ </item>
+ <item title="Customize the launcher" dialog="true" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/editors/product_editor/launcher.htm">
+ <description>
+ We will walk through this task assuming we are working on a Windows
+ platform (Similar steps may be followed for other platforms).
+ <br/>
+ <br/>
+ To customize the launcher, perform the following steps:
+ </description>
+ <subitem label="Select the "Launcher" tab within the product editor to display the "Launcher" page" skip="false">
+ </subitem>
+ <subitem label="Input "browser" into the "Launcher Name" text box under the "Program Launcher" heading" skip="false">
+ </subitem>
+ <subitem label="Select the "win32" tab under the "Program Launcher" heading" skip="true">
+ </subitem>
+ <subitem label="Select the "Use a single ICO file containing 7 images as specified above" radio button" skip="true">
+ </subitem>
+ <subitem label="Click the "Browse..." button adjacent to the "File" text box" skip="true">
+ </subitem>
+ <subitem label="Fully expand the "org.eclipsecon.browser" tree in the "Image Selection" dialog box and select "alt_launcher.ico" and click "OK"" skip="true">
+ </subitem>
+ <subitem label="Select "File->Save" from the main menu" skip="false">
+ </subitem>
+ </item>
+ <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">
+ <description>
+ To export the plug-in based product, perform the following steps:
+ </description>
+ <subitem label="Select the "Overview" tab within the product editor to display the "Overview" page" skip="false">
+ </subitem>
+ <subitem label="Click the "Eclipse Product export wizard" hyperlink under the "Exporting" heading to launch the "Export" dialog box" skip="true">
+ <command serialization="org.eclipse.ui.file.export(exportWizardId=org.eclipse.pde.ui.productExportWizard)" confirm="false">
+ </command>
+ </subitem>
+ <subitem label="Verify that "/org.eclipsecon.browser/browser.product" is entered in the "Configuration" combo box within the "Product Configuration" group" skip="true">
+ </subitem>
+ <subitem label="Input "browser_rcpapp" in the "Root directory" text box contained in the "Product Configuration" group" skip="false">
+ </subitem>
+ <subitem label="Input a destination directory in the "Directory" text box under the "Destination" group (e.g. "C:\" for Windows) and click "Finish"" skip="false">
+ </subitem>
+ </item>
+ <item title="Browse the exported plug-in based product directory" dialog="true" skip="false">
+ <description>
+ To browse the exported plug-in based product directory, perform the following steps:
+ </description>
+ <subitem label="Navigate your file system to the destination directory specified in the previous step (e.g. "C:\" for Windows)" skip="false">
+ </subitem>
+ <subitem label="Note the presence of the "rcpapp_plugin-based" directory in the destination directory and open it" skip="false">
+ </subitem>
+ <subitem label="Note the presence of the "org.eclipsecon.browser" plug-in along with many other RCP plug-ins it depends upon within the "plugins" sub-directory" skip="true">
+ </subitem>
+ <subitem label="Note the "browser" launcher with a branded icon ("browser.exe" on Windows)" skip="false">
+ </subitem>
+ <subitem label="Run the "browser" launcher" skip="false">
+ </subitem>
+ <subitem label="Observe the plug-in based RCP application you created that is fully executable outside the Eclipse workspace" skip="true">
+ </subitem>
+ <subitem label="Exit the RCP application" skip="false">
+ </subitem>
+ </item>
+</cheatsheet>
diff --git a/presentations/eclipse-con/2007/plugins/org.eclipsecon.cheatsheets/cheatsheets/examples-import-composite.xml b/presentations/eclipse-con/2007/plugins/org.eclipsecon.cheatsheets/cheatsheets/examples-import-composite.xml
new file mode 100644
index 0000000..11dbe9f
--- /dev/null
+++ b/presentations/eclipse-con/2007/plugins/org.eclipsecon.cheatsheets/cheatsheets/examples-import-composite.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<compositeCheatsheet name="Creating Eclipse Browser Tutorial">
+ <taskGroup kind="set" name="Create the Eclipse Browser tutorial" skip="false">
+ <intro>
+ This cheat sheet will guide you through the individual steps to
+ import and run the tutorial and extend the Eclipse Browser plug-in to customize the example using the Plug-in Development Environment (PDE).
+ <br/>
+ <br/>
+ To assist you along the way, wizards and commands
+ will be available for you to launch automatically.
+ </intro>
+ <onCompletion>
+ Congratulations! You just created the imported, ran, and extended the Eclipse Links plug-in using PDE.
+ </onCompletion>
+ <task kind="cheatsheet" name="Import and run the Eclipse Browser plug-in" skip="false">
+ <intro>
+ This cheat sheet will demonstrate how to import, modify and run the Eclipse Browser plug-in.
+ </intro>
+ <onCompletion>
+ Congratulations! You just ran the Eclipse Browser plug-in!
+ </onCompletion>
+ <param name="path" value="examples-import.xml">
+ </param>
+ </task>
+ <task kind="cheatsheet" name="Extend the Eclipse Browser plug-in" skip="false">
+ <intro>
+ This cheat sheet will demonstrate how to extending the Eclipse Browser plug-in.
+ </intro>
+ <onCompletion>
+ Congratulations! You just customized the Eclipse Browser plug-in !
+ </onCompletion>
+ <param name="path" value="examples-custom-extension.xml">
+ </param>
+ </task>
+ </taskGroup>
+</compositeCheatsheet>
diff --git a/presentations/eclipse-con/2007/plugins/org.eclipsecon.cheatsheets/cheatsheets/examples-rcpapp-composite.xml b/presentations/eclipse-con/2007/plugins/org.eclipsecon.cheatsheets/cheatsheets/examples-rcpapp-composite.xml
new file mode 100644
index 0000000..ea07e18
--- /dev/null
+++ b/presentations/eclipse-con/2007/plugins/org.eclipsecon.cheatsheets/cheatsheets/examples-rcpapp-composite.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<compositeCheatsheet name="Create Eclipse Browser RCP Application">
+ <taskGroup kind="set" name="Create Eclipse Browser RCP application" skip="false">
+ <onCompletion>
+ Congratulations! You just created the a customized, branded Eclipse RCP application using PDE.
+ </onCompletion>
+ <task kind="cheatsheet" name="Create RCP application" skip="false">
+ <onCompletion>
+ Congratulations! You just create an RCP application for the Eclipse Browser plug-in!
+ </onCompletion>
+ <param name="path" value="examples-application-extension.xml">
+ </param>
+ </task>
+ <task kind="cheatsheet" name="Create, customize, and export a product" skip="false">
+ <onCompletion>
+ Congratulations! You created and exported a custom product!
+ </onCompletion>
+ <param name="path" value="examples-application-export.xml">
+ </param>
+ </task>
+ </taskGroup>
+</compositeCheatsheet>
diff --git a/presentations/eclipse-con/2007/plugins/org.eclipsecon.cheatsheets/plugin.xml b/presentations/eclipse-con/2007/plugins/org.eclipsecon.cheatsheets/plugin.xml
index 6836824..d65fc80 100644
--- a/presentations/eclipse-con/2007/plugins/org.eclipsecon.cheatsheets/plugin.xml
+++ b/presentations/eclipse-con/2007/plugins/org.eclipsecon.cheatsheets/plugin.xml
@@ -5,24 +5,17 @@
point="org.eclipse.ui.cheatsheets.cheatSheetContent">
<cheatsheet
category="org.eclipse.pde"
- composite="false"
- contentFile="cheatsheets/examples-import.xml"
+ composite="true"
+ contentFile="cheatsheets/examples-import-composite.xml"
id="org.eclipsecon.cheatsheets.import"
name="Importing the EclipseCon tutorial">
</cheatsheet>
<cheatsheet
category="org.eclipse.pde"
- composite="false"
- contentFile="cheatsheets/examples-custom-extension.xml"
- id="org.eclipsecon.cheatsheets.extension"
- name="Extending the EcliseCon tutorial">
- </cheatsheet>
- <cheatsheet
- category="org.eclipse.pde"
- composite="false"
- contentFile="cheatsheets/examples-application-extension.xml"
- id="org.eclipsecon.cheatsheets.application"
- name="Creating EclipseCon tutorial RCP application">
+ composite="true"
+ contentFile="cheatsheets/examples-rcpapp-composite.xml"
+ id="org.eclipsecon.cheatsheets.rcp"
+ name="Creating EclipseCon tutorial RCP Application">
</cheatsheet>
</extension>