org.chromium.debug.core/plugin.xml
author Eugene Ostroukhov <eugeneo@symbian.org>
Tue, 27 Apr 2010 16:29:25 +0100
changeset 322 a2085280e663
parent 2 e4420d2515f1
child 355 8726e95bcbba
permissions -rw-r--r--
Fixed PhoneGap geolocation debug in Chrome browser

<?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>
</plugin>