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