org.chromium.debug.core/plugin.xml
author Eugene Ostroukhov <eugeneo@symbian.org>
Thu, 10 Jun 2010 17:58:18 -0700
changeset 371 8c790948988d
parent 355 8726e95bcbba
permissions -rw-r--r--
Bug 2822 - phonegap example : telephony preview support

<?xml version="1.0" encoding="UTF-8"?>

<!--
  Copyright (c) 2009 The Chromium Authors. All rights reserved.
  Use of this source code is governed by a BSD-style license that can be
  found in the LICENSE file.
-->

<plugin>

  <!-- Breakpoint-related extensions -->
  <extension point="org.eclipse.core.runtime.adapters">
    <factory
        class="org.chromium.debug.core.model.BreakpointAdapterFactory"
        adaptableType="org.eclipse.ui.texteditor.ITextEditor">
      <adapter type="org.eclipse.debug.ui.actions.IToggleBreakpointsTarget" /> 
    </factory>
  </extension>
  
  <extension point="org.eclipse.debug.core.breakpoints">
      <breakpoint
        class="org.chromium.debug.core.model.ChromiumLineBreakpoint"
        name="JS Line Breakpoints"
        markerType="org.chromium.debug.core.LineBP"
        id="org.chromium.debug.core.lineBreakpoint"/>
  </extension>
  
  <!-- "id" value is relative to PLUGIN_ID -->
  <extension
      id="LineBP"
      name="JS Line Breakpoint Marker"
      point="org.eclipse.core.resources.markers">
    <super type="org.eclipse.debug.core.lineBreakpointMarker"/>
    <persistent value="true"/>
  </extension>


  <!-- An in-memory filesystem for the remote scripts -->
  <extension point="org.eclipse.core.filesystem.filesystems">
     <filesystem scheme="chromiumdebug">
        <run class="org.chromium.debug.core.efs.ChromiumScriptFileSystem"/>
     </filesystem>
  </extension>

  <extension point="org.eclipse.debug.core.sourceLocators">
     <sourceLocator 
        id="org.chromium.debug.core.ChromiumSourceDirector"
        class="org.chromium.debug.core.ChromiumSourceDirector"
        name="a ChromiumSourceDirector">
     </sourceLocator>
   </extension>

  <extension point="org.eclipse.debug.core.sourcePathComputers">
     <sourcePathComputer
        id="org.chromium.debug.core.ChromiumSourceComputer"
        class="org.chromium.debug.core.ChromiumSourceComputer">
      </sourcePathComputer>
  </extension>
  
  <extension point="org.eclipse.debug.core.sourceContainerTypes">
    <sourceContainerType
      name="JS Server Scripts"
      class="org.chromium.debug.core.VProjectSourceContainer$TypeDelegate"
      id="org.chromium.debug.core.VProjectSourceContainer.type"
      description="Remote V8/Chrome VM JavaScript Scripts">
    </sourceContainerType>
   </extension>

  
  <extension point="org.eclipse.debug.core.sourceContainerTypes">
    <sourceContainerType
      name="%SourceNameMapperContainer.name"
      class="org.chromium.debug.core.SourceNameMapperContainer$TypeDelegate"
      id="org.chromium.debug.core.SourceNameMapperContainer.type"
      description="%SourceNameMapperContainer.description">
    </sourceContainerType>
   </extension>
  

</plugin>