|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtend.shared.ui.expression.XpandPluginExecutionContext.PluginResourceManager
public static class XpandPluginExecutionContext.PluginResourceManager
Constructor Summary | |
---|---|
XpandPluginExecutionContext.PluginResourceManager(IXtendXpandProject project)
|
Method Summary | |
---|---|
Resource |
loadResource(java.lang.String fullyQualifiedName,
java.lang.String extension)
Loads a resource. |
void |
registerParser(java.lang.String template_extension,
ResourceParser parser)
Registers a ResourceParser to the manager. |
void |
setFileEncoding(java.lang.String fileEncoding)
Sets the encoding the ResourceManager should use to load resources. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XpandPluginExecutionContext.PluginResourceManager(IXtendXpandProject project)
Method Detail |
---|
public Resource loadResource(java.lang.String fullyQualifiedName, java.lang.String extension)
ResourceManager
loadResource
in interface ResourceManager
fullyQualifiedName
- Resource pathextension
- Valid Xpand extension (xpt,ext,chk)
public void setFileEncoding(java.lang.String fileEncoding)
ResourceManager
setFileEncoding
in interface ResourceManager
fileEncoding
- Valid file encodingpublic void registerParser(java.lang.String template_extension, ResourceParser parser)
ResourceManager
registerParser
in interface ResourceManager
template_extension
- Xpand file extension (xpt,ext,chk)parser
- The parser for the resource type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |