scriptResolvers

Identifier:
org.eclipse.wst.jsdt.debug.core.scriptResolvers

Since:
3.4

Description:
This extension point is used to contribute a script solver that is consulted any place in JSDT where a ScriptReference must be resolved to a workspace-local IFile.

An example of typical usage is resolving if a breakpoint's workspace path matches that of a given ScriptReference

Configuration Markup:

<!ELEMENT extension (scriptResolver)+>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT scriptResolver EMPTY>

<!ATTLIST scriptResolver

class CDATA #REQUIRED>

A resolver that can help determine equality between workspace-local IFiles and JavaScript ScriptReferences



Examples:
The following is an example of the default script resolver:

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

API Information:
The class field must specify the fully qualified name of the the class the extends org.eclipse.wst.jsdt.debug.core.model.AbstractScriptResolver.

Supplied Implementation:
[Enter information about supplied implementation of this extension point.]


Copyright (c) 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 v2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-2.0/