|
JavaScript Development Tools Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.wst.jsdt.debug.core.model.ScriptResolver
public abstract class ScriptResolver
This is the default base class for all IScriptResolvers
Clients must extend this class and not directly implement the interface IScriptResolver
| Constructor Summary | |
|---|---|
ScriptResolver()
|
|
| Method Summary | |
|---|---|
IFile |
getFile(ScriptReference script)
This method is used to find the workspace IFile that corresponds to the source URI from the given ScriptReference. |
boolean |
matches(ScriptReference script,
IPath path)
This method determines if the given IPath matches the URI from ScriptReference.sourceURI(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScriptResolver()
| Method Detail |
|---|
public boolean matches(ScriptReference script,
IPath path)
IScriptResolverIPath matches the URI from ScriptReference.sourceURI().
matches in interface IScriptResolverscript - the ScriptReference to compare the source URI from - never nullpath - the path to match against the source URI - never null
true if the source URI of the given ScriptReference is considered to match the given IPath, false otherwise.public IFile getFile(ScriptReference script)
IScriptResolverIFile that corresponds to the source URI from the given ScriptReference.
null. The result will be checked for existence.
getFile in interface IScriptResolverscript - the ScriptReference to find the IFile for
IFile for the ScriptReference or null
|
JavaScript Development Tools Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||