5
|
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->Open Perspective->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 "File->New->Project...", and choose "Feature Project" under the "Plug-in Development" 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 "com.example.feature" into the "Project Name" text box on the "Feature Properties" page"
|
|
62 |
skip="false"/>
|
|
63 |
<subitem label="Input "Hello World! Feature" into the "Feature Name" text box and click "Next >""
|
|
64 |
skip="false"/>
|
|
65 |
<subitem label="Select the "com.example.helloworld" checkbox on the "Refererenced Plug-ins and Fragements" page and click "Finish""
|
|
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 "Information" tab"
|
|
83 |
skip="false"/>
|
|
84 |
<subitem label="Input "Hello, Eclipse world! feature description" into the "Text" dialog box"
|
|
85 |
skip="false"/>
|
|
86 |
<subitem label="Select the "Copyright Notice" tab within the "Information" page"
|
|
87 |
skip="false"/>
|
|
88 |
<subitem label="Input "(C) 2006" into the "Text" dialog box"
|
|
89 |
skip="false"/>
|
|
90 |
<subitem label="Select the "License Agreement" tab within the "Information" page"
|
|
91 |
skip="false"/>
|
|
92 |
<subitem label="Input "Hello, Eclipse world! license agreement" into the "Text" dialog box"
|
|
93 |
skip="false"/>
|
|
94 |
<subitem label="Select "File->Save" from the main menu"
|
|
95 |
skip="false"/>
|
|
96 |
</item>
|
|
97 |
|
|
98 |
</cheatsheet>
|