OSDN Git Service

Make "Main menu > Run As > Android application" appear in ADT .
authorBrett Chabot <brettchabot@android.com>
Wed, 10 Mar 2010 02:24:04 +0000 (18:24 -0800)
committerBrett Chabot <brettchabot@android.com>
Wed, 10 Mar 2010 02:24:04 +0000 (18:24 -0800)
Bug 1841601

Change-Id: I7035584a18cf43eb488215c5ff6832ba499498e1

eclipse/plugins/com.android.ide.eclipse.adt/plugin.xml

index 2c15509..8a5f854 100644 (file)
    <extension
          point="org.eclipse.debug.ui.launchShortcuts">
       <shortcut
-            category="com.android.ide.eclipse.adt.launch.LaunchConfigType"
             class="com.android.ide.eclipse.adt.internal.launch.LaunchShortcut"
             icon="icons/android_app.png"
             id="com.android.ide.eclipse.adt.debug.launching.LaunchShortcut"
             label="Android Application"
-            modes="debug, run">
+            modes="run, debug">
         <contextualLaunch>
            <enablement>
              <with variable="selection">
          </contextualLaunch>
          <perspective id="org.eclipse.jdt.ui.JavaPerspective"/>
          <perspective id="org.eclipse.debug.ui.DebugPerspective"/>
+         <configurationType
+             id="com.android.ide.eclipse.adt.debug.LaunchConfigType">
+         </configurationType>
          <description
                description="Runs an Android Application"
                mode="run">