carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/188/1/.cp/cheatsheets/helloworld/helloworld-create.xml
author cawthron
Fri, 04 Dec 2009 10:01:33 -0600
changeset 5 684bf18fdedf
permissions -rw-r--r--
add files for RCL_2_2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?><!--
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     2
     Copyright (c) 2005, 2009 IBM Corporation and others.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     3
     All rights reserved. This program and the accompanying materials
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     4
     are made available under the terms of the Eclipse Public License v1.0
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     5
     which accompanies this distribution, and is available at
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     6
     http://www.eclipse.org/legal/epl-v10.html
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     7
    
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     8
     Contributors:
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     9
         IBM Corporation - initial API and implementation
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    10
 -->
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    11
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    12
<cheatsheet title="Create a plug-in">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    13
   <intro href="/org.eclipse.platform.doc.user/reference/ref-cheatsheets.htm">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    14
      <description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    15
         This cheat sheet will demonstrate how to configure PDE and use it 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    16
         to create, modify and test a plug-in. 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    17
         <br/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    18
         <br/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    19
         To learn more about using cheat sheets, click the help button
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    20
         in the top right corner (?).
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    21
      </description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    22
   </intro>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    23
   <item title="Configure PDE" dialog="true" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/views/views.htm">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    24
      <description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    25
         To configure PDE, perform the following steps
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    26
      </description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    27
      <subitem label="Select &quot;Window-&gt;Open Perspective-&gt;Other...&quot; from the main menu and choose &quot;Plug-in Development&quot; in order to open the plug-in development perspective" skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    28
         <command
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    29
               confirm="false"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    30
               required="false"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    31
               translate=""
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    32
               serialization="org.eclipse.ui.perspectives.showPerspective(org.eclipse.ui.perspectives.showPerspective.perspectiveId=org.eclipse.pde.ui.PDEPerspective)">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    33
         </command>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    34
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    35
      <subitem label="Select &quot;Window-&gt;Preferences&quot; from the main menu, expand the &quot;Plug-in Development&quot; outline tree node within the resulting dialog, and choose &quot;Target Platform&quot;." skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    36
         <command
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    37
               confirm="false"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    38
               required="false"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    39
               translate=""
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    40
               serialization="org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.pde.ui.TargetPlatformPreferencePage)">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    41
         </command>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    42
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    43
      <subitem label="Verify that the &quot;Target Definitions:&quot; check box list has one Target Platform selected as active." skip="true">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    44
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    45
      <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 &quot;Content&quot; tab are checked." skip="true">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    46
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    47
      <subitem label="Click &quot;OK&quot;." skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    48
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    49
   </item>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    50
   <item title="Create the plug-in" dialog="true" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/project_wizards/new_plugin_project.htm">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    51
      <description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    52
         To create the plug-in perform the following steps
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    53
      </description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    54
      <subitem label="Select &quot;File-&gt;New-&gt;Project...&quot; from the main menu, expand the &quot;Plug-in Development&quot; category within the resulting &quot;New Project&quot; dialog box, and choose &quot;Plug-in Project&quot;" skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    55
         <command
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    56
               confirm="false"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    57
               required="false"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    58
               translate=""
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    59
               serialization="org.eclipse.ui.newWizard(newWizardId=org.eclipse.pde.ui.NewProjectWizard)">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    60
         </command>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    61
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    62
      <subitem label="Input &quot;com.example.helloworld&quot; into the &quot;Project Name&quot; text box" skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    63
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    64
      <subitem label="Accept the rest of the default preloaded values on the &quot;Plug-in Project&quot; page and click &quot;Next &gt;&quot;" skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    65
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    66
      <subitem label="Accept the default preloaded values on the &quot;Plug-in Content&quot; page and click &quot;Next &gt;&quot;" skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    67
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    68
      <subitem label="Select the &quot;Hello, World&quot; template from the list of &quot;Available Templates&quot; and click &quot;Finish&quot;" skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    69
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    70
   </item>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    71
   <item title="Modify the plug-in" dialog="false" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/editors/manifest_editor/extensions.htm">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    72
      <description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    73
         After the new plug-in project wizard is finished from the previous step,
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    74
         the plug-in editor is launched for your new project with the <b>Overview</b>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    75
         page showing.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    76
         <br/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    77
         <br/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    78
         To modify your <b>com.example.helloworld</b> plug-in, perform the
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    79
         following steps:
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    80
      </description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    81
      <subitem label="Select the &quot;Extensions&quot; tab" skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    82
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    83
      <subitem label="Expand the &quot;org.eclipse.ui.actionSets&quot; tree dialog under the &quot;All Extensions&quot; heading" skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    84
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    85
      <subitem label="Expand the &quot;Sample Action Set&quot; tree dialog" skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    86
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    87
      <subitem label="Select the &quot;Sample Menu&quot; entry" skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    88
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    89
      <subitem label="Replace the content of the &quot;label&quot; text box under the &quot;Extension Element Details&quot; heading with &quot;Hello!&quot;" skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    90
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    91
      <subitem label="Select the &quot;Sample Action&quot; entry under the &quot;All Extensions&quot; heading" skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    92
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    93
      <subitem label="Replace the content of the &quot;label&quot; text box under the &quot;Extension Element Details&quot; heading with &quot;Display Hello World!&quot;" skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    94
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    95
      <subitem label="Select &quot;File-&gt;Save&quot; from the main menu" skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    96
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    97
   </item>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    98
   <item title="Test the plug-in" dialog="false" skip="false" href="/org.eclipse.pde.doc.user/guide/tools/launchers/eclipse_application_launcher.htm">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    99
      <description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   100
         To test your Eclipse plug-in inside a target Eclipse platform,
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   101
         perform the following steps:
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   102
      </description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   103
      <subitem label="Select the &quot;Overview&quot; tab" skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   104
         <command
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   105
               confirm="false"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   106
               required="false"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   107
               translate=""
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   108
               serialization="org.eclipse.ui.navigate.openResource(filePath=/com.example.helloworld/META-INF/MANIFEST.MF)">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   109
         </command>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   110
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   111
      <subitem label="Click the &quot;Launch an Eclipse application&quot; hyperlink under the &quot;Testing&quot; heading" skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   112
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   113
      <subitem label="Note the &quot;Hello!&quot; entry in the main menu in the newly launched Eclipse platform" skip="true">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   114
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   115
      <subitem label="Select &quot;Hello!-&gt;Display Hello World!&quot; from the main menu" skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   116
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   117
      <subitem label="Click on the &quot;Workbench&quot;  icon to close the &quot;Welcome&quot; view and go to the Eclipse workbench." skip="true">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   118
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   119
      <subitem label="Note the icon with the Eclipse logo in the main toolbar in the newly launched Eclipse platform" skip="true">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   120
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   121
      <subitem label="Click the icon with the Eclipse logo in the main toolbar" skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   122
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   123
      <subitem label="Select &quot;File-&gt;Exit&quot; from the main menu to exit the target Eclipse platform" skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   124
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   125
   </item>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
   126
</cheatsheet>