carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/188/1/.cp/cheatsheets/helloworld/helloworld-create.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/188/1/.cp/cheatsheets/helloworld/helloworld-create.xml Fri Dec 04 10:01:33 2009 -0600
@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="UTF-8"?><!--
+ Copyright (c) 2005, 2009 IBM Corporation and others.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ IBM Corporation - initial API and implementation
+ -->
+
+<cheatsheet title="Create a plug-in">
+ <intro href="/org.eclipse.platform.doc.user/reference/ref-cheatsheets.htm">
+ <description>
+ This cheat sheet will demonstrate how to configure PDE and use it
+ to create, modify and test a plug-in.
+ <br/>
+ <br/>
+ To learn more about using cheat sheets, click the help button
+ in the top right corner (?).
+ </description>
+ </intro>
+ <item title="Configure PDE" dialog="true" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/views/views.htm">
+ <description>
+ To configure PDE, perform the following steps
+ </description>
+ <subitem label="Select "Window->Open Perspective->Other..." from the main menu and choose "Plug-in Development" in order to open the plug-in development perspective" skip="false">
+ <command
+ confirm="false"
+ required="false"
+ translate=""
+ serialization="org.eclipse.ui.perspectives.showPerspective(org.eclipse.ui.perspectives.showPerspective.perspectiveId=org.eclipse.pde.ui.PDEPerspective)">
+ </command>
+ </subitem>
+ <subitem label="Select "Window->Preferences" from the main menu, expand the "Plug-in Development" outline tree node within the resulting dialog, and choose "Target Platform"." skip="false">
+ <command
+ confirm="false"
+ required="false"
+ translate=""
+ serialization="org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.pde.ui.TargetPlatformPreferencePage)">
+ </command>
+ </subitem>
+ <subitem label="Verify that the "Target Definitions:" check box list has one Target Platform selected as active." skip="true">
+ </subitem>
+ <subitem label="Select the Active Target Platform, Click Edit and verify that all checkboxes corresponding to plug-in entries listed in the list box on the "Content" tab are checked." skip="true">
+ </subitem>
+ <subitem label="Click "OK"." skip="false">
+ </subitem>
+ </item>
+ <item title="Create the plug-in" dialog="true" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/project_wizards/new_plugin_project.htm">
+ <description>
+ To create the plug-in perform the following steps
+ </description>
+ <subitem label="Select "File->New->Project..." from the main menu, expand the "Plug-in Development" category within the resulting "New Project" dialog box, and choose "Plug-in Project"" skip="false">
+ <command
+ confirm="false"
+ required="false"
+ translate=""
+ serialization="org.eclipse.ui.newWizard(newWizardId=org.eclipse.pde.ui.NewProjectWizard)">
+ </command>
+ </subitem>
+ <subitem label="Input "com.example.helloworld" into the "Project Name" text box" skip="false">
+ </subitem>
+ <subitem label="Accept the rest of the default preloaded values on the "Plug-in Project" page and click "Next >"" skip="false">
+ </subitem>
+ <subitem label="Accept the default preloaded values on the "Plug-in Content" page and click "Next >"" skip="false">
+ </subitem>
+ <subitem label="Select the "Hello, World" template from the list of "Available Templates" and click "Finish"" skip="false">
+ </subitem>
+ </item>
+ <item title="Modify the plug-in" dialog="false" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/editors/manifest_editor/extensions.htm">
+ <description>
+ After the new plug-in project wizard is finished from the previous step,
+ the plug-in editor is launched for your new project with the <b>Overview</b>
+ page showing.
+ <br/>
+ <br/>
+ To modify your <b>com.example.helloworld</b> plug-in, perform the
+ following steps:
+ </description>
+ <subitem label="Select the "Extensions" tab" skip="false">
+ </subitem>
+ <subitem label="Expand the "org.eclipse.ui.actionSets" tree dialog under the "All Extensions" heading" skip="false">
+ </subitem>
+ <subitem label="Expand the "Sample Action Set" tree dialog" skip="false">
+ </subitem>
+ <subitem label="Select the "Sample Menu" entry" skip="false">
+ </subitem>
+ <subitem label="Replace the content of the "label" text box under the "Extension Element Details" heading with "Hello!"" skip="false">
+ </subitem>
+ <subitem label="Select the "Sample Action" entry under the "All Extensions" heading" skip="false">
+ </subitem>
+ <subitem label="Replace the content of the "label" text box under the "Extension Element Details" heading with "Display Hello World!"" skip="false">
+ </subitem>
+ <subitem label="Select "File->Save" from the main menu" skip="false">
+ </subitem>
+ </item>
+ <item title="Test the plug-in" dialog="false" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/launchers/eclipse_application_launcher.htm">
+ <description>
+ To test your Eclipse plug-in inside a target Eclipse platform,
+ perform the following steps:
+ </description>
+ <subitem label="Select the "Overview" tab" skip="false">
+ <command
+ confirm="false"
+ required="false"
+ translate=""
+ serialization="org.eclipse.ui.navigate.openResource(filePath=/com.example.helloworld/META-INF/MANIFEST.MF)">
+ </command>
+ </subitem>
+ <subitem label="Click the "Launch an Eclipse application" hyperlink under the "Testing" heading" skip="false">
+ </subitem>
+ <subitem label="Note the "Hello!" entry in the main menu in the newly launched Eclipse platform" skip="true">
+ </subitem>
+ <subitem label="Select "Hello!->Display Hello World!" from the main menu" skip="false">
+ </subitem>
+ <subitem label="Click on the "Workbench" icon to close the "Welcome" view and go to the Eclipse workbench." skip="true">
+ </subitem>
+ <subitem label="Note the icon with the Eclipse logo in the main toolbar in the newly launched Eclipse platform" skip="true">
+ </subitem>
+ <subitem label="Click the icon with the Eclipse logo in the main toolbar" skip="false">
+ </subitem>
+ <subitem label="Select "File->Exit" from the main menu to exit the target Eclipse platform" skip="false">
+ </subitem>
+ </item>
+</cheatsheet>