Class PluginXmlAccess
- java.lang.Object
-
- org.eclipse.xtext.xtext.generator.model.TextFileAccess
-
- org.eclipse.xtext.xtext.generator.model.PluginXmlAccess
-
- All Implemented Interfaces:
IGuiceAwareGeneratorComponent
@Accessors public class PluginXmlAccess extends TextFileAccess implements IGuiceAwareGeneratorComponent
Configuration object for plugin.xml files for use in Eclipse.
-
-
Field Summary
-
Fields inherited from class org.eclipse.xtext.xtext.generator.model.TextFileAccess
internalContents
-
-
Constructor Summary
Constructors Constructor Description PluginXmlAccess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CodeConfig
getCodeConfig()
java.lang.CharSequence
getContent()
java.util.List<java.lang.CharSequence>
getEntries()
void
initialize(com.google.inject.Injector injector)
boolean
merge(PluginXmlAccess other)
Merge the contents of the given plugin.xml into this one.void
setCodeConfig(CodeConfig codeConfig)
void
setContent(org.eclipse.xtend2.lib.StringConcatenationClient content)
void
writeTo(org.eclipse.xtext.generator.IFileSystemAccess2 fileSystemAccess)
-
Methods inherited from class org.eclipse.xtext.xtext.generator.model.TextFileAccess
getContentString, getPath, setPath
-
-
-
-
Method Detail
-
setContent
public void setContent(org.eclipse.xtend2.lib.StringConcatenationClient content)
- Overrides:
setContent
in classTextFileAccess
-
getContent
public java.lang.CharSequence getContent()
- Overrides:
getContent
in classTextFileAccess
-
merge
public boolean merge(PluginXmlAccess other)
Merge the contents of the given plugin.xml into this one.
-
writeTo
public void writeTo(org.eclipse.xtext.generator.IFileSystemAccess2 fileSystemAccess)
- Overrides:
writeTo
in classTextFileAccess
-
initialize
public void initialize(com.google.inject.Injector injector)
- Specified by:
initialize
in interfaceIGuiceAwareGeneratorComponent
-
getCodeConfig
@Pure public CodeConfig getCodeConfig()
-
setCodeConfig
public void setCodeConfig(CodeConfig codeConfig)
-
getEntries
@Pure public java.util.List<java.lang.CharSequence> getEntries()
-
-