|
JavaScript Development Tools Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IScriptResolver
This resolver allows contributors to plug-in to the process of resolving a ScriptReference
's
URI
to a workspace-local IFile
.
This interface is not intended to be directly implemented. Instead clients must extend the base class ScriptResolver
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() . |
Method Detail |
---|
boolean matches(ScriptReference script, IPath path)
IPath
matches the URI
from ScriptReference.sourceURI()
.
script
- the ScriptReference
to compare the source URI
from - never null
path
- 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.IFile getFile(ScriptReference script)
IFile
that corresponds to the source URI
from the given ScriptReference
.
null
. The result will be checked for existence.
script
- 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 |