1 <?xml version="1.0" encoding="UTF-8"?> 2 <?eclipse version="3.2"?> 3 4 <!-- 5 Copyright (C) 2012 The Android Open Source Project 6 7 Licensed under the Apache License, Version 2.0 (the "License"); 8 you may not use this file except in compliance with the License. 9 You may obtain a copy of the License at 10 11 http://www.apache.org/licenses/LICENSE-2.0 12 13 Unless required by applicable law or agreed to in writing, software 14 distributed under the License is distributed on an "AS IS" BASIS, 15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 See the License for the specific language governing permissions and 17 limitations under the License. 18 --> 19 20 <plugin> 21 <extension 22 point="org.eclipse.debug.core.launchConfigurationTypes"> 23 <launchConfigurationType 24 id="androidLaunchConfigurationType" 25 modes="run" 26 name="%launchConfigurationType.name" 27 public="true"> 28 </launchConfigurationType> 29 </extension> 30 <extension 31 point="org.eclipse.debug.core.launchDelegates"> 32 <launchDelegate 33 delegate="com.motorola.studio.android.launch.StudioAndroidConfigurationDelegate" 34 delegateDescription="%launchDelegate.description" 35 id="androidLaunchDelegate" 36 modes="run, debug" 37 name="%launchDelegate.name" 38 sourceLocatorId="org.eclipse.jdt.launching.sourceLocator.JavaSourceLookupDirector" 39 sourcePathComputerId="org.eclipse.jdt.launching.sourceLookup.javaSourcePathComputer" 40 type="androidLaunchConfigurationType"> 41 </launchDelegate> 42 </extension> 43 <extension 44 point="org.eclipse.debug.ui.launchConfigurationTabGroups"> 45 <launchConfigurationTabGroup 46 class="com.motorola.studio.android.launch.ui.LaunchConfigurationTabGroup" 47 description="%launchTabGroup.description" 48 id="androidLaunchConfigurationTabGroup" 49 type="androidLaunchConfigurationType"> 50 </launchConfigurationTabGroup> 51 </extension> 52 <extension 53 point="org.eclipse.debug.ui.launchConfigurationTypeImages"> 54 <launchConfigurationTypeImage 55 configTypeID="androidLaunchConfigurationType" 56 icon="icons/category.gif" 57 id="androidLaunchConfigurationTypeImage"> 58 </launchConfigurationTypeImage> 59 </extension> 60 <extension 61 point="org.eclipse.debug.ui.launchShortcuts"> 62 <shortcut 63 class="com.motorola.studio.android.launch.LaunchConfigurationShortcut" 64 icon="icons/motodevapp.gif" 65 id="com.motorola.studio.android.launch.android.app" 66 label="%launchConfigurationType.name" 67 modes="run, debug"> 68 <contextualLaunch> 69 <enablement> 70 <with variable="selection"> 71 <count value="1"/> 72 <iterate> 73 <and> 74 <test property="org.eclipse.jdt.launching.hasProjectNature" args="com.android.ide.eclipse.adt.AndroidNature"/> 75 </and> 76 </iterate> 77 </with> 78 </enablement> 79 </contextualLaunch> 80 <description 81 description="%launchShortuctRun.description" 82 mode="run, debug"> 83 </description> 84 </shortcut> 85 </extension> 86 <extension 87 point="org.eclipse.ui.commands"> 88 <command 89 categoryId="org.eclipse.debug.ui.category.run" 90 description="%command.launchshortcut.run.desc" 91 id="com.motorola.studio.android.launch.android.app.run" 92 name="%command.launchshortcut.run.name"> 93 </command> 94 <command 95 categoryId="org.eclipse.debug.ui.category.run" 96 description="%command.launchshortcut.debug.desc" 97 id="com.motorola.studio.android.launch.android.app.debug" 98 name="%command.launchshortcut.debug.name"> 99 </command> 100 </extension> 101 102 103 </plugin> 104