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.androidProblem" 38 name="Android XML Content 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="ResourceManagerBuilder" 46 name="Android Resource Manager" 47 point="org.eclipse.core.resources.builders"> 48 <builder 49 hasNature="true"> 50 <run class="com.android.ide.eclipse.adt.internal.build.ResourceManagerBuilder"/> 51 </builder> 52 </extension> 53 <extension 54 id="PreCompilerBuilder" 55 name="Android Pre Compiler" 56 point="org.eclipse.core.resources.builders"> 57 <builder 58 hasNature="true"> 59 <run class="com.android.ide.eclipse.adt.internal.build.PreCompilerBuilder"/> 60 </builder> 61 </extension> 62 <extension 63 id="ApkBuilder" 64 name="Android Package Builder" 65 point="org.eclipse.core.resources.builders"> 66 <builder 67 hasNature="true"> 68 <run class="com.android.ide.eclipse.adt.internal.build.ApkBuilder"/> 69 </builder> 70 </extension> 71 <extension 72 id="AndroidNature" 73 name="AndroidNature" 74 point="org.eclipse.core.resources.natures"> 75 <runtime> 76 <run class="com.android.ide.eclipse.adt.internal.project.AndroidNature"/> 77 </runtime> 78 <builder id="com.android.ide.eclipse.adt.ResourceManagerBuilder"/> 79 <builder id="com.android.ide.eclipse.adt.PreCompilerBuilder"/> 80 <builder id="com.android.ide.eclipse.adt.ApkBuilder"/> 81 </extension> 82 <extension 83 point="org.eclipse.ui.newWizards"> 84 <category 85 id="com.android.ide.eclipse.wizards.category" 86 name="Android"/> 87 <wizard 88 canFinishEarly="false" 89 category="com.android.ide.eclipse.wizards.category" 90 class="com.android.ide.eclipse.adt.internal.wizards.newproject.NewProjectWizard" 91 finalPerspective="org.eclipse.jdt.ui.JavaPerspective" 92 hasPages="true" 93 icon="icons/new_adt_project.png" 94 id="com.android.ide.eclipse.adt.project.NewProjectWizard" 95 name="Android Project" 96 preferredPerspectives="org.eclipse.jdt.ui.JavaPerspective" 97 project="true"/> 98 <wizard 99 canFinishEarly="false" 100 category="com.android.ide.eclipse.wizards.category" 101 class="com.android.ide.eclipse.adt.internal.wizards.newproject.NewTestProjectWizard" 102 finalPerspective="org.eclipse.jdt.ui.JavaPerspective" 103 hasPages="true" 104 icon="icons/androidjunit.png" 105 id="com.android.ide.eclipse.adt.project.NewTestProjectWizard" 106 name="Android Test Project" 107 preferredPerspectives="org.eclipse.jdt.ui.JavaPerspective" 108 project="true"> 109 </wizard> 110 <wizard 111 canFinishEarly="false" 112 category="com.android.ide.eclipse.wizards.category" 113 class="com.android.ide.eclipse.adt.internal.wizards.newxmlfile.NewXmlFileWizard" 114 finalPerspective="org.eclipse.jdt.ui.JavaPerspective" 115 hasPages="true" 116 icon="icons/new_xml.png" 117 id="com.android.ide.eclipse.editors.wizards.NewXmlFileWizard" 118 name="Android XML File" 119 preferredPerspectives="org.eclipse.jdt.ui.JavaPerspective" 120 project="false"> 121 </wizard> 122 </extension> 123 <extension 124 point="org.eclipse.debug.core.launchConfigurationTypes"> 125 <launchConfigurationType 126 delegate="com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate" 127 delegateDescription="The Android Application Launcher supports running and debugging remote Android applications on devices or emulators." 128 delegateName="Android Launcher" 129 id="com.android.ide.eclipse.adt.debug.LaunchConfigType" 130 modes="debug, run" 131 name="Android Application" 132 public="true" 133 sourceLocatorId="org.eclipse.jdt.launching.sourceLocator.JavaSourceLookupDirector" 134 sourcePathComputerId="org.eclipse.jdt.launching.sourceLookup.javaSourcePathComputer"> 135 </launchConfigurationType> 136 </extension> 137 <extension 138 point="org.eclipse.debug.ui.launchConfigurationTypeImages"> 139 <launchConfigurationTypeImage 140 configTypeID="com.android.ide.eclipse.adt.debug.LaunchConfigType" 141 icon="icons/android_app.png" 142 id="com.android.ide.eclipse.adt.debug.LaunchConfigTypeImage"/> 143 </extension> 144 <extension 145 point="org.eclipse.debug.ui.launchConfigurationTabGroups"> 146 <launchConfigurationTabGroup 147 class="com.android.ide.eclipse.adt.internal.launch.LaunchConfigTabGroup" 148 description="Android Application" 149 id="com.android.ide.eclipse.adt.debug.LaunchConfigTabGroup" 150 type="com.android.ide.eclipse.adt.debug.LaunchConfigType"/> 151 </extension> 152 <extension 153 point="org.eclipse.debug.ui.launchShortcuts"> 154 <shortcut 155 class="com.android.ide.eclipse.adt.internal.launch.LaunchShortcut" 156 icon="icons/android_app.png" 157 id="com.android.ide.eclipse.adt.debug.launching.LaunchShortcut" 158 label="Android Application" 159 modes="run, debug"> 160 <contextualLaunch> 161 <enablement> 162 <with variable="selection"> 163 <count value="1"/> 164 <iterate> 165 <and> 166 <test property="org.eclipse.jdt.launching.isContainer"/> 167 <test property="org.eclipse.jdt.launching.hasProjectNature" args="com.android.ide.eclipse.adt.AndroidNature"/> 168 </and> 169 </iterate> 170 </with> 171 </enablement> 172 </contextualLaunch> 173 <perspective id="org.eclipse.jdt.ui.JavaPerspective"/> 174 <perspective id="org.eclipse.debug.ui.DebugPerspective"/> 175 <configurationType 176 id="com.android.ide.eclipse.adt.debug.LaunchConfigType"> 177 </configurationType> 178 <description 179 description="Runs an Android Application" 180 mode="run"> 181 </description> 182 <description 183 description="Debugs an Android Application" 184 mode="debug"> 185 </description> 186 </shortcut> 187 </extension> 188 <extension 189 point="org.eclipse.ui.popupMenus"> 190 <objectContribution 191 id="com.android.ide.eclipse.adt.contribution1" 192 nameFilter="*" 193 objectClass="org.eclipse.core.resources.IProject" 194 adaptable="true"> 195 <menu 196 id="com.android.ide.eclipse.adt.AndroidTools" 197 label="Android Tools" 198 path="additions"> 199 <separator name="group1"/> 200 </menu> 201 <visibility> 202 <not> 203 <or> 204 <objectState 205 name="projectNature" 206 value="com.android.ide.eclipse.adt.AndroidNature"/> 207 <objectState 208 name="open" 209 value="false"/> 210 </or> 211 </not> 212 </visibility> 213 <action 214 class="com.android.ide.eclipse.adt.internal.actions.ConvertToAndroidAction" 215 enablesFor="1" 216 id="com.android.ide.eclipse.adt.ConvertToAndroidAction" 217 label="Convert To Android Project" 218 menubarPath="com.android.ide.eclipse.adt.AndroidTools/group1"/> 219 </objectContribution> 220 <objectContribution 221 id="com.android.ide.eclipse.adt.contribution2" 222 nameFilter="*" 223 objectClass="org.eclipse.core.resources.IProject" 224 adaptable="true"> 225 <menu 226 id="com.android.ide.eclipse.adt.AndroidTools" 227 label="Android Tools" 228 path="additions"> 229 <separator name="group1"/> 230 <separator name="group2"/> 231 </menu> 232 <filter 233 name="projectNature" 234 value="com.android.ide.eclipse.adt.AndroidNature"> 235 </filter> 236 <action 237 class="com.android.ide.eclipse.adt.internal.wizards.actions.NewXmlFileAction" 238 enablesFor="1" 239 icon="icons/new_xml.png" 240 id="com.android.ide.eclipse.adt.wizards.actions.NewXmlFileAction" 241 label="New Resource File..." 242 menubarPath="com.android.ide.eclipse.adt.AndroidTools/group1" 243 tooltip="Opens a wizard to help create a new Android XML Resource file"> 244 </action> 245 <action 246 class="com.android.ide.eclipse.adt.internal.wizards.actions.NewTestProjectAction" 247 enablesFor="1" 248 icon="icons/androidjunit.png" 249 id="com.android.ide.eclipse.adt.wizards.actions.NewTestProjectAction" 250 label="New Test Project..." 251 menubarPath="com.android.ide.eclipse.adt.AndroidTools/group1" 252 tooltip="Opens a wizard to help create a new Android Test Project"> 253 </action> 254 <action 255 class="com.android.ide.eclipse.adt.internal.wizards.actions.ExportAction" 256 enablesFor="1" 257 id="com.android.ide.eclipse.adt.project.ExportAction" 258 label="Export Unsigned Application Package..." 259 menubarPath="com.android.ide.eclipse.adt.AndroidTools/group2"/> 260 <action 261 class="com.android.ide.eclipse.adt.internal.wizards.actions.ExportWizardAction" 262 enablesFor="1" 263 id="com.android.ide.eclipse.adt.project.ExportWizardAction" 264 label="Export Signed Application Package..." 265 menubarPath="com.android.ide.eclipse.adt.AndroidTools/group2"/> 266 <action 267 class="com.android.ide.eclipse.adt.internal.actions.FixProjectAction" 268 enablesFor="1" 269 id="com.android.ide.eclipse.adt.project.FixProjectAction" 270 label="Fix Project Properties" 271 menubarPath="com.android.ide.eclipse.adt.AndroidTools/group3"/> 272 </objectContribution> 273 274 </extension> 275 <extension 276 point="org.eclipse.ui.preferencePages"> 277 <page 278 class="com.android.ide.eclipse.adt.internal.preferences.AndroidPreferencePage" 279 id="com.android.ide.eclipse.preferences.main" 280 name="Android"/> 281 <page 282 category="com.android.ide.eclipse.preferences.main" 283 class="com.android.ide.eclipse.adt.internal.preferences.BuildPreferencePage" 284 id="com.android.ide.eclipse.adt.preferences.BuildPreferencePage" 285 name="Build"/> 286 <page 287 category="com.android.ide.eclipse.preferences.main" 288 class="com.android.ide.eclipse.adt.internal.preferences.LaunchPreferencePage" 289 id="com.android.ide.eclipse.adt.preferences.LaunchPreferencePage" 290 name="Launch"/> 291 <page 292 category="com.android.ide.eclipse.preferences.main" 293 class="com.android.ide.eclipse.adt.internal.preferences.UsagePreferencePage" 294 id="com.android.ide.eclipse.common.preferences.UsagePreferencePage" 295 name="Usage Stats"> 296 </page> 297 </extension> 298 <extension 299 point="org.eclipse.core.runtime.preferences"> 300 <initializer class="com.android.ide.eclipse.adt.internal.preferences.AdtPrefs"/> 301 </extension> 302 <extension 303 id="com.android.ide.eclipse.adt.adtProblem" 304 name="Android ADT Problem" 305 point="org.eclipse.core.resources.markers"> 306 <super type="org.eclipse.core.resources.problemmarker"/> 307 <super type="org.eclipse.core.resources.textmarker"/> 308 <persistent value="true"/> 309 </extension> 310 <extension 311 id="com.android.ide.eclipse.adt.targetProblem" 312 name="Android Target Problem" 313 point="org.eclipse.core.resources.markers"> 314 <super type="org.eclipse.core.resources.problemmarker"/> 315 <persistent value="false"/> 316 </extension> 317 <extension 318 id="com.android.ide.eclipse.adt.packagingProblem" 319 name="Android Packaging Problem" 320 point="org.eclipse.core.resources.markers"> 321 <super type="org.eclipse.core.resources.problemmarker"/> 322 <persistent value="true"/> 323 </extension> 324 <extension 325 point="org.eclipse.ui.perspectiveExtensions"> 326 <perspectiveExtension targetID="org.eclipse.jdt.ui.JavaPerspective"> 327 <newWizardShortcut id="com.android.ide.eclipse.adt.project.NewProjectWizard" /> 328 <newWizardShortcut 329 id="com.android.ide.eclipse.editors.wizards.NewXmlFileWizard"> 330 </newWizardShortcut> 331 </perspectiveExtension> 332 <perspectiveExtension targetID="org.eclipse.debug.ui.DebugPerspective"> 333 <viewShortcut id="com.android.ide.eclipse.ddms.views.LogCatView"/> 334 <viewShortcut id="com.android.ide.eclipse.ddms.views.DeviceView"/> 335 </perspectiveExtension> 336 </extension> 337 <extension 338 point="org.eclipse.ui.ide.projectNatureImages"> 339 <image 340 icon="icons/android_project.png" 341 id="com.android.ide.eclipse.adt.AndroidNature.image" 342 natureId="com.android.ide.eclipse.adt.AndroidNature"> 343 </image> 344 </extension> 345 <extension 346 point="org.eclipse.jdt.core.classpathContainerInitializer"> 347 <classpathContainerInitializer 348 class="com.android.ide.eclipse.adt.internal.project.AndroidClasspathContainerInitializer" 349 id="com.android.ide.eclipse.adt.project.AndroidClasspathContainerInitializer"> 350 </classpathContainerInitializer> 351 <classpathContainerInitializer 352 class="com.android.ide.eclipse.adt.internal.project.AndroidClasspathContainerInitializer" 353 id="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"> 354 </classpathContainerInitializer> 355 </extension> 356 <extension 357 point="org.eclipse.ui.exportWizards"> 358 <category 359 id="com.android.ide.eclipse.wizards.category" 360 name="Android"> 361 </category> 362 <wizard 363 category="com.android.ide.eclipse.wizards.category" 364 class="com.android.ide.eclipse.adt.internal.wizards.export.ExportWizard" 365 icon="icons/android.png" 366 id="com.android.ide.eclipse.adt.project.ExportWizard" 367 name="Export Android Application"> 368 </wizard> 369 </extension> 370 <extension 371 point="org.eclipse.ui.commands"> 372 <command 373 name="Debug Android Application" 374 description="Debug Android Application" 375 categoryId="org.eclipse.debug.ui.category.run" 376 id="com.android.ide.eclipse.adt.launch.LaunchShortcut.debug"> 377 </command> 378 <command 379 name="Run Android Application" 380 description="Run Android Application" 381 categoryId="org.eclipse.debug.ui.category.run" 382 id="com.android.ide.eclipse.adt.launch.LaunchShortcut.run"> 383 </command> 384 <keyBinding 385 keySequence="M3+M2+A D" 386 contextId="org.eclipse.ui.globalScope" 387 commandId="com.android.ide.eclipse.adt.launch.LaunchShortcut.debug" 388 keyConfigurationId="org.eclipse.ui.defaultAcceleratorConfiguration"> 389 </keyBinding> 390 <keyBinding 391 keySequence="M3+M2+A R" 392 contextId="org.eclipse.ui.globalScope" 393 commandId="com.android.ide.eclipse.adt.launch.LaunchShortcut.run" 394 keyConfigurationId="org.eclipse.ui.defaultAcceleratorConfiguration"> 395 </keyBinding> 396 </extension> 397 <extension 398 point="org.eclipse.ui.decorators"> 399 <decorator 400 adaptable="true" 401 class="com.android.ide.eclipse.adt.internal.project.FolderDecorator" 402 id="com.android.ide.eclipse.adt.project.FolderDecorator" 403 label="Android Decorator" 404 lightweight="true" 405 location="TOP_RIGHT" 406 objectClass="org.eclipse.core.resources.IFolder" 407 state="true"> 408 </decorator> 409 </extension> 410 <extension 411 point="org.eclipse.ui.editors"> 412 <editor 413 class="com.android.ide.eclipse.adt.internal.editors.manifest.ManifestEditor" 414 default="true" 415 filenames="AndroidManifest.xml" 416 icon="icons/android_file.png" 417 id="com.android.ide.eclipse.editors.manifest.ManifestEditor" 418 name="Android Manifest Editor"> 419 </editor> 420 <editor 421 class="com.android.ide.eclipse.adt.internal.editors.resources.ResourcesEditor" 422 default="false" 423 extensions="xml" 424 icon="icons/android_file.png" 425 id="com.android.ide.eclipse.editors.resources.ResourcesEditor" 426 name="Android Resource Editor"> 427 </editor> 428 <editor 429 class="com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor" 430 default="false" 431 extensions="xml" 432 icon="icons/android_file.png" 433 id="com.android.ide.eclipse.editors.layout.LayoutEditor" 434 matchingStrategy="com.android.ide.eclipse.adt.internal.editors.layout.MatchingStrategy" 435 name="Android Layout Editor"> 436 </editor> 437 <editor 438 class="com.android.ide.eclipse.adt.internal.editors.menu.MenuEditor" 439 default="false" 440 extensions="xml" 441 icon="icons/android_file.png" 442 id="com.android.ide.eclipse.editors.menu.MenuEditor" 443 name="Android Menu Editor"> 444 </editor> 445 <editor 446 class="com.android.ide.eclipse.adt.internal.editors.xml.XmlEditor" 447 default="false" 448 extensions="xml" 449 icon="icons/android_file.png" 450 id="com.android.ide.eclipse.editors.xml.XmlEditor" 451 name="Android Xml Resources Editor"> 452 </editor> 453 </extension> 454 <extension 455 point="org.eclipse.ui.views"> 456 <view 457 allowMultiple="false" 458 category="com.android.ide.eclipse.ddms.views.category" 459 class="com.android.ide.eclipse.adt.internal.ui.ResourceExplorerView" 460 icon="icons/android.png" 461 id="com.android.ide.eclipse.editors.resources.explorer.ResourceExplorerView" 462 name="Resource Explorer"> 463 </view> 464 </extension> 465 <extension 466 point="org.eclipse.wst.sse.ui.editorConfiguration"> 467 <sourceViewerConfiguration 468 class="com.android.ide.eclipse.adt.internal.editors.manifest.ManifestSourceViewerConfig" 469 target="com.android.ide.eclipse.editors.manifest.ManifestEditor"> 470 </sourceViewerConfiguration> 471 <sourceViewerConfiguration 472 class="com.android.ide.eclipse.adt.internal.editors.resources.ResourcesSourceViewerConfig" 473 target="com.android.ide.eclipse.editors.resources.ResourcesEditor"> 474 </sourceViewerConfiguration> 475 <sourceViewerConfiguration 476 class="com.android.ide.eclipse.adt.internal.editors.layout.LayoutSourceViewerConfig" 477 target="com.android.ide.eclipse.editors.layout.LayoutEditor"> 478 </sourceViewerConfiguration> 479 <sourceViewerConfiguration 480 class="com.android.ide.eclipse.adt.internal.editors.menu.MenuSourceViewerConfig" 481 target="com.android.ide.eclipse.editors.menu.MenuEditor"> 482 </sourceViewerConfiguration> 483 <sourceViewerConfiguration 484 class="com.android.ide.eclipse.adt.internal.editors.xml.XmlSourceViewerConfig" 485 target="com.android.ide.eclipse.editors.xml.XmlEditor"> 486 </sourceViewerConfiguration> 487 </extension> 488 <extension 489 point="org.eclipse.ui.propertyPages"> 490 <page 491 adaptable="true" 492 class="com.android.ide.eclipse.adt.internal.properties.AndroidPropertyPage" 493 id="com.android.ide.eclipse.adt.project.properties.AndroidPropertyPage" 494 name="Android" 495 nameFilter="*" 496 objectClass="org.eclipse.core.resources.IProject"> 497 <enabledWhen> 498 <test property="org.eclipse.jdt.launching.hasProjectNature" 499 args="com.android.ide.eclipse.adt.AndroidNature"/> 500 </enabledWhen> 501 </page> 502 </extension> 503 <extension 504 point="org.eclipse.ui.actionSets"> 505 <actionSet 506 description="Android Wizards" 507 id="adt.actionSet.wizards" 508 label="Android Wizards" 509 visible="true"> 510 <action 511 class="com.android.ide.eclipse.adt.internal.wizards.actions.NewXmlFileAction" 512 icon="icons/new_xml.png" 513 id="com.android.ide.eclipse.adt.wizards.actions.NewXmlFileAction" 514 label="New Android XML File" 515 style="push" 516 toolbarPath="android_project" 517 tooltip="Opens a wizard to help create a new Android XML file"> 518 </action> 519 <action 520 class="com.android.ide.eclipse.adt.internal.wizards.actions.NewTestProjectAction" 521 icon="icons/androidjunit.png" 522 id="com.android.ide.eclipse.adt.wizards.actions.NewTestProjectAction" 523 label="New Android Test Project" 524 style="push" 525 toolbarPath="android_project" 526 tooltip="Opens a wizard to help create a new Android Test Project"> 527 </action> 528 <action 529 class="com.android.ide.eclipse.adt.internal.wizards.actions.NewProjectAction" 530 icon="icons/new_adt_project.png" 531 id="com.android.ide.eclipse.adt.wizards.actions.NewProjectAction" 532 label="New Android Project" 533 style="push" 534 toolbarPath="android_project" 535 tooltip="Opens a wizard to help create a new Android project"> 536 </action> 537 </actionSet> 538 <actionSet 539 description="Refactorings for Android" 540 id="adt.actionSet.refactorings" 541 label="Android Refactorings" 542 visible="true"> 543 544 <!-- This duplicates the Refactoring Menu definition from the jdt.ui plugin.xml, 545 which allows us to insert our contribution even if the JDT is not loaded. 546 We overload the definition with our new group.--> 547 <menu 548 label="Refactor" 549 path="edit" 550 id="org.eclipse.jdt.ui.refactoring.menu"> 551 <separator name="undoRedoGroup"/> 552 <separator name="reorgGroup"/> 553 <separator name="androidGroup"/> 554 <separator name="codingGroup"/> 555 <separator name="reorgGroup2"/> 556 <separator name="typeGroup"/> 557 <separator name="typeGroup2"/> 558 <separator name="codingGroup2"/> 559 <separator name="typeGroup3"/> 560 <separator name="scriptGroup"/> 561 </menu> 562 563 <menu 564 label="Android" 565 path="org.eclipse.jdt.ui.refactoring.menu/androidGroup" 566 id="com.android.ide.eclipse.adt.refactoring.menu"> 567 <separator name="android"/> 568 </menu> 569 <action 570 class="com.android.ide.eclipse.adt.internal.refactorings.extractstring.ExtractStringAction" 571 definitionId="com.android.ide.eclipse.adt.refactoring.extract.string" 572 id="com.android.ide.eclipse.adt.actions.ExtractString" 573 label="Extract Android String..." 574 menubarPath="org.eclipse.jdt.ui.refactoring.menu/com.android.ide.eclipse.adt.refactoring.menu/android" 575 style="push" 576 tooltip="Extracts a string into Android resource string"> 577 </action> 578 <menu 579 id="org.eclipse.jdt.ui.refactoring.menu" 580 label="Refactor"> 581 </menu> 582 </actionSet> 583 <actionSet 584 description="Android AVD and SDK Manager" 585 id="adt.actionSet.avdManager" 586 label="Android SDK and AVD Manager" 587 visible="true"> 588 <action 589 class="com.android.ide.eclipse.adt.internal.wizards.actions.AvdManagerAction" 590 icon="icons/avd_manager.png" 591 id="com.android.ide.eclipse.adt.ui.avdmanager" 592 label="Android SDK and AVD Manager" 593 menubarPath="Window/additions" 594 style="push" 595 toolbarPath="android_project" 596 tooltip="Opens the Android SDK and AVD Manager"> 597 </action> 598 </actionSet> 599 </extension> 600 <extension 601 point="org.eclipse.debug.core.launchDelegates"> 602 <launchDelegate 603 delegate="com.android.ide.eclipse.adt.internal.launch.JUnitLaunchConfigDelegate" 604 delegateDescription="Removes the Android JAR from the Bootstrap Classpath" 605 id="com.android.ide.eclipse.adt.launch.JUnitLaunchConfigDelegate.launchAndroidJunit" 606 modes="run,debug" 607 name="Android JUnit Test" 608 type="org.eclipse.jdt.junit.launchconfig"> 609 </launchDelegate> 610 </extension> 611 <extension 612 point="org.eclipse.debug.core.launchConfigurationTypes"> 613 <launchConfigurationType 614 delegate="com.android.ide.eclipse.adt.internal.launch.junit.AndroidJUnitLaunchConfigDelegate" 615 id="com.android.ide.eclipse.adt.junit.launchConfigurationType" 616 modes="run,debug" 617 name="Android JUnit Test" 618 public="true" 619 sourceLocatorId="org.eclipse.jdt.launching.sourceLocator.JavaSourceLookupDirector" 620 sourcePathComputerId="org.eclipse.jdt.launching.sourceLookup.javaSourcePathComputer"> 621 </launchConfigurationType> 622 </extension> 623 <extension 624 point="org.eclipse.debug.ui.launchConfigurationTypeImages"> 625 <launchConfigurationTypeImage 626 configTypeID="com.android.ide.eclipse.adt.junit.launchConfigurationType" 627 icon="icons/androidjunit.png" 628 id="com.android.ide.eclipse.adt.junit.launchConfigurationTypeImage"> 629 </launchConfigurationTypeImage> 630 </extension> 631 <extension 632 point="org.eclipse.debug.ui.launchConfigurationTabGroups"> 633 <launchConfigurationTabGroup 634 class="com.android.ide.eclipse.adt.internal.launch.junit.AndroidJUnitTabGroup" 635 description="Android JUnit Test" 636 id="com.android.ide.eclipse.adt.junit.AndroidJUnitLaunchConfigTabGroup" 637 type="com.android.ide.eclipse.adt.junit.launchConfigurationType"/> 638 </extension> 639 <extension 640 point="org.eclipse.debug.ui.launchShortcuts"> 641 <shortcut 642 class="com.android.ide.eclipse.adt.internal.launch.junit.AndroidJUnitLaunchShortcut" 643 icon="icons/androidjunit.png" 644 id="com.android.ide.eclipse.adt.junit.launchShortcut" 645 label="Android JUnit Test" 646 modes="run,debug"> 647 <contextualLaunch> 648 <enablement> 649 <with variable="selection"> 650 <count value="1"/> 651 <iterate> 652 <adapt type="org.eclipse.jdt.core.IJavaElement"> 653 <test property="org.eclipse.jdt.core.isInJavaProjectWithNature" value="com.android.ide.eclipse.adt.AndroidNature"/> 654 <test property="org.eclipse.jdt.core.hasTypeOnClasspath" value="junit.framework.Test"/> 655 <test property="com.android.ide.eclipse.adt.canLaunchAsJUnit"/> 656 </adapt> 657 </iterate> 658 </with> 659 </enablement> 660 </contextualLaunch> 661 <configurationType 662 id="com.android.ide.eclipse.adt.junit.launchConfigurationType"> 663 </configurationType> 664 </shortcut> 665 </extension> 666 <extension 667 point="org.eclipse.ui.commands"> 668 <category 669 description="Refactorings for Android Projects" 670 id="com.android.ide.eclipse.adt.refactoring.category" 671 name="Android Refactorings"> 672 </category> 673 <command 674 categoryId="com.android.ide.eclipse.adt.refactoring.category" 675 description="Extract Strings into Android String Resources" 676 id="com.android.ide.eclipse.adt.refactoring.extract.string" 677 name="Extract Android String"> 678 </command> 679 <keyBinding 680 commandId="com.android.ide.eclipse.adt.refactoring.extract.string" 681 contextId="org.eclipse.ui.globalScope" 682 keyConfigurationId="org.eclipse.ui.defaultAcceleratorConfiguration" 683 keySequence="M3+M2+A S"> 684 </keyBinding> 685 </extension> 686 <extension 687 point="org.eclipse.ltk.core.refactoring.refactoringContributions"> 688 <contribution 689 class="com.android.ide.eclipse.adt.internal.refactorings.extractstring.ExtractStringContribution" 690 id="com.android.ide.eclipse.adt.refactoring.extract.string"> 691 </contribution> 692 </extension> 693 <extension 694 point="org.eclipse.core.expressions.propertyTesters"> 695 <propertyTester 696 properties="isTest,canLaunchAsJUnit" 697 namespace="com.android.ide.eclipse.adt" 698 type="org.eclipse.core.runtime.IAdaptable" 699 class="com.android.ide.eclipse.adt.internal.launch.junit.AndroidJUnitPropertyTester" 700 id="com.android.ide.eclipse.adt.AndroidJUnitPropertyTester"> 701 </propertyTester> 702 </extension> 703 </plugin> 704