aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse/plugins/com.android.ide.eclipse.adt/plugin.xml
blob: d6c9ac1cbf2b59eeb43497d5a87e994a331bc96f (plain)
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
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
   <extension
         id="com.android.ide.eclipse.common.xmlProblem"
         name="Android XML Format Problem"
         point="org.eclipse.core.resources.markers">
      <super type="org.eclipse.core.resources.problemmarker"/>
      <super type="org.eclipse.core.resources.textmarker"/>
      <persistent value="true"/>
   </extension>
   <extension
         id="com.android.ide.eclipse.common.aaptProblem"
         name="Android AAPT Problem"
         point="org.eclipse.core.resources.markers">
      <super type="org.eclipse.core.resources.problemmarker"/>
      <super type="org.eclipse.core.resources.textmarker"/>
      <persistent value="true"/>
   </extension>
   <extension
         id="com.android.ide.eclipse.common.aapt2Problem"
         name="Android AAPT Problem"
         point="org.eclipse.core.resources.markers">
      <super type="org.eclipse.core.resources.problemmarker"/>
      <super type="org.eclipse.core.resources.textmarker"/>
      <persistent value="true"/>
   </extension>
   <extension
         id="com.android.ide.eclipse.common.aidlProblem"
         name="Android AIDL Problem"
         point="org.eclipse.core.resources.markers">
      <super type="org.eclipse.core.resources.problemmarker"/>
      <super type="org.eclipse.core.resources.textmarker"/>
      <persistent value="true"/>
   </extension>
   <extension
        id="com.android.ide.eclipse.common.androidProblem"
        name="Android XML Content Problem"
        point="org.eclipse.core.resources.markers">
      <super type="org.eclipse.core.resources.problemmarker"/>
      <super type="org.eclipse.core.resources.textmarker"/>
      <persistent value="true"/>
   </extension>
   <extension
         id="ResourceManagerBuilder"
         name="Android Resource Manager"
         point="org.eclipse.core.resources.builders">
      <builder
            hasNature="true">
         <run class="com.android.ide.eclipse.adt.build.ResourceManagerBuilder"/>
      </builder>
   </extension>
   <extension
         id="PreCompilerBuilder"
         name="Android Pre Compiler"
         point="org.eclipse.core.resources.builders">
      <builder
            hasNature="true">
         <run class="com.android.ide.eclipse.adt.build.PreCompilerBuilder"/>
      </builder>
   </extension>
   <extension
         id="ApkBuilder"
         name="Android Package Builder"
         point="org.eclipse.core.resources.builders">
      <builder
            hasNature="true">
         <run class="com.android.ide.eclipse.adt.build.ApkBuilder"/>
      </builder>
   </extension>
   <extension
         id="AndroidNature"
         name="AndroidNature"
         point="org.eclipse.core.resources.natures">
      <runtime>
         <run class="com.android.ide.eclipse.adt.project.AndroidNature"/>
      </runtime>
      <builder id="com.android.ide.eclipse.adt.ResourceManagerBuilder"/>
      <builder id="com.android.ide.eclipse.adt.PreCompilerBuilder"/>
      <builder id="com.android.ide.eclipse.adt.ApkBuilder"/>
   </extension>
   <extension
         point="org.eclipse.ui.newWizards">
      <category
            id="com.android.ide.eclipse.wizards.category"
            name="Android"/>
      <wizard
            canFinishEarly="false"
            category="com.android.ide.eclipse.wizards.category"
            class="com.android.ide.eclipse.adt.wizards.newproject.NewProjectWizard"
            finalPerspective="org.eclipse.jdt.ui.JavaPerspective"
            hasPages="true"
            icon="icons/android.png"
            id="com.android.ide.eclipse.adt.project.NewProjectWizard"
            name="Android Project"
            preferredPerspectives="org.eclipse.jdt.ui.JavaPerspective"
            project="true"/>
      <wizard
            canFinishEarly="false"
            category="com.android.ide.eclipse.wizards.category"
            class="com.android.ide.eclipse.editors.wizards.NewXmlFileWizard"
            finalPerspective="org.eclipse.jdt.ui.JavaPerspective"
            hasPages="true"
            icon="icons/android.png"
            id="com.android.ide.eclipse.editors.wizards.NewXmlFileWizard"
            name="Android XML File"
            preferredPerspectives="org.eclipse.jdt.ui.JavaPerspective"
            project="false">
      </wizard>
   </extension>
   <extension
         point="org.eclipse.debug.core.launchConfigurationTypes">
      <launchConfigurationType
            delegate="com.android.ide.eclipse.adt.debug.launching.LaunchConfigDelegate"
            delegateDescription="The Android Application Launcher supports running and debugging remote Android applications on devices or emulators."
            delegateName="Android Launcher"
            id="com.android.ide.eclipse.adt.debug.LaunchConfigType"
            modes="debug, run"
            name="Android Application"
            public="true"
            sourceLocatorId="org.eclipse.jdt.launching.sourceLocator.JavaSourceLookupDirector"
            sourcePathComputerId="org.eclipse.jdt.launching.sourceLookup.javaSourcePathComputer">
      </launchConfigurationType>
   </extension>
   <extension
         point="org.eclipse.debug.ui.launchConfigurationTypeImages">
      <launchConfigurationTypeImage
            configTypeID="com.android.ide.eclipse.adt.debug.LaunchConfigType"
            icon="icons/android.png"
            id="com.android.ide.eclipse.adt.debug.LaunchConfigTypeImage"/>
   </extension>
   <extension
         point="org.eclipse.debug.ui.launchConfigurationTabGroups">
      <launchConfigurationTabGroup
            class="com.android.ide.eclipse.adt.debug.ui.LaunchConfigTabGroup"
            description="Android Application"
            id="com.android.ide.eclipse.adt.debug.LaunchConfigTabGroup"
            type="com.android.ide.eclipse.adt.debug.LaunchConfigType"/>
   </extension>
   <extension
         point="org.eclipse.debug.ui.launchShortcuts">
      <shortcut
            category="com.android.ide.eclipse.adt.debug.LaunchConfigType"
            class="com.android.ide.eclipse.adt.debug.launching.LaunchShortcut"
            icon="icons/android.png"
            id="com.android.ide.eclipse.adt.debug.launching.LaunchShortcut"
            label="Android Application"
            modes="debug, run">
        <contextualLaunch>
           <enablement>
             <with variable="selection">
               <count value="1"/>
               <iterate>
                  <and>
                     <test property="org.eclipse.jdt.launching.isContainer"/>
                     <test property="org.eclipse.jdt.launching.hasProjectNature" args="com.android.ide.eclipse.adt.AndroidNature"/>
                  </and>
               </iterate>
               </with>
           </enablement>
         </contextualLaunch>
         <perspective id="org.eclipse.jdt.ui.JavaPerspective"/>
         <perspective id="org.eclipse.debug.ui.DebugPerspective"/>
         <description
               description="Runs an Android Application"
               mode="run">
         </description>
         <description
               description="Debugs an Android Application"
               mode="debug">
         </description>
      </shortcut>
   </extension>
   <extension
         point="org.eclipse.ui.popupMenus">
      <objectContribution
            id="com.android.ide.eclipse.adt.contribution1"
            nameFilter="*"
            objectClass="org.eclipse.core.resources.IProject"
            adaptable="true">
         <menu
               id="com.android.ide.eclipse.adt.AndroidTools"
               label="Android Tools"
               path="additions">
            <separator name="group1"/>
         </menu>
         <visibility>
            <not>
            <or>
            <objectState
                name="projectNature"
                value="com.android.ide.eclipse.adt.AndroidNature"/>
            <objectState
                name="open"
                value="false"/>
            </or>
            </not>
         </visibility>
         <action
               class="com.android.ide.eclipse.adt.project.ConvertToAndroidAction"
               enablesFor="1"
               id="com.android.ide.eclipse.adt.ConvertToAndroidAction"
               label="Convert To Android Project"
               menubarPath="com.android.ide.eclipse.adt.AndroidTools/group1"/>
      </objectContribution>
      <objectContribution
            id="com.android.ide.eclipse.adt.contribution2"
            nameFilter="*"
            objectClass="org.eclipse.core.resources.IProject"
            adaptable="true">
         <menu
               id="com.android.ide.eclipse.adt.AndroidTools"
               label="Android Tools"
               path="additions">
            <separator name="group1"/>
            <separator name="group2"/>
         </menu>
         <filter
               name="projectNature"
               value="com.android.ide.eclipse.adt.AndroidNature">
         </filter>
         <action
               class="com.android.ide.eclipse.adt.project.CreateAidlImportAction"
               enablesFor="1"
               id="com.android.ide.eclipse.adt.project.CreateAidlImportAction"
               label="Create Aidl preprocess file for Parcelable classes"
               menubarPath="com.android.ide.eclipse.adt.AndroidTools/group1"/>
         <action
               class="com.android.ide.eclipse.adt.project.NewXmlFileWizardAction"
               enablesFor="1"
               id="com.android.ide.eclipse.adt.project.NewXmlFileWizardAction"
               label="New Resource File..."
               menubarPath="com.android.ide.eclipse.adt.AndroidTools/group1">
         </action>
         <action
               class="com.android.ide.eclipse.adt.project.ExportAction"
               enablesFor="1"
               id="com.android.ide.eclipse.adt.project.ExportAction"
               label="Export Unsigned Application Package..."
               menubarPath="com.android.ide.eclipse.adt.AndroidTools/group2"/>
         <action
               class="com.android.ide.eclipse.adt.project.ExportWizardAction"
               enablesFor="1"
               id="com.android.ide.eclipse.adt.project.ExportWizardAction"
               label="Export Signed Application Package..."
               menubarPath="com.android.ide.eclipse.adt.AndroidTools/group2"/>
         <action
               class="com.android.ide.eclipse.adt.project.FixProjectAction"
               enablesFor="1"
               id="com.android.ide.eclipse.adt.project.FixProjectAction"
               label="Fix Project Properties"
               menubarPath="com.android.ide.eclipse.adt.AndroidTools/group3"/>
      </objectContribution>
   </extension>
   <extension
         point="org.eclipse.ui.preferencePages">
      <page
            class="com.android.ide.eclipse.adt.preferences.AndroidPreferencePage"
            id="com.android.ide.eclipse.preferences.main"
            name="Android"/>
      <page
            category="com.android.ide.eclipse.preferences.main"
            class="com.android.ide.eclipse.adt.preferences.BuildPreferencePage"
            id="com.android.ide.eclipse.adt.preferences.BuildPreferencePage"
            name="Build"/>
      <page
            category="com.android.ide.eclipse.preferences.main"
            class="com.android.ide.eclipse.adt.preferences.LaunchPreferencePage"
            id="com.android.ide.eclipse.adt.preferences.LaunchPreferencePage"
            name="Launch"/>
      <page
            category="com.android.ide.eclipse.preferences.main"
            class="com.android.ide.eclipse.common.preferences.UsagePreferencePage"
            id="com.android.ide.eclipse.common.preferences.UsagePreferencePage"
            name="Usage Stats">
      </page>
   </extension>
   <extension
         point="org.eclipse.core.runtime.preferences">
      <initializer class="com.android.ide.eclipse.adt.preferences.PreferenceInitializer"/>
   </extension>
   <extension
         id="com.android.ide.eclipse.adt.adtProblem"
         name="Android ADT Problem"
         point="org.eclipse.core.resources.markers">
      <super type="org.eclipse.core.resources.problemmarker"/>
      <persistent value="true"/>
   </extension>
   <extension
         id="com.android.ide.eclipse.adt.targetProblem"
         name="Android Target Problem"
         point="org.eclipse.core.resources.markers">
      <super type="org.eclipse.core.resources.problemmarker"/>
      <persistent value="false"/>
   </extension>
   <extension
         point="org.eclipse.ui.perspectiveExtensions">
      <perspectiveExtension targetID="org.eclipse.jdt.ui.JavaPerspective">
         <newWizardShortcut id="com.android.ide.eclipse.adt.project.NewProjectWizard" />
         <newWizardShortcut
               id="com.android.ide.eclipse.editors.wizards.NewXmlFileWizard">
         </newWizardShortcut>
      </perspectiveExtension>
      <perspectiveExtension targetID="org.eclipse.debug.ui.DebugPerspective">
         <viewShortcut id="com.android.ide.eclipse.ddms.views.LogCatView"/>
         <viewShortcut id="com.android.ide.eclipse.ddms.views.DeviceView"/>
      </perspectiveExtension>
   </extension>
   <extension
         point="org.eclipse.ui.ide.projectNatureImages">
      <image
            icon="icons/android_project.png"
            id="com.android.ide.eclipse.adt.AndroidNature.image"
            natureId="com.android.ide.eclipse.adt.AndroidNature">
      </image>
   </extension>
   <extension
         point="org.eclipse.jdt.core.classpathContainerInitializer">
      <classpathContainerInitializer
            class="com.android.ide.eclipse.adt.project.internal.AndroidClasspathContainerInitializer"
            id="com.android.ide.eclipse.adt.project.AndroidClasspathContainerInitializer">
      </classpathContainerInitializer>
      <classpathContainerInitializer
            class="com.android.ide.eclipse.adt.project.internal.AndroidClasspathContainerInitializer"
            id="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK">
      </classpathContainerInitializer>
   </extension>
   <extension
         point="org.eclipse.ui.exportWizards">
      <category
            id="com.android.ide.eclipse.wizards.category"
            name="Android">
      </category>
      <wizard
            category="com.android.ide.eclipse.wizards.category"
            class="com.android.ide.eclipse.adt.project.export.ExportWizard"
            icon="icons/android.png"
            id="com.android.ide.eclipse.adt.project.ExportWizard"
            name="Export Android Application">
      </wizard>
   </extension>
   <extension
         point="org.eclipse.ui.commands">
      <command
            name="Debug Android Application"
            description="Debug Android Application"
            categoryId="org.eclipse.debug.ui.category.run"
            id="com.android.ide.eclipse.adt.debug.launching.LaunchShortcut.debug">
      </command>
      <command
            name="Run Android Application"
            description="Run Android Application"
            categoryId="org.eclipse.debug.ui.category.run"
            id="com.android.ide.eclipse.adt.debug.launching.LaunchShortcut.run">
      </command>
      <keyBinding
            keySequence="M3+M2+A D"
            contextId="org.eclipse.ui.globalScope"
            commandId="com.android.ide.eclipse.adt.debug.launching.LaunchShortcut.debug"
            keyConfigurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
      </keyBinding>
      <keyBinding
            keySequence="M3+M2+A R"
            contextId="org.eclipse.ui.globalScope"
            commandId="com.android.ide.eclipse.adt.debug.launching.LaunchShortcut.run"
            keyConfigurationId="org.eclipse.ui.defaultAcceleratorConfiguration">
      </keyBinding>
   </extension>
   <extension
         point="org.eclipse.ui.decorators">
      <decorator
            adaptable="true"
            class="com.android.ide.eclipse.adt.project.FolderDecorator"
            id="com.android.ide.eclipse.adt.project.FolderDecorator"
            label="Android Decorator"
            lightweight="true"
            location="TOP_RIGHT"
            objectClass="org.eclipse.core.resources.IFolder"
            state="true">
      </decorator>
   </extension>
   <extension
         point="org.eclipse.ui.editors">
      <editor
            class="com.android.ide.eclipse.editors.manifest.ManifestEditor"
            default="true"
            filenames="AndroidManifest.xml"
            icon="icons/android.png"
            id="com.android.ide.eclipse.editors.manifest.ManifestEditor"
            name="Android Manifest Editor">
      </editor>
      <editor
            class="com.android.ide.eclipse.editors.resources.ResourcesEditor"
            default="false"
            extensions="xml"
            icon="icons/android.png"
            id="com.android.ide.eclipse.editors.resources.ResourcesEditor"
            name="Android Resource Editor">
      </editor>
      <editor
            class="com.android.ide.eclipse.editors.layout.LayoutEditor"
            default="false"
            extensions="xml"
            icon="icons/android.png"
            id="com.android.ide.eclipse.editors.layout.LayoutEditor"
            matchingStrategy="com.android.ide.eclipse.editors.layout.MatchingStrategy"
            name="Android Layout Editor">
      </editor>
      <editor
            class="com.android.ide.eclipse.editors.menu.MenuEditor"
            default="false"
            extensions="xml"
            icon="icons/android.png"
            id="com.android.ide.eclipse.editors.menu.MenuEditor"
            name="Android Menu Editor">
      </editor>
      <editor
            class="com.android.ide.eclipse.editors.xml.XmlEditor"
            default="false"
            extensions="xml"
            icon="icons/android.png"
            id="com.android.ide.eclipse.editors.xml.XmlEditor"
            name="Android Xml Resources Editor">
      </editor>
   </extension>
   <extension
         point="org.eclipse.ui.views">
      <view
            allowMultiple="false"
            category="com.android.ide.eclipse.ddms.views.category"
            class="com.android.ide.eclipse.editors.resources.explorer.ResourceExplorerView"
            icon="icons/android.png"
            id="com.android.ide.eclipse.editors.resources.explorer.ResourceExplorerView"
            name="Resource Explorer">
      </view>
   </extension>
   <extension
         point="org.eclipse.wst.sse.ui.editorConfiguration">
      <sourceViewerConfiguration
            class="com.android.ide.eclipse.editors.manifest.ManifestSourceViewerConfig"
            target="com.android.ide.eclipse.editors.manifest.ManifestEditor">
      </sourceViewerConfiguration>
      <sourceViewerConfiguration
            class="com.android.ide.eclipse.editors.resources.ResourcesSourceViewerConfig"
            target="com.android.ide.eclipse.editors.resources.ResourcesEditor">
      </sourceViewerConfiguration>
      <sourceViewerConfiguration
            class="com.android.ide.eclipse.editors.layout.LayoutSourceViewerConfig"
            target="com.android.ide.eclipse.editors.layout.LayoutEditor">
      </sourceViewerConfiguration>
      <sourceViewerConfiguration
            class="com.android.ide.eclipse.editors.menu.MenuSourceViewerConfig"
            target="com.android.ide.eclipse.editors.menu.MenuEditor">
      </sourceViewerConfiguration>
      <sourceViewerConfiguration
            class="com.android.ide.eclipse.editors.xml.XmlSourceViewerConfig"
            target="com.android.ide.eclipse.editors.xml.XmlEditor">
      </sourceViewerConfiguration>
   </extension>
   <extension
         point="org.eclipse.ui.propertyPages">
      <page
            adaptable="true"
            class="com.android.ide.eclipse.adt.project.properties.AndroidPropertyPage"
            id="com.android.ide.eclipse.adt.project.properties.AndroidPropertyPage"
            name="Android"
            nameFilter="*"
            objectClass="org.eclipse.core.resources.IProject">
         <enabledWhen>
               <test property="org.eclipse.jdt.launching.hasProjectNature"
                     args="com.android.ide.eclipse.adt.AndroidNature"/>
         </enabledWhen>
      </page>
   </extension>
   <extension
         point="org.eclipse.ui.actionSets">
      <actionSet
            description="Android Wizards"
            id="adt.actionSet1"
            label="Android Wizards"
            visible="true">
         <action
               class="com.android.ide.eclipse.adt.wizards.actions.NewProjectAction"
               icon="icons/new_adt_project.png"
               id="com.android.ide.eclipse.adt.wizards.actions.NewProjectAction"
               label="New Android Project"
               style="push"
               toolbarPath="android_project"
               tooltip="Opens a wizard to help create a new Android project">
         </action>
         <action
               class="com.android.ide.eclipse.adt.wizards.actions.NewXmlFileAction"
               icon="icons/new_xml.png"
               id="com.android.ide.eclipse.adt.wizards.actions.NewXmlFileAction"
               label="New Android XML File"
               style="push"
               toolbarPath="android_project"
               tooltip="Opens a wizard to help create a new Android XML file">
         </action>
      </actionSet>
   </extension>
</plugin>