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