scriptResolvers

标识:
org.eclipse.wst.jsdt.debug.core.scriptResolvers

起始版本:
3.4

描述:
此扩展点用于添加一个脚本解析器,在 ScriptReference 必须解析为本地(相对于工作空间)IFile 的 JSDT 中的任何位置,都将参照该脚本解析器。

典型用法的示例是解析某个断点的工作空间路径是否与给定 ScriptReference 的工作空间路径相匹配

配置标记:

<!ELEMENT extension (scriptResolver)+>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED

>


<!ELEMENT scriptResolver EMPTY>

<!ATTLIST scriptResolver

class CDATA #REQUIRED

>

解析器,有助于确定本地(相对于工作空间)IFile 和 JavaScript 脚本引用之间的等同性



示例:
以下是缺省脚本解析器的示例:

   <extension point="org.eclipse.wst.jsdt.debug.core.scriptResolvers">
      <scriptResolver
            class="org.eclipse.wst.jsdt.debug.internal.core.model.DefaultScriptResolver">
      </scriptResolver>
    </extension> 

API 信息:
class 字段必须指定扩展 org.eclipse.wst.jsdt.debug.core.model.AbstractScriptResolver 的类的标准名称。

提供的实现:
[输入关于提供的此扩展点的实现的信息。]


Copyright © 2011 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html