aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse/plugins/com.android.ide.eclipse.adt/plugin.xml
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2010-06-14 14:45:35 -0700
committerXavier Ducrohet <xav@android.com>2010-06-15 11:32:21 -0700
commit853ab5a62d09675e0921d2eed60c02f66e3d0050 (patch)
treecba298e9ba9fcd185f93391f9153fde98288e213 /eclipse/plugins/com.android.ide.eclipse.adt/plugin.xml
parentd931df6de27a068475b4b9760ef3800dfcb6dbd6 (diff)
downloadsdk-853ab5a62d09675e0921d2eed60c02f66e3d0050.zip
sdk-853ab5a62d09675e0921d2eed60c02f66e3d0050.tar.gz
sdk-853ab5a62d09675e0921d2eed60c02f66e3d0050.tar.bz2
ADT: Multi-apk export action.
This is a first step with no UI. Still needed: - handling signing - add control to how ApkBuilderHelper handles errors to prevent output to the console during export. Change-Id: Id44d708c2b0f5bb52508c33a241bbe921b4297e1
Diffstat (limited to 'eclipse/plugins/com.android.ide.eclipse.adt/plugin.xml')
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.adt/plugin.xml51
1 files changed, 40 insertions, 11 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/plugin.xml b/eclipse/plugins/com.android.ide.eclipse.adt/plugin.xml
index 78ebac3..13cf652 100644
--- a/eclipse/plugins/com.android.ide.eclipse.adt/plugin.xml
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/plugin.xml
@@ -207,16 +207,21 @@
<separator name="group1"/>
</menu>
<visibility>
- <not>
- <or>
- <objectState
- name="projectNature"
- value="com.android.ide.eclipse.adt.AndroidNature"/>
- <objectState
- name="open"
- value="false"/>
- </or>
- </not>
+ <and>
+ <not>
+ <objectState
+ name="projectNature"
+ value="com.android.ide.eclipse.adt.AndroidNature"/>
+ </not>
+ <not>
+ <objectState
+ name="projectNature"
+ value="com.android.ide.eclipse.adt.AndroidExportNature"/>
+ </not>
+ <objectState
+ name="open"
+ value="true"/>
+ </and>
</visibility>
<action
class="com.android.ide.eclipse.adt.internal.actions.ConvertToAndroidAction"
@@ -284,7 +289,31 @@
label="Rename Application Package"
menubarPath="com.android.ide.eclipse.adt.AndroidTools/group3"/>
</objectContribution>
-
+ <objectContribution
+ id="com.android.ide.eclipse.adt.contribution3"
+ 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.AndroidExportNature">
+ </filter>
+ <action
+ class="com.android.ide.eclipse.adt.internal.actions.MultiApkExportAction"
+ enablesFor="1"
+ id="com.android.ide.eclipse.adt.actions.MultiApkExportAction"
+ label="Export APKs"
+ menubarPath="com.android.ide.eclipse.adt.AndroidTools/group1"
+ tooltip="Exports multiple APKs from the export project configuration">
+ </action>
+ </objectContribution>
</extension>
<extension
point="org.eclipse.ui.preferencePages">