carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/188/1/.cp/cheatsheets/helloworld/helloworld-feature.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
<!--
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     3
     Copyright (c) 2005, 2008 IBM Corporation and others.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     4
     All rights reserved. This program and the accompanying materials
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     5
     are made available under the terms of the Eclipse Public License v1.0
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     6
     which accompanies this distribution, and is available at
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     7
     http://www.eclipse.org/legal/epl-v10.html
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     8
    
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     9
     Contributors:
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    10
         IBM Corporation - initial API and implementation
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    11
 -->
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    12
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    13
<!-- Simple Cheat Sheet -->
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    14
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    15
<cheatsheet title="Create a feature">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    16
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    17
   <!-- Introduction -->
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    18
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    19
   <intro href="/org.eclipse.platform.doc.user/reference/ref-cheatsheets.htm">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    20
      <description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    21
         This cheat sheet will demonstrate how to create a feature for a plug-in using
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    22
         PDE. 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    23
         <br/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    24
         <br/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    25
         To learn more about using cheat sheets, click the help button
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    26
         in the top right corner (?). 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    27
      </description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    28
   </intro>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    29
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    30
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    31
   <!-- Item -->
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    32
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    33
   <item title="Open the plug-in development perspective"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    34
         href="/org.eclipse.pde.doc.user/guide/tools/views/views.htm"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    35
         dialog="false"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    36
         skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    37
      <description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    38
         To open the plug-in development perspective,
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    39
         select <b>Window-&gt;Open Perspective-&gt;Other...</b> 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    40
         and choose <b>Plug-in Development</b>.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    41
         <br/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    42
         <br/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    43
         Alternatively, click the following button to perform the task.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    44
      </description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    45
      <command serialization="org.eclipse.ui.perspectives.showPerspective(org.eclipse.ui.perspectives.showPerspective.perspectiveId=org.eclipse.pde.ui.PDEPerspective)" required="false" translate="" />
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    46
   </item>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    47
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    48
   <!-- Item -->
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    49
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    50
   <item title="Create the feature"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    51
         href="/org.eclipse.pde.doc.user/guide/tools/project_wizards/new_feature_project.htm"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    52
         dialog="true"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    53
         skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    54
      <description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    55
         To create the feature, perform the following steps:
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    56
      </description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    57
      <subitem label="Select &quot;File-&gt;New-&gt;Project...&quot;, and choose &quot;Feature Project&quot; under the &quot;Plug-in Development&quot; heading" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    58
               skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    59
         <command serialization="org.eclipse.ui.newWizard(newWizardId=org.eclipse.pde.ui.NewFeatureProjectWizard)" required="false" translate="" />
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    60
      </subitem>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    61
      <subitem label="Input &quot;com.example.feature&quot; into the &quot;Project Name&quot; text box on the &quot;Feature Properties&quot; page" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    62
               skip="false"/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    63
      <subitem label="Input &quot;Hello World! Feature&quot; into the &quot;Feature Name&quot; text box and click &quot;Next &gt;&quot;" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    64
               skip="false"/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    65
      <subitem label="Select the &quot;com.example.helloworld&quot; checkbox on the &quot;Refererenced Plug-ins and Fragements&quot; page and click &quot;Finish&quot;" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    66
               skip="false"/>  
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    67
   </item>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    68
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    69
   <!-- Item -->
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    70
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    71
   <item title="Add a feature description and license agreement"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    72
         dialog="false"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    73
         href="/org.eclipse.pde.doc.user/guide/tools/editors/feature_editor/information.htm"
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    74
         skip="false">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    75
      <description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    76
         The <b>com.example.helloworld</b> feature editor should be opened
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    77
         on the <b>Overview</b> page.
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    78
         <br/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    79
         <br/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    80
         To add a feature description and license agreement, perform the following steps:
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    81
      </description>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    82
      <subitem label="Select the &quot;Information&quot; tab" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    83
               skip="false"/>  
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    84
      <subitem label="Input &quot;Hello, Eclipse world! feature description&quot; into the &quot;Text&quot; dialog box" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    85
               skip="false"/>  
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    86
      <subitem label="Select the &quot;Copyright Notice&quot; tab within the &quot;Information&quot; page" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    87
               skip="false"/>  
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    88
      <subitem label="Input &quot;(C) 2006&quot; into the &quot;Text&quot; dialog box" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    89
               skip="false"/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    90
      <subitem label="Select the &quot;License Agreement&quot; tab within the &quot;Information&quot; page" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    91
               skip="false"/>  
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    92
      <subitem label="Input &quot;Hello, Eclipse world! license agreement&quot; into the &quot;Text&quot; dialog box" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    93
               skip="false"/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    94
      <subitem label="Select &quot;File-&gt;Save&quot; from the main menu" 
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    95
               skip="false"/>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    96
   </item>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    97
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    98
</cheatsheet>