Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: b71a1556bd9320b2fbc3c92dc70178b79737f21a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>

   <!-- 
      Cheat sheet test content
   -->
   <extension
         point="org.eclipse.ui.cheatsheets.cheatSheetContent">
      <category
            name="Cheat sheet examples - part 1"
            id="org.eclipse.ua.tests.cheatsheet.cheatSheetsCat">
      </category>
      <category
            name="Cheat sheet examples - part 2"
            id="org.eclipse.ua.tests.cheatsheet.cheatSheetsCat2">
      </category>
      <category
            name="Tests"
            id="org.eclipse.ua.tests.cheatsheet.cheatSheetsTestCat">
      </category>
      <cheatsheet
            name="Hello World"
            category="org.eclipse.ua.tests.cheatsheet.cheatSheetsCat"
            contentFile="data/cheatsheet/valid/HelloWorld.xml"
            id="org.eclipse.ua.tests.cheatsheet.HelloWorld">
         <description>
            This cheat sheet will guide you through building a hello world Java application and testing it.
            Uses only the basic cheat sheet features.
         </description>
      </cheatsheet>
      <cheatsheet
            name="Hello World With Extensions Icons"
            category="org.eclipse.ua.tests.cheatsheet.cheatSheetsCat"
            contentFile="data/cheatsheet/valid/HelloWorldWithExtensions.xml"
            id="org.eclipse.ua.tests.cheatsheet.HelloWorldWithExtensions">
         <description>
            This cheat sheet has extra icons next to the help icon using the cheatSheetItemExtension extension point.
         </description>
      </cheatsheet>
      <cheatsheet
            name="Hello World With Subitems"
            category="org.eclipse.ua.tests.cheatsheet.cheatSheetsCat"
            contentFile="data/cheatsheet/valid/HelloWorldWithSubitems.xml"
            id="org.eclipse.ua.tests.cheatsheet.HelloWorldWithSubitem">
         <description>
            This cheat sheet uses subitems.
         </description>
      </cheatsheet>
      <cheatsheet
            name="Testing Cheat Sheets actions"
            category="org.eclipse.ua.tests.cheatsheet.cheatSheetsTestCat"
            contentFile="data/cheatsheet/valid/TestCSActions.xml"
            id="org.eclipse.ua.tests.cheatsheet.cheatsheetsActions">
         <description>
            This cheat sheet has items to test the framework
         </description>
      </cheatsheet>
      <cheatsheet
            name="Testing Parameters"
            category="org.eclipse.ua.tests.cheatsheet.cheatSheetsTestCat"
            contentFile="data/cheatsheet/valid/TestParameters.xml"
            id="org.eclipse.ua.tests.cheatsheet.parameters">
         <description>
            This cheat sheet has items to test the framework
         </description>
      </cheatsheet>
      <cheatsheet
            name="Testing Context Help and Help Links"
            category="org.eclipse.ua.tests.cheatsheet.cheatSheetsTestCat"
            contentFile="data/cheatsheet/valid/TestContext_Help.xml"
            id="org.eclipse.ua.tests.cheatsheet.infopop.help">
         <description>
            This cheat sheet has items to test the framework
         </description>
      </cheatsheet>
      <cheatsheet
            name="Testing SubItems"
            category="org.eclipse.ua.tests.cheatsheet.cheatSheetsTestCat"
            contentFile="data/cheatsheet/valid/TestSubItems.xml"
            id="org.eclipse.ua.tests.cheatsheet.subitems">
         <description>
            This cheat sheet has items to test the framework
         </description>
      </cheatsheet>
      <cheatsheet
            name="Testing Dynamic SubItems"
            category="org.eclipse.ua.tests.cheatsheet.cheatSheetsTestCat"
            contentFile="data/cheatsheet/valid/TestDynamicSubItems.xml"
            id="org.eclipse.ua.tests.cheatsheet.dynamic.subitems">
         <description>
            This cheat sheet has items to test the framework
         </description>
      </cheatsheet>
      <cheatsheet
            name="Testing Item Description Formatting"
            category="org.eclipse.ua.tests.cheatsheet.cheatSheetsTestCat"
            contentFile="data/cheatsheet/valid/TestDescriptionFormatting.xml"
            id="org.eclipse.ua.tests.cheatsheet.description">
         <description>
            This cheat sheet has items to test the framework
         </description>
      </cheatsheet>
      <cheatsheet
            name="Testing Actions"
            category="org.eclipse.ua.tests.cheatsheet.cheatSheetsTestCat"
            contentFile="data/cheatsheet/valid/TestActions.xml"
            id="org.eclipse.ua.tests.cheatsheet.actions">
         <description>
            This cheat sheet has items to test the framework
         </description>
      </cheatsheet>
      <taskEditor
            class="org.eclipse.ua.tests.cheatsheet.util.TestTaskEditor"
            icon="$nl$/icons/sample.gif"
            id="ua.junit"/>
      <cheatsheet
            composite="false"
            contentFile="data/cheatsheet/search/CSSearchTest.xml"
            id="org.eclipse.ua.tests.cheatsheet.searchTest"
            name="Test cheat sheet search"/>
      <cheatsheet
            composite="true"
            contentFile="data/cheatsheet/search/CompositeSearchTest.xml"
            id="org.eclipse.ua.tests.composite.searchTest"
            name="Composite cheat sheet search test"/>
   </extension>

   <!-- 
      Cheat sheet context help test
   -->
   <extension point="org.eclipse.help.contexts"> 
       <contexts file="data/cheatsheet/contexts.xml"/>
   </extension>

   <!-- 
      Command used in tests
   -->
   <extension
         point="org.eclipse.ui.commands">
      <category
            id="org.eclipse.ui.cheatsheets.tests.category1"
            name="org.eclipse.ui.cheatsheets.tests.category1"/>
      <command
            categoryId="org.eclipse.ui.category.file"
            defaultHandler="org.eclipse.ua.tests.cheatsheet.execution.CommandHandler"
            id="org.eclipse.ui.cheatsheets.tests.command1"
            name="Cheatsheet test command">
         <commandParameter
               id="param1_id"
               name="Parameter1"
               optional="true"
               />
         <commandParameter
               id="param2_id"
               name="Parameter2"
               optional="true"
               />
      </command>
      <command
            defaultHandler="org.eclipse.ua.tests.cheatsheet.execution.NegateIntegerHandler"
            id="org.eclipse.ui.cheatsheets.tests.NegateIntegerCommand"
            name="Test Command with Integer Values"
            returnTypeId="org.eclipse.ui.dialogs.Integer">
         <commandParameter
               id="number"
               name="Number"
               optional="false"
               typeId="org.eclipse.ui.dialogs.Integer"/>
      </command>
   </extension>

   <!--
      Intro test content
   -->
   <extension
         point="org.eclipse.ui.intro">
      <intro
            class="org.eclipse.ui.intro.config.CustomizableIntroPart"
            id="org.eclipse.ua.tests.intro.dynamicXHTML">
      </intro>
      <intro
            class="org.eclipse.ui.intro.config.CustomizableIntroPart"
            id="org.eclipse.ua.tests.intro.dynamicXML">
      </intro>
   </extension>   
   <extension
         point="org.eclipse.ui.intro.config">
      <config
            introId="org.eclipse.ua.tests.intro.dynamicXHTML"
            content="data/intro/dynamicXHTML/introContent.xml"
            id="org.eclipse.ua.tests.intro.config.dynamicXHTML">
         <presentation
               home-page-id="root">
            <implementation
                  kind="html"
                  os="win32,linux,macosx">
            </implementation>
         </presentation>
      </config>
      <config
            introId="org.eclipse.ua.tests.intro.dynamicXML"
            id="org.eclipse.ua.tests.intro.config.dynamicXML"
            content="data/intro/dynamicXML/introContent.xml">
         <presentation
               home-page-id="root" standby-page-id="standby">
            <implementation
                  style="data/intro/dynamicXML/css/shared.css"
                  kind="html"
                  os="win32,linux,macosx">
            </implementation>
            <implementation
                  kind="swt">
            </implementation>
         </presentation>
      </config>
   </extension>
   <extension
         point="org.eclipse.ui.intro.configExtension">
      <configExtension
            content="data/intro/dynamicXHTML/ext.xml"
            configId="org.eclipse.ua.tests.intro.config.dynamicXHTML">
      </configExtension>
      <configExtension
            content="data/intro/dynamicXHTML/ext2.xml"
            configId="org.eclipse.ua.tests.intro.config.dynamicXHTML">
      </configExtension>
      <configExtension
            content="data/intro/dynamicXML/ext.xml"
            configId="org.eclipse.ua.tests.intro.config.dynamicXML">
      </configExtension>
   </extension>

   <!--
      TOC test content
   -->
   <extension point="org.eclipse.help.toc">
       <toc file="data/help/toc/root.xml" primary="true"/>
       <toc file="data/help/manual/manual.xml"/>
       <toc file="data/help/toc/filteredToc/toc.xml"/>
       <toc file="data/help/toc/filteredToc/filter.xml"/>
       <toc file="data/help/toc/filteredToc/simple_toc.xml"/>
       <toc file="data/help/toc/extraContent/toc.xml"/>
       <toc file="data/help/toc/extraContent/toc2.xml"/>
       <toc file="data/help/toc/extraContent/simple_toc.xml"/>
       <toc file="data/help/search/toc.xml"/>
       <toc file="data/help/search/toc2.xml" extradir="data/help/search/extraDir"/>
       <toc file="data/help/search/toc3.xml" extradir="data/help/search/extraDir2"/>
       <toc file="data/help/search/toc4.xml" extradir="data/help/search/extraDir3"/>
       <toc file="data/help/index/toc.xml"/>
       <toc file="data/help/index/tocIgnored.xml"/>
   </extension>

   <extension point= "org.eclipse.help.contentExtension"> 
      <contentExtension file="data/help/dynamic/include/extension.xml"/>
      <contentExtension file="data/help/dynamic/extension/extension.xml"/>
      <contentExtension file="data/help/dynamic/shared/extension.xml"/>
      <contentExtension file="data/help/search/extension.xml"/>
      <contentExtension file="data/help/search/extension2.xml"/>
   </extension>
   <extension
         point="org.eclipse.help.index">
      <index
            file="data/help/index/index.xml">
      </index>
   </extension>

   <!--
      For testing XHTML content
   -->
   <extension
         point="org.eclipse.help.base.luceneSearchParticipants">
      <binding participantId="org.eclipse.help.base.xhtml"/>
   </extension>

</plugin>

Back to the top