1 <?xml version="1.0" encoding="UTF-8"?> 2 <?eclipse version="3.2"?> 3 <plugin> 4 <extension 5 id="com.android.ide.eclipse.common.xmlProblem" 6 name="Android XML Format Problem" 7 point="org.eclipse.core.resources.markers"> 8 <super type="org.eclipse.core.resources.problemmarker" /> 9 <super type="org.eclipse.core.resources.textmarker" /> 10 <persistent value="true" /> 11 </extension> 12 <extension 13 id="com.android.ide.eclipse.common.aaptProblem" 14 name="Android AAPT Problem" 15 point="org.eclipse.core.resources.markers"> 16 <super type="org.eclipse.core.resources.problemmarker" /> 17 <super type="org.eclipse.core.resources.textmarker" /> 18 <persistent value="true" /> 19 </extension> 20 <extension 21 id="com.android.ide.eclipse.common.aapt2Problem" 22 name="Android AAPT Problem" 23 point="org.eclipse.core.resources.markers"> 24 <super type="org.eclipse.core.resources.problemmarker" /> 25 <super type="org.eclipse.core.resources.textmarker" /> 26 <persistent value="true" /> 27 </extension> 28 <extension 29 id="com.android.ide.eclipse.common.aidlProblem" 30 name="Android AIDL Problem" 31 point="org.eclipse.core.resources.markers"> 32 <super type="org.eclipse.core.resources.problemmarker" /> 33 <super type="org.eclipse.core.resources.textmarker" /> 34 <persistent value="true" /> 35 </extension> 36 <extension 37 id="com.android.ide.eclipse.common.rsProblem" 38 name="Android RenderScript Problem" 39 point="org.eclipse.core.resources.markers"> 40 <super type="org.eclipse.core.resources.problemmarker" /> 41 <super type="org.eclipse.core.resources.textmarker" /> 42 <persistent value="true" /> 43 </extension> 44 <extension 45 id="com.android.ide.eclipse.common.androidProblem" 46 name="Android XML Content Problem" 47 point="org.eclipse.core.resources.markers"> 48 <super type="org.eclipse.core.resources.problemmarker" /> 49 <super type="org.eclipse.core.resources.textmarker" /> 50 <persistent value="true" /> 51 </extension> 52 <extension point="org.eclipse.ui.ide.markerResolution"> 53 <markerResolutionGenerator 54 markerType="com.android.ide.eclipse.common.aaptProblem" 55 class="com.android.ide.eclipse.adt.internal.build.AaptQuickFix" /> 56 </extension> 57 <extension 58 id="ResourceManagerBuilder" 59 name="Android Resource Manager" 60 point="org.eclipse.core.resources.builders"> 61 <builder hasNature="true"> 62 <run class="com.android.ide.eclipse.adt.internal.build.builders.ResourceManagerBuilder" /> 63 </builder> 64 </extension> 65 <extension 66 id="PreCompilerBuilder" 67 name="Android Pre Compiler" 68 point="org.eclipse.core.resources.builders"> 69 <builder hasNature="true"> 70 <run class="com.android.ide.eclipse.adt.internal.build.builders.PreCompilerBuilder" /> 71 </builder> 72 </extension> 73 <extension 74 id="ApkBuilder" 75 name="Android Package Builder" 76 point="org.eclipse.core.resources.builders"> 77 <builder hasNature="true"> 78 <run class="com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder" /> 79 </builder> 80 </extension> 81 <extension 82 id="AndroidNature" 83 name="Android Project Nature" 84 point="org.eclipse.core.resources.natures"> 85 <runtime> 86 <run class="com.android.ide.eclipse.adt.internal.project.AndroidNature" /> 87 </runtime> 88 <builder id="com.android.ide.eclipse.adt.ResourceManagerBuilder" /> 89 <builder id="com.android.ide.eclipse.adt.PreCompilerBuilder" /> 90 <builder id="com.android.ide.eclipse.adt.ApkBuilder" /> 91 </extension> 92 <extension 93 id="ExportNature" 94 name="Android Export Project Nature" 95 point="org.eclipse.core.resources.natures"> 96 <runtime> 97 <run class="com.android.ide.eclipse.adt.internal.project.ExportNature" /> 98 </runtime> 99 </extension> 100 <extension point="org.eclipse.ui.newWizards"> 101 <category 102 id="com.android.ide.eclipse.wizards.category" 103 name="Android" /> 104 <wizard 105 canFinishEarly="false" 106 category="com.android.ide.eclipse.wizards.category" 107 class="com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectWizard" 108 finalPerspective="org.eclipse.jdt.ui.JavaPerspective" 109 hasPages="true" 110 icon="icons/new_adt_project.png" 111 id="com.android.ide.eclipse.adt.project.NewProjectWizard" 112 name="Android Project" 113 preferredPerspectives="org.eclipse.jdt.ui.JavaPerspective" 114 project="true" /> 115 <wizard 116 canFinishEarly="false" 117 category="com.android.ide.eclipse.wizards.category" 118 class="com.android.ide.eclipse.adt.internal.wizards.newproject.NewTestProjectWizard" 119 finalPerspective="org.eclipse.jdt.ui.JavaPerspective" 120 hasPages="true" 121 icon="icons/androidjunit.png" 122 id="com.android.ide.eclipse.adt.project.NewTestProjectWizard" 123 name="Android Test Project" 124 preferredPerspectives="org.eclipse.jdt.ui.JavaPerspective" 125 project="true"> 126 </wizard> 127 <wizard 128 canFinishEarly="false" 129 category="com.android.ide.eclipse.wizards.category" 130 class="com.android.ide.eclipse.adt.internal.wizards.newproject.NewSampleProjectWizard" 131 finalPerspective="org.eclipse.jdt.ui.JavaPerspective" 132 hasPages="true" 133 icon="icons/new_adt_project.png" 134 id="com.android.ide.eclipse.adt.project.NewSampleProjectWizard" 135 name="Android Sample Project" 136 preferredPerspectives="org.eclipse.jdt.ui.JavaPerspective" 137 project="true"> 138 </wizard> 139 <wizard 140 canFinishEarly="false" 141 category="com.android.ide.eclipse.wizards.category" 142 class="com.android.ide.eclipse.adt.internal.wizards.newxmlfile.NewXmlFileWizard" 143 finalPerspective="org.eclipse.jdt.ui.JavaPerspective" 144 hasPages="true" 145 icon="icons/new_xml.png" 146 id="com.android.ide.eclipse.editors.wizards.NewXmlFileWizard" 147 name="Android XML File" 148 preferredPerspectives="org.eclipse.jdt.ui.JavaPerspective" 149 project="false"> 150 </wizard> 151 <wizard 152 canFinishEarly="false" 153 category="com.android.ide.eclipse.wizards.category" 154 class="com.android.ide.eclipse.adt.internal.wizards.newxmlfile.NewXmlFileWizard$NewLayoutWizard" 155 finalPerspective="org.eclipse.jdt.ui.JavaPerspective" 156 hasPages="true" 157 icon="icons/new_xml.png" 158 id="com.android.ide.eclipse.editors.wizards.NewXmlFileWizard.Layout" 159 name="Android XML Layout File" 160 preferredPerspectives="org.eclipse.jdt.ui.JavaPerspective" 161 project="false"> 162 </wizard> 163 <wizard 164 canFinishEarly="false" 165 category="com.android.ide.eclipse.wizards.category" 166 class="com.android.ide.eclipse.adt.internal.wizards.newxmlfile.NewXmlFileWizard$NewValuesWizard" 167 finalPerspective="org.eclipse.jdt.ui.JavaPerspective" 168 hasPages="true" 169 icon="icons/new_xml.png" 170 id="com.android.ide.eclipse.editors.wizards.NewXmlFileWizard.Values" 171 name="Android XML Values File" 172 preferredPerspectives="org.eclipse.jdt.ui.JavaPerspective" 173 project="false"> 174 </wizard> 175 <wizard 176 canFinishEarly="false" 177 category="com.android.ide.eclipse.wizards.category" 178 class="com.android.ide.eclipse.adt.internal.assetstudio.CreateAssetSetWizard" 179 finalPerspective="org.eclipse.jdt.ui.JavaPerspective" 180 hasPages="true" 181 icon="icons/new_asset_set.png" 182 id="com.android.ide.eclipse.adt.internal.assetstudio.CreateAssetSetWizard" 183 name="Android Icon Set" 184 preferredPerspectives="org.eclipse.jdt.ui.JavaPerspective" 185 project="false" /> 186 </extension> 187 <extension point="org.eclipse.debug.core.launchConfigurationTypes"> 188 <launchConfigurationType 189 delegate="com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate" 190 delegateDescription="The Android Application Launcher supports running and debugging remote Android applications on devices or emulators." 191 delegateName="Android Launcher" 192 id="com.android.ide.eclipse.adt.debug.LaunchConfigType" 193 modes="debug, run" 194 name="Android Application" 195 public="true" 196 sourceLocatorId="com.android.ide.eclipse.adt.internal.sourcelookup.AdtSourceLookupDirector" 197 sourcePathComputerId="org.eclipse.jdt.launching.sourceLookup.javaSourcePathComputer"> 198 </launchConfigurationType> 199 </extension> 200 <extension point="org.eclipse.debug.ui.launchConfigurationTypeImages"> 201 <launchConfigurationTypeImage 202 configTypeID="com.android.ide.eclipse.adt.debug.LaunchConfigType" 203 icon="icons/android_app.png" 204 id="com.android.ide.eclipse.adt.debug.LaunchConfigTypeImage" /> 205 </extension> 206 <extension point="org.eclipse.debug.ui.launchConfigurationTabGroups"> 207 <launchConfigurationTabGroup 208 class="com.android.ide.eclipse.adt.internal.launch.LaunchConfigTabGroup" 209 description="Android Application" 210 id="com.android.ide.eclipse.adt.debug.LaunchConfigTabGroup" 211 type="com.android.ide.eclipse.adt.debug.LaunchConfigType" /> 212 </extension> 213 <extension point="org.eclipse.debug.ui.launchShortcuts"> 214 <shortcut 215 class="com.android.ide.eclipse.adt.internal.launch.LaunchShortcut" 216 icon="icons/android_app.png" 217 id="com.android.ide.eclipse.adt.debug.launching.LaunchShortcut" 218 label="Android Application" 219 modes="run, debug"> 220 <contextualLaunch> 221 <enablement> 222 <with variable="selection"> 223 <count value="1" /> 224 <iterate> 225 <and> 226 <test property="org.eclipse.jdt.launching.isContainer" /> 227 <test 228 property="org.eclipse.jdt.launching.hasProjectNature" 229 args="com.android.ide.eclipse.adt.AndroidNature" /> 230 </and> 231 </iterate> 232 </with> 233 </enablement> 234 </contextualLaunch> 235 <perspective id="org.eclipse.jdt.ui.JavaPerspective" /> 236 <perspective id="org.eclipse.debug.ui.DebugPerspective" /> 237 <configurationType id="com.android.ide.eclipse.adt.debug.LaunchConfigType"> 238 </configurationType> 239 <description 240 description="Runs an Android Application" 241 mode="run"> 242 </description> 243 <description 244 description="Debugs an Android Application" 245 mode="debug"> 246 </description> 247 </shortcut> 248 </extension> 249 <extension point="org.eclipse.ui.popupMenus"> 250 <objectContribution 251 id="com.android.ide.eclipse.adt.contribution2" 252 nameFilter="*" 253 objectClass="org.eclipse.core.resources.IProject" 254 adaptable="true"> 255 <menu 256 id="com.android.ide.eclipse.adt.AndroidTools" 257 label="Android Tools" 258 path="additions"> 259 <separator name="group1" /> 260 <separator name="group2" /> 261 </menu> 262 <filter 263 name="projectNature" 264 value="com.android.ide.eclipse.adt.AndroidNature"> 265 </filter> 266 <action 267 class="com.android.ide.eclipse.adt.internal.wizards.actions.NewXmlFileAction" 268 enablesFor="1" 269 icon="icons/new_xml.png" 270 id="com.android.ide.eclipse.adt.wizards.actions.NewXmlFileAction" 271 label="New Resource File..." 272 menubarPath="com.android.ide.eclipse.adt.AndroidTools/group1" 273 tooltip="Opens a wizard to help create a new Android XML Resource file"> 274 </action> 275 <action 276 class="com.android.ide.eclipse.adt.internal.wizards.actions.NewTestProjectAction" 277 enablesFor="1" 278 icon="icons/androidjunit.png" 279 id="com.android.ide.eclipse.adt.wizards.actions.NewTestProjectAction" 280 label="New Test Project..." 281 menubarPath="com.android.ide.eclipse.adt.AndroidTools/group1" 282 tooltip="Opens a wizard to help create a new Android Test Project"> 283 </action> 284 <action 285 class="com.android.ide.eclipse.adt.internal.wizards.actions.ExportAction" 286 enablesFor="1" 287 id="com.android.ide.eclipse.adt.project.ExportAction" 288 label="Export Unsigned Application Package..." 289 menubarPath="com.android.ide.eclipse.adt.AndroidTools/group2" /> 290 <action 291 class="com.android.ide.eclipse.adt.internal.wizards.actions.ExportWizardAction" 292 enablesFor="1" 293 id="com.android.ide.eclipse.adt.project.ExportWizardAction" 294 label="Export Signed Application Package..." 295 menubarPath="com.android.ide.eclipse.adt.AndroidTools/group2" /> 296 <action 297 class="com.android.ide.eclipse.adt.internal.actions.FixProjectAction" 298 enablesFor="1" 299 id="com.android.ide.eclipse.adt.project.FixProjectAction" 300 label="Fix Project Properties" 301 menubarPath="com.android.ide.eclipse.adt.AndroidTools/group3" /> 302 <action 303 class="com.android.ide.eclipse.adt.internal.actions.AddCompatibilityJarAction" 304 enablesFor="1" 305 icon="icons/android.png" 306 id="com.android.ide.eclipse.adt.wizards.actions.AddCompatibilityJarAction" 307 label="Add Compatibility Library..." 308 menubarPath="com.android.ide.eclipse.adt.AndroidTools/group3" 309 tooltip="Add the Compatibility Library to the project"> 310 </action> 311 <action 312 class="com.android.ide.eclipse.adt.internal.refactorings.renamepackage.RenamePackageAction" 313 enablesFor="1" 314 id="com.android.ide.eclipse.adt.project.RenamePackageAction" 315 label="Rename Application Package" 316 menubarPath="com.android.ide.eclipse.adt.AndroidTools/group3" /> 317 <action 318 class="com.android.ide.eclipse.adt.internal.actions.DexDumpAction" 319 enablesFor="1" 320 id="com.android.ide.eclipse.adt.DexDumpAction" 321 label="Display dex bytecode" 322 menubarPath="com.android.ide.eclipse.adt.AndroidTools/group3" /> 323 </objectContribution> 324 </extension> 325 <extension point="org.eclipse.ui.preferencePages"> 326 <page 327 class="com.android.ide.eclipse.adt.internal.preferences.AndroidPreferencePage" 328 id="com.android.ide.eclipse.preferences.main" 329 name="Android" /> 330 <page 331 category="com.android.ide.eclipse.preferences.main" 332 class="com.android.ide.eclipse.adt.internal.preferences.BuildPreferencePage" 333 id="com.android.ide.eclipse.adt.preferences.BuildPreferencePage" 334 name="Build" /> 335 <page 336 category="com.android.ide.eclipse.preferences.main" 337 class="com.android.ide.eclipse.adt.internal.preferences.LaunchPreferencePage" 338 id="com.android.ide.eclipse.adt.preferences.LaunchPreferencePage" 339 name="Launch" /> 340 <page 341 category="com.android.ide.eclipse.preferences.main" 342 class="com.android.ide.eclipse.adt.internal.preferences.UsagePreferencePage" 343 id="com.android.ide.eclipse.common.preferences.UsagePreferencePage" 344 name="Usage Stats"> 345 </page> 346 <page 347 category="com.android.ide.eclipse.preferences.main" 348 class="com.android.ide.eclipse.adt.internal.preferences.EditorsPage" 349 id="com.android.ide.eclipse.adt.preferences.EditorsPage" 350 name="Editors"> 351 </page> 352 </extension> 353 <extension point="org.eclipse.core.runtime.preferences"> 354 <initializer class="com.android.ide.eclipse.adt.internal.preferences.AdtPrefs" /> 355 </extension> 356 <extension 357 id="com.android.ide.eclipse.adt.adtProblem" 358 name="Android ADT Problem" 359 point="org.eclipse.core.resources.markers"> 360 <super type="org.eclipse.core.resources.problemmarker" /> 361 <super type="org.eclipse.core.resources.textmarker" /> 362 <persistent value="true" /> 363 </extension> 364 <extension 365 id="com.android.ide.eclipse.adt.targetProblem" 366 name="Android Target Problem" 367 point="org.eclipse.core.resources.markers"> 368 <super type="org.eclipse.core.resources.problemmarker" /> 369 <persistent value="false" /> 370 </extension> 371 <extension 372 id="com.android.ide.eclipse.adt.packagingProblem" 373 name="Android Packaging Problem" 374 point="org.eclipse.core.resources.markers"> 375 <super type="org.eclipse.core.resources.problemmarker" /> 376 <persistent value="true" /> 377 </extension> 378 <extension point="org.eclipse.ui.perspectiveExtensions"> 379 <perspectiveExtension targetID="org.eclipse.jdt.ui.JavaPerspective"> 380 <newWizardShortcut id="com.android.ide.eclipse.adt.project.NewProjectWizard" /> 381 <newWizardShortcut id="com.android.ide.eclipse.editors.wizards.NewXmlFileWizard"> 382 </newWizardShortcut> 383 </perspectiveExtension> 384 <perspectiveExtension targetID="org.eclipse.debug.ui.DebugPerspective"> 385 <viewShortcut id="com.android.ide.eclipse.ddms.views.LogCatView" /> 386 <viewShortcut id="com.android.ide.eclipse.ddms.views.DeviceView" /> 387 </perspectiveExtension> 388 </extension> 389 <extension point="org.eclipse.ui.ide.projectNatureImages"> 390 <image 391 icon="icons/android_project.png" 392 id="com.android.ide.eclipse.adt.AndroidNature.image" 393 natureId="com.android.ide.eclipse.adt.AndroidNature"> 394 </image> 395 </extension> 396 <extension point="org.eclipse.ui.ide.projectNatureImages"> 397 <image 398 icon="icons/android_project.png" 399 id="com.android.ide.eclipse.adt.AndroidNature.image" 400 natureId="com.android.ide.eclipse.adt.AndroidExportNature"> 401 </image> 402 </extension> 403 <extension point="org.eclipse.jdt.core.classpathContainerInitializer"> 404 <classpathContainerInitializer 405 class="com.android.ide.eclipse.adt.internal.project.AndroidClasspathContainerInitializer" 406 id="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"> 407 </classpathContainerInitializer> 408 <classpathContainerInitializer 409 class="com.android.ide.eclipse.adt.internal.project.AndroidClasspathContainerInitializer" 410 id="com.android.ide.eclipse.adt.LIBRARIES"> 411 </classpathContainerInitializer> 412 </extension> 413 <extension point="org.eclipse.jdt.ui.classpathContainerPage"> 414 <classpathContainerPage 415 name="Android Classpath Container" 416 class="com.android.ide.eclipse.adt.internal.project.AndroidClasspathContainerPage" 417 id="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"> 418 </classpathContainerPage> 419 </extension> 420 <extension point="org.eclipse.ui.exportWizards"> 421 <category 422 id="com.android.ide.eclipse.wizards.category" 423 name="Android"> 424 </category> 425 <wizard 426 category="com.android.ide.eclipse.wizards.category" 427 class="com.android.ide.eclipse.adt.internal.wizards.export.ExportWizard" 428 icon="icons/android.png" 429 id="com.android.ide.eclipse.adt.project.ExportWizard" 430 name="Export Android Application"> 431 </wizard> 432 </extension> 433 <extension point="org.eclipse.ui.commands"> 434 <command 435 name="Debug Android Application" 436 description="Debug Android Application" 437 categoryId="org.eclipse.debug.ui.category.run" 438 id="com.android.ide.eclipse.adt.launch.LaunchShortcut.debug"> 439 </command> 440 <command 441 name="Run Android Application" 442 description="Run Android Application" 443 categoryId="org.eclipse.debug.ui.category.run" 444 id="com.android.ide.eclipse.adt.launch.LaunchShortcut.run"> 445 </command> 446 </extension> 447 <extension point="org.eclipse.ui.decorators"> 448 <decorator 449 adaptable="true" 450 class="com.android.ide.eclipse.adt.internal.project.FolderDecorator" 451 id="com.android.ide.eclipse.adt.project.FolderDecorator" 452 label="Android Decorator" 453 lightweight="true" 454 location="TOP_RIGHT" 455 objectClass="org.eclipse.core.resources.IFolder" 456 state="true"> 457 </decorator> 458 </extension> 459 <extension point="org.eclipse.ui.editors"> 460 <editor 461 class="com.android.ide.eclipse.adt.internal.editors.manifest.ManifestEditor" 462 default="true" 463 filenames="AndroidManifest.xml" 464 icon="icons/android_file.png" 465 id="com.android.ide.eclipse.editors.manifest.ManifestEditor" 466 name="Android Manifest Editor"> 467 </editor> 468 <editor 469 class="com.android.ide.eclipse.adt.internal.editors.export.ExportEditor" 470 default="true" 471 filenames="export.properties" 472 icon="icons/android_file.png" 473 id="com.android.ide.eclipse.editors.export.ExportEditor" 474 name="Android Export Editor"> 475 </editor> 476 <editor 477 class="com.android.ide.eclipse.adt.internal.editors.resources.ResourcesEditor" 478 default="false" 479 extensions="xml" 480 icon="icons/android_file.png" 481 id="com.android.ide.eclipse.editors.resources.ResourcesEditor" 482 name="Android Resource Editor"> 483 </editor> 484 <editor 485 class="com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor" 486 contributorClass="com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditorActionContributor" 487 default="false" 488 extensions="xml" 489 icon="icons/android_file.png" 490 id="com.android.ide.eclipse.editors.layout.LayoutEditor" 491 matchingStrategy="com.android.ide.eclipse.adt.internal.editors.layout.MatchingStrategy" 492 name="Android Layout Editor"> 493 </editor> 494 <editor 495 class="com.android.ide.eclipse.adt.internal.editors.menu.MenuEditor" 496 default="false" 497 extensions="xml" 498 icon="icons/android_file.png" 499 id="com.android.ide.eclipse.editors.menu.MenuEditor" 500 name="Android Menu Editor"> 501 </editor> 502 <editor 503 class="com.android.ide.eclipse.adt.internal.editors.xml.XmlEditor" 504 default="false" 505 extensions="xml" 506 icon="icons/android_file.png" 507 id="com.android.ide.eclipse.editors.xml.XmlEditor" 508 name="Android Xml Resources Editor"> 509 </editor> 510 <editor 511 class="com.android.ide.eclipse.adt.internal.editors.animator.AnimationEditor" 512 default="false" 513 extensions="xml" 514 icon="icons/android_file.png" 515 id="com.android.ide.eclipse.editors.animator.AnimationEditor" 516 name="Android Animation Editor"> 517 </editor> 518 <editor 519 class="com.android.ide.eclipse.adt.internal.editors.drawable.DrawableEditor" 520 default="false" 521 extensions="xml" 522 icon="icons/android_file.png" 523 id="com.android.ide.eclipse.editors.drawable.DrawableEditor" 524 name="Android Drawable Editor"> 525 </editor> 526 <editor 527 class="com.android.ide.eclipse.adt.internal.editors.color.ColorEditor" 528 default="false" 529 extensions="xml" 530 icon="icons/android_file.png" 531 id="com.android.ide.eclipse.editors.color.ColorEditor" 532 name="Android Color Editor"> 533 </editor> 534 <editor 535 class="com.android.ide.eclipse.adt.internal.editors.binaryxml.BinaryXMLMultiPageEditorPart" 536 contributorClass="org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorActionBarContributor" 537 icon="$nl$/icons/android_file.png" 538 id="com.android.ide.eclipse.adt.binedit.BinaryXMLMultiPageEditorPart" 539 name="Android Binary XML editor" 540 symbolicFontName="org.eclipse.wst.sse.ui.textfont"> 541 <contentTypeBinding contentTypeId="com.android.ide.eclipse.adt.binaryXml"> 542 </contentTypeBinding> 543 </editor> 544 </extension> 545 <extension point="org.eclipse.ui.views"> 546 <view 547 allowMultiple="false" 548 category="com.android.ide.eclipse.ddms.views.category" 549 class="com.android.ide.eclipse.adt.internal.ui.ResourceExplorerView" 550 icon="icons/draw9patch-16.png" 551 id="com.android.ide.eclipse.editors.resources.explorer.ResourceExplorerView" 552 name="Resource Explorer"> 553 </view> 554 </extension> 555 <extension point="org.eclipse.wst.sse.ui.editorConfiguration"> 556 <sourceViewerConfiguration 557 class="com.android.ide.eclipse.adt.internal.editors.manifest.ManifestSourceViewerConfig" 558 target="com.android.ide.eclipse.editors.manifest.ManifestEditor"> 559 </sourceViewerConfiguration> 560 <sourceViewerConfiguration 561 class="com.android.ide.eclipse.adt.internal.editors.resources.ResourcesSourceViewerConfig" 562 target="com.android.ide.eclipse.editors.resources.ResourcesEditor"> 563 </sourceViewerConfiguration> 564 <sourceViewerConfiguration 565 class="com.android.ide.eclipse.adt.internal.editors.layout.LayoutSourceViewerConfig" 566 target="com.android.ide.eclipse.editors.layout.LayoutEditor"> 567 </sourceViewerConfiguration> 568 <sourceViewerConfiguration 569 class="com.android.ide.eclipse.adt.internal.editors.menu.MenuSourceViewerConfig" 570 target="com.android.ide.eclipse.editors.menu.MenuEditor"> 571 </sourceViewerConfiguration> 572 <sourceViewerConfiguration 573 class="com.android.ide.eclipse.adt.internal.editors.xml.XmlSourceViewerConfig" 574 target="com.android.ide.eclipse.editors.xml.XmlEditor"> 575 </sourceViewerConfiguration> 576 <sourceViewerConfiguration 577 class="com.android.ide.eclipse.adt.internal.editors.animator.AnimationSourceViewerConfig" 578 target="com.android.ide.eclipse.editors.animator.AnimationEditor"> 579 </sourceViewerConfiguration> 580 <sourceViewerConfiguration 581 class="com.android.ide.eclipse.adt.internal.editors.drawable.DrawableSourceViewerConfig" 582 target="com.android.ide.eclipse.editors.drawable.DrawableEditor"> 583 </sourceViewerConfiguration> 584 <sourceViewerConfiguration 585 class="com.android.ide.eclipse.adt.internal.editors.color.ColorSourceViewerConfig" 586 target="com.android.ide.eclipse.editors.color.ColorEditor"> 587 </sourceViewerConfiguration> 588 <provisionalConfiguration 589 type="org.eclipse.jface.text.quickassist.IQuickAssistProcessor" 590 class="com.android.ide.eclipse.adt.internal.build.AaptQuickFix" 591 target="org.eclipse.wst.xml.XML_DEFAULT" /> 592 <provisionalConfiguration 593 type="org.eclipse.jface.text.quickassist.IQuickAssistProcessor" 594 class="com.android.ide.eclipse.adt.internal.editors.layout.refactoring.RefactoringAssistant" 595 target="org.eclipse.wst.xml.XML_DEFAULT" /> 596 <provisionalConfiguration 597 type="characterpairmatcher" 598 class="com.android.ide.eclipse.adt.internal.editors.AndroidXmlCharacterMatcher" 599 target="org.eclipse.core.runtime.xml" /> 600 </extension> 601 <extension point="org.eclipse.jdt.ui.quickAssistProcessors"> 602 <quickAssistProcessor 603 id="AndroidJavaAssistant" 604 name="Android Java Quick Assistant" 605 requiredSourceLevel="1.5" 606 class="com.android.ide.eclipse.adt.internal.editors.layout.refactoring.JavaQuickAssistant"> 607 </quickAssistProcessor> 608 </extension> 609 <extension 610 point="org.eclipse.jdt.ui.quickFixProcessors"> 611 <quickFixProcessor 612 name="Android Convert Switch Quickfix Processor" 613 class="com.android.ide.eclipse.adt.internal.build.ConvertSwitchQuickFixProcessor" 614 id="com.android.ide.eclipse.adt.internal.build.ConvertSwitchQuickFixProcessor"> 615 <handledMarkerTypes> 616 <markerType id="org.eclipse.jdt.core.problem"/> 617 </handledMarkerTypes> 618 </quickFixProcessor> 619 </extension> 620 <extension point="org.eclipse.ui.propertyPages"> 621 <page 622 adaptable="true" 623 class="com.android.ide.eclipse.adt.internal.properties.AndroidPropertyPage" 624 id="com.android.ide.eclipse.adt.project.properties.AndroidPropertyPage" 625 name="Android" 626 nameFilter="*" 627 objectClass="org.eclipse.core.resources.IProject"> 628 <enabledWhen> 629 <test 630 property="org.eclipse.jdt.launching.hasProjectNature" 631 args="com.android.ide.eclipse.adt.AndroidNature" /> 632 </enabledWhen> 633 </page> 634 </extension> 635 <extension point="org.eclipse.ui.actionSets"> 636 <actionSet 637 description="Android Wizards" 638 id="adt.actionSet.wizards" 639 label="Android Wizards" 640 visible="true"> 641 <action 642 class="com.android.ide.eclipse.adt.internal.wizards.actions.NewXmlFileAction" 643 icon="icons/new_xml.png" 644 id="com.android.ide.eclipse.adt.wizards.actions.NewXmlFileAction" 645 label="New Android XML File" 646 style="push" 647 toolbarPath="android_project" 648 tooltip="Opens a wizard to help create a new Android XML file"> 649 </action> 650 <action 651 class="com.android.ide.eclipse.adt.internal.wizards.actions.NewTestProjectAction" 652 icon="icons/androidjunit.png" 653 id="com.android.ide.eclipse.adt.wizards.actions.NewTestProjectAction" 654 label="New Android Test Project" 655 style="push" 656 toolbarPath="android_project" 657 tooltip="Opens a wizard to help create a new Android Test Project"> 658 </action> 659 <action 660 class="com.android.ide.eclipse.adt.internal.wizards.actions.NewProjectAction" 661 icon="icons/new_adt_project.png" 662 id="com.android.ide.eclipse.adt.wizards.actions.NewProjectAction" 663 label="New Android Project" 664 style="push" 665 toolbarPath="android_project" 666 tooltip="Opens a wizard to help create a new Android project"> 667 </action> 668 </actionSet> 669 <actionSet 670 description="Refactorings for Android" 671 id="adt.actionSet.refactorings" 672 label="Android Refactorings" 673 visible="true"> 674 675 <!-- This duplicates the Refactoring Menu definition from the jdt.ui plugin.xml, 676 which allows us to insert our contribution even if the JDT is not loaded. 677 We overload the definition with our new group.--> 678 <menu 679 label="Refactor" 680 path="edit" 681 id="org.eclipse.jdt.ui.refactoring.menu"> 682 <separator name="undoRedoGroup" /> 683 <separator name="reorgGroup" /> 684 <separator name="androidGroup" /> 685 <separator name="codingGroup" /> 686 <separator name="reorgGroup2" /> 687 <separator name="typeGroup" /> 688 <separator name="typeGroup2" /> 689 <separator name="codingGroup2" /> 690 <separator name="typeGroup3" /> 691 <separator name="scriptGroup" /> 692 </menu> 693 <menu 694 label="Android" 695 path="org.eclipse.jdt.ui.refactoring.menu/androidGroup" 696 id="com.android.ide.eclipse.adt.refactoring.menu"> 697 <separator name="android" /> 698 </menu> 699 <action 700 class="com.android.ide.eclipse.adt.internal.refactorings.extractstring.ExtractStringAction" 701 definitionId="com.android.ide.eclipse.adt.refactoring.extract.string" 702 id="com.android.ide.eclipse.adt.actions.ExtractString" 703 label="Extract Android String..." 704 menubarPath="org.eclipse.jdt.ui.refactoring.menu/com.android.ide.eclipse.adt.refactoring.menu/android" 705 style="push" 706 tooltip="Extracts a string into Android resource string"> 707 </action> 708 <action 709 class="com.android.ide.eclipse.adt.internal.editors.layout.refactoring.ExtractIncludeAction" 710 definitionId="com.android.ide.eclipse.adt.refactoring.extract.include" 711 id="com.android.ide.eclipse.adt.actions.ExtractInclude" 712 label="Extract as Include..." 713 menubarPath="org.eclipse.jdt.ui.refactoring.menu/com.android.ide.eclipse.adt.refactoring.menu/android" 714 style="push" 715 tooltip="Extracts Views as Included Layout"> 716 </action> 717 <action 718 class="com.android.ide.eclipse.adt.internal.editors.layout.refactoring.ExtractStyleAction" 719 definitionId="com.android.ide.eclipse.adt.refactoring.extract.style" 720 id="com.android.ide.eclipse.adt.actions.ExtractStyle" 721 label="Extract Style..." 722 menubarPath="org.eclipse.jdt.ui.refactoring.menu/com.android.ide.eclipse.adt.refactoring.menu/android" 723 style="push" 724 tooltip="Extracts Styles"> 725 </action> 726 <action 727 class="com.android.ide.eclipse.adt.internal.editors.layout.refactoring.WrapInAction" 728 definitionId="com.android.ide.eclipse.adt.refactoring.wrapin" 729 id="com.android.ide.eclipse.adt.actions.WrapIn" 730 label="Wrap In Container..." 731 menubarPath="org.eclipse.jdt.ui.refactoring.menu/com.android.ide.eclipse.adt.refactoring.menu/android" 732 style="push" 733 tooltip="Wraps Views in a new container"> 734 </action> 735 <action 736 class="com.android.ide.eclipse.adt.internal.editors.layout.refactoring.UnwrapAction" 737 definitionId="com.android.ide.eclipse.adt.refactoring.unwrap" 738 id="com.android.ide.eclipse.adt.actions.Unwrap" 739 label="Remove Container..." 740 menubarPath="org.eclipse.jdt.ui.refactoring.menu/com.android.ide.eclipse.adt.refactoring.menu/android" 741 style="push" 742 tooltip="Unwraps Views by Removing their container"> 743 </action> 744 <action 745 class="com.android.ide.eclipse.adt.internal.editors.layout.refactoring.ChangeLayoutAction" 746 definitionId="com.android.ide.eclipse.adt.refactoring.convert" 747 id="com.android.ide.eclipse.adt.actions.ChangeLayout" 748 label="Change Layout..." 749 menubarPath="org.eclipse.jdt.ui.refactoring.menu/com.android.ide.eclipse.adt.refactoring.menu/android" 750 style="push" 751 tooltip="Changes layouts from one type to another"> 752 </action> 753 <action 754 class="com.android.ide.eclipse.adt.internal.editors.layout.refactoring.ChangeViewAction" 755 definitionId="com.android.ide.eclipse.adt.refactoring.changeview" 756 id="com.android.ide.eclipse.adt.actions.ChangeView" 757 label="Change Widget Type..." 758 menubarPath="org.eclipse.jdt.ui.refactoring.menu/com.android.ide.eclipse.adt.refactoring.menu/android" 759 style="push" 760 tooltip="Changes the type of the selected widgets"> 761 </action> 762 <menu 763 id="org.eclipse.jdt.ui.refactoring.menu" 764 label="Refactor"> 765 </menu> 766 </actionSet> 767 <actionSet 768 description="Android AVD and SDK Manager" 769 id="adt.actionSet.avdManager" 770 label="Android SDK and AVD Manager" 771 visible="true"> 772 <action 773 class="com.android.ide.eclipse.adt.internal.actions.AvdManagerAction" 774 icon="icons/avd_manager.png" 775 id="com.android.ide.eclipse.adt.ui.avdmanager" 776 label="AVD Manager" 777 menubarPath="Window/additions" 778 style="push" 779 toolbarPath="android_project" 780 tooltip="Opens the Android Virtual Device Manager"> 781 </action> 782 <action 783 class="com.android.ide.eclipse.adt.internal.actions.SdkManagerAction" 784 icon="icons/sdk_manager.png" 785 id="com.android.ide.eclipse.adt.ui.sdkmanager" 786 label="Android SDK Manager" 787 menubarPath="Window/additions" 788 style="push" 789 toolbarPath="android_project" 790 tooltip="Opens the Android SDK Manager"> 791 </action> 792 </actionSet> 793 </extension> 794 <extension point="org.eclipse.debug.core.launchDelegates"> 795 <launchDelegate 796 delegate="com.android.ide.eclipse.adt.internal.launch.JUnitLaunchConfigDelegate" 797 delegateDescription="Removes the Android JAR from the Bootstrap Classpath" 798 id="com.android.ide.eclipse.adt.launch.JUnitLaunchConfigDelegate.launchAndroidJunit" 799 modes="run,debug" 800 name="Android JUnit Test" 801 type="org.eclipse.jdt.junit.launchconfig"> 802 </launchDelegate> 803 </extension> 804 <extension point="org.eclipse.debug.core.launchConfigurationTypes"> 805 <launchConfigurationType 806 delegate="com.android.ide.eclipse.adt.internal.launch.junit.AndroidJUnitLaunchConfigDelegate" 807 id="com.android.ide.eclipse.adt.junit.launchConfigurationType" 808 modes="run,debug" 809 name="Android JUnit Test" 810 public="true" 811 sourceLocatorId="com.android.ide.eclipse.adt.internal.sourcelookup.AdtSourceLookupDirector" 812 sourcePathComputerId="org.eclipse.jdt.launching.sourceLookup.javaSourcePathComputer"> 813 </launchConfigurationType> 814 </extension> 815 <extension point="org.eclipse.debug.core.sourceLocators"> 816 <sourceLocator 817 id="com.android.ide.eclipse.adt.internal.sourcelookup.AdtSourceLookupDirector" 818 class="com.android.ide.eclipse.adt.internal.sourcelookup.AdtSourceLookupDirector" 819 name="%sourceLocator.name"> 820 </sourceLocator> 821 </extension> 822 <extension point="org.eclipse.debug.ui.launchConfigurationTypeImages"> 823 <launchConfigurationTypeImage 824 configTypeID="com.android.ide.eclipse.adt.junit.launchConfigurationType" 825 icon="icons/androidjunit.png" 826 id="com.android.ide.eclipse.adt.junit.launchConfigurationTypeImage"> 827 </launchConfigurationTypeImage> 828 </extension> 829 <extension point="org.eclipse.debug.ui.launchConfigurationTabGroups"> 830 <launchConfigurationTabGroup 831 class="com.android.ide.eclipse.adt.internal.launch.junit.AndroidJUnitTabGroup" 832 description="Android JUnit Test" 833 id="com.android.ide.eclipse.adt.junit.AndroidJUnitLaunchConfigTabGroup" 834 type="com.android.ide.eclipse.adt.junit.launchConfigurationType" /> 835 </extension> 836 <extension point="org.eclipse.debug.ui.launchShortcuts"> 837 <shortcut 838 class="com.android.ide.eclipse.adt.internal.launch.junit.AndroidJUnitLaunchShortcut" 839 icon="icons/androidjunit.png" 840 id="com.android.ide.eclipse.adt.junit.launchShortcut" 841 label="Android JUnit Test" 842 modes="run,debug"> 843 <contextualLaunch> 844 <enablement> 845 <with variable="selection"> 846 <count value="1" /> 847 <iterate> 848 <adapt type="org.eclipse.jdt.core.IJavaElement"> 849 <test 850 property="org.eclipse.jdt.core.isInJavaProjectWithNature" 851 value="com.android.ide.eclipse.adt.AndroidNature" /> 852 <test 853 property="org.eclipse.jdt.core.hasTypeOnClasspath" 854 value="junit.framework.Test" /> 855 <test property="com.android.ide.eclipse.adt.canLaunchAsJUnit" /> 856 </adapt> 857 </iterate> 858 </with> 859 </enablement> 860 </contextualLaunch> 861 <configurationType id="com.android.ide.eclipse.adt.junit.launchConfigurationType"> 862 </configurationType> 863 </shortcut> 864 </extension> 865 <extension point="org.eclipse.ui.commands"> 866 <category 867 description="Refactorings for Android Projects" 868 id="com.android.ide.eclipse.adt.refactoring.category" 869 name="Android Refactorings"> 870 </category> 871 <command 872 categoryId="com.android.ide.eclipse.adt.refactoring.category" 873 description="Extract Strings into Android String Resources" 874 id="com.android.ide.eclipse.adt.refactoring.extract.string" 875 name="Extract Android String"> 876 </command> 877 <command 878 categoryId="com.android.ide.eclipse.adt.refactoring.category" 879 description="Extract Views as Included Layout" 880 id="com.android.ide.eclipse.adt.refactoring.extract.include" 881 name="Extract as Include"> 882 </command> 883 <command 884 categoryId="com.android.ide.eclipse.adt.refactoring.category" 885 description="Extract Styles" 886 id="com.android.ide.eclipse.adt.refactoring.extract.style" 887 name="Extract Styles"> 888 </command> 889 <command 890 categoryId="com.android.ide.eclipse.adt.refactoring.category" 891 description="Wraps Views in a New Container" 892 id="com.android.ide.eclipse.adt.refactoring.wrapin" 893 name="Wrap in Container"> 894 </command> 895 <command 896 categoryId="com.android.ide.eclipse.adt.refactoring.category" 897 description="Unwraps Views From Their Container" 898 id="com.android.ide.eclipse.adt.refactoring.unwrap" 899 name="Remove Container"> 900 </command> 901 <command 902 categoryId="com.android.ide.eclipse.adt.refactoring.category" 903 description="Converts Layouts from One Type to Another" 904 id="com.android.ide.eclipse.adt.refactoring.convert" 905 name="Change Layout"> 906 </command> 907 <command 908 categoryId="com.android.ide.eclipse.adt.refactoring.category" 909 description="Changes the widget type for the selection" 910 id="com.android.ide.eclipse.adt.refactoring.changeview" 911 name="Change Widget Type"> 912 </command> 913 </extension> 914 <extension point="org.eclipse.ltk.core.refactoring.refactoringContributions"> 915 <contribution 916 class="com.android.ide.eclipse.adt.internal.refactorings.extractstring.ExtractStringContribution" 917 id="com.android.ide.eclipse.adt.refactoring.extract.string"> 918 </contribution> 919 <contribution 920 class="com.android.ide.eclipse.adt.internal.editors.layout.refactoring.ExtractIncludeContribution" 921 id="com.android.ide.eclipse.adt.refactoring.extract.include"> 922 </contribution> 923 <contribution 924 class="com.android.ide.eclipse.adt.internal.editors.layout.refactoring.ExtractStyleContribution" 925 id="com.android.ide.eclipse.adt.refactoring.extract.style"> 926 </contribution> 927 <contribution 928 class="com.android.ide.eclipse.adt.internal.editors.layout.refactoring.WrapInContribution" 929 id="com.android.ide.eclipse.adt.refactoring.wrapin"> 930 </contribution> 931 <contribution 932 class="com.android.ide.eclipse.adt.internal.editors.layout.refactoring.UnwrapContribution" 933 id="com.android.ide.eclipse.adt.refactoring.unwrap"> 934 </contribution> 935 <contribution 936 class="com.android.ide.eclipse.adt.internal.editors.layout.refactoring.ChangeLayoutContribution" 937 id="com.android.ide.eclipse.adt.refactoring.convert"> 938 </contribution> 939 <contribution 940 class="com.android.ide.eclipse.adt.internal.editors.layout.refactoring.ChangeViewContribution" 941 id="com.android.ide.eclipse.adt.refactoring.changeview"> 942 </contribution> 943 </extension> 944 <extension point="org.eclipse.core.expressions.propertyTesters"> 945 <propertyTester 946 properties="isTest,canLaunchAsJUnit" 947 namespace="com.android.ide.eclipse.adt" 948 type="org.eclipse.core.runtime.IAdaptable" 949 class="com.android.ide.eclipse.adt.internal.launch.junit.AndroidJUnitPropertyTester" 950 id="com.android.ide.eclipse.adt.AndroidJUnitPropertyTester"> 951 </propertyTester> 952 </extension> 953 <extension point="com.android.ide.eclipse.ddms.toolsLocator"> 954 <locator class="com.android.ide.eclipse.adt.ToolsLocator"> 955 </locator> 956 </extension> 957 <extension point="com.android.ide.eclipse.ddms.debuggerConnector"> 958 <connector class="com.android.ide.eclipse.adt.DebuggerConnector"> 959 </connector> 960 </extension> 961 <extension point="com.android.ide.eclipse.ddms.sourceRevealer"> 962 <revealer class="com.android.ide.eclipse.adt.SourceRevealer"> 963 </revealer> 964 </extension> 965 <extension point="org.eclipse.ltk.core.refactoring.renameParticipants"> 966 <renameParticipant 967 class="com.android.ide.eclipse.adt.internal.refactoring.core.AndroidTypeRenameParticipant" 968 id="com.android.ide.eclipse.adt.internal.refactoring.core.AndroidTypeRenameParticipant" 969 name="Android Rename Type Participant"> 970 <enablement> 971 <with variable="element"> 972 <instanceof value="org.eclipse.jdt.core.IType"> 973 </instanceof> 974 </with> 975 <with variable="affectedNatures"> 976 <iterate operator="or"> 977 <equals value="com.android.ide.eclipse.adt.AndroidNature" /> 978 </iterate> 979 </with> 980 </enablement> 981 </renameParticipant> 982 <renameParticipant 983 class="com.android.ide.eclipse.adt.internal.refactoring.core.AndroidPackageRenameParticipant" 984 id="com.android.ide.eclipse.adt.internal.refactoring.core.AndroidPackageRenameParticipant" 985 name="Android Rename Package Participant"> 986 <enablement> 987 <with variable="element"> 988 <instanceof value="org.eclipse.jdt.core.IPackageFragment"> 989 </instanceof> 990 </with> 991 <with variable="affectedNatures"> 992 <iterate operator="or"> 993 <equals value="com.android.ide.eclipse.adt.AndroidNature" /> 994 </iterate> 995 </with> 996 </enablement> 997 </renameParticipant> 998 </extension> 999 <extension point="org.eclipse.ltk.core.refactoring.moveParticipants"> 1000 <moveParticipant 1001 class="com.android.ide.eclipse.adt.internal.refactoring.core.AndroidTypeMoveParticipant" 1002 id="com.android.ide.eclipse.adt.internal.refactoring.core.androidTypeMoveParticipant" 1003 name="Android Move Type Participant"> 1004 <enablement> 1005 <with variable="element"> 1006 <instanceof value="org.eclipse.jdt.core.IType"> 1007 </instanceof> 1008 </with> 1009 <with variable="affectedNatures"> 1010 <iterate operator="or"> 1011 <equals value="com.android.ide.eclipse.adt.AndroidNature" /> 1012 </iterate> 1013 </with> 1014 </enablement> 1015 </moveParticipant> 1016 </extension> 1017 <extension point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets"> 1018 <target 1019 id="com.android.ide.eclipse.xmlCode" 1020 name="XML Editor"> 1021 <context type="org.eclipse.ui.texteditor.ITextEditor" /> 1022 </target> 1023 </extension> 1024 <extension point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectors"> 1025 <hyperlinkDetector 1026 class="com.android.ide.eclipse.adt.internal.editors.xml.Hyperlinks$XmlResolver" 1027 id="com.android.ide.eclipse.xmlCodeResolver" 1028 name="Android XML Hyperlink Detector" 1029 targetId="com.android.ide.eclipse.xmlCode"> 1030 </hyperlinkDetector> 1031 <hyperlinkDetector 1032 class="com.android.ide.eclipse.adt.internal.editors.xml.Hyperlinks$JavaResolver" 1033 id="com.android.ide.eclipse.javaCodeResolver" 1034 name="Android Java Hyperlink Detector" 1035 targetId="org.eclipse.jdt.ui.javaCode"> 1036 </hyperlinkDetector> 1037 <!-- 1038 Register this hyperlink provider TWICE, once without any modifier keys, and 1039 once with Modifier1+Modifier2. The one without (which will pick up the default 1040 of M1) will typically duel with the builtin Java hyperlink resolver, so the 1041 user gets a popup and must choose our resolver with the arrow key or mouse 1042 action. The second registration adds a quick bypass for that. 1043 --> 1044 <hyperlinkDetector 1045 class="com.android.ide.eclipse.adt.internal.editors.xml.Hyperlinks$JavaResolver" 1046 id="com.android.ide.eclipse.javaCodeResolver2" 1047 modifierKeys="M1+M2+M3" 1048 name="Android Java Hyperlink Detector (Extra Modifier Key)" 1049 targetId="org.eclipse.jdt.ui.javaCode"> 1050 </hyperlinkDetector> 1051 </extension> 1052 <extension point="org.eclipse.ui.bindings"> 1053 <key 1054 sequence="M3+M2+A S" 1055 contextId="org.eclipse.ui.contexts.window" 1056 commandId="com.android.ide.eclipse.adt.refactoring.extract.string" 1057 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" /> 1058 <key 1059 sequence="M3+M2+A D" 1060 contextId="org.eclipse.ui.contexts.window" 1061 commandId="com.android.ide.eclipse.adt.launch.LaunchShortcut.debug" 1062 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" /> 1063 <key 1064 sequence="M3+M2+A R" 1065 contextId="org.eclipse.ui.contexts.window" 1066 commandId="com.android.ide.eclipse.adt.launch.LaunchShortcut.run" 1067 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" /> 1068 <!-- Rebind the select-enclosing actions from WTP's M2+M3 to M2+M4 to be 1069 consistent with Java files. The contextId is org.eclipse.core.runtime.xml 1070 instead of org.eclipse.wst.sse.ui.structuredTextEditorScope to avoid 1071 keyboard conflict warnings (and an action selection dialog.) 1072 --> 1073 <key 1074 platform="carbon" 1075 sequence="CTRL+SHIFT+ARROW_UP" 1076 contextId="org.eclipse.core.runtime.xml" 1077 commandId="org.eclipse.wst.sse.ui.structure.select.enclosing" 1078 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" /> 1079 <key 1080 platform="carbon" 1081 sequence="CTRL+SHIFT+ARROW_DOWN" 1082 contextId="org.eclipse.core.runtime.xml" 1083 commandId="org.eclipse.wst.sse.ui.structure.select.last" 1084 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" /> 1085 </extension> 1086 <extension point="org.eclipse.core.contenttype.contentTypes"> 1087 <content-type 1088 describer="com.android.ide.eclipse.adt.internal.editors.binaryxml.BinaryXMLDescriber" 1089 file-extensions="xml" 1090 id="com.android.ide.eclipse.adt.binaryXml" 1091 name="Android Binary XML" 1092 priority="high"> 1093 </content-type> 1094 </extension> 1095 <extension point="org.eclipse.ui.startup"> 1096 <startup class="com.android.ide.eclipse.adt.internal.welcome.AdtStartup"/> 1097 </extension> 1098 1099 <!-- workaround for bug 15003. --> 1100 <extension 1101 point="org.eclipse.core.filebuffers.documentCreation" 1102 id="binaryXmlfactories" 1103 name="Binary XML Document Factory Extension"> 1104 <factory 1105 contentTypeId="com.android.ide.eclipse.adt.binaryXml" 1106 class="org.eclipse.wst.sse.core.internal.filebuffers.BasicStructuredDocumentFactory" /> 1107 </extension> 1108 </plugin> 1109