public class CodetemplatesGeneratorFragment extends AbstractGeneratorFragment
Constructor and Description |
---|
CodetemplatesGeneratorFragment() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getContentAssistParser(Grammar grammar,
Naming naming) |
java.util.Set<Binding> |
getGuiceBindingsUi(Grammar grammar)
return a map containing the contributed guice bindings for the ui part created in this generator fragment
|
protected java.util.List<java.lang.Object> |
getParameters(Grammar grammar) |
static java.lang.String |
getPartialContentAssistParser(Grammar grammar,
Naming naming) |
java.lang.String[] |
getRequiredBundlesUi(Grammar grammar)
return the bundles this fragment requires in ui
|
boolean |
isSuppressRestriction() |
void |
setSuppressRestriction(boolean suppressRestriction)
Set this flag to
false if you don't want to add the
@SuppressWarnings("restriction") to the generated PartialContentAssistParser. |
addToPluginXmlRt, addToPluginXmlTests, addToPluginXmlUi, addToStandaloneSetup, generate, getNaming, getTemplate, readFileIntoString, registerNaming, writeStringIntoFile
addToPluginXmlRt, addToPluginXmlUi, addToStandaloneSetup, checkConfiguration, generate, getExportedPackagesIde, getExportedPackagesRt, getExportedPackagesTests, getExportedPackagesUi, getGuiceBindingsRt, getImportedPackagesIde, getImportedPackagesRt, getImportedPackagesTests, getImportedPackagesUi, getRequiredBundlesIde, getRequiredBundlesRt, getRequiredBundlesTests
public void setSuppressRestriction(boolean suppressRestriction)
false
if you don't want to add the
@SuppressWarnings("restriction")
to the generated PartialContentAssistParser.public boolean isSuppressRestriction()
public java.util.Set<Binding> getGuiceBindingsUi(Grammar grammar)
IGeneratorFragment
getGuiceBindingsUi
in interface IGeneratorFragment
getGuiceBindingsUi
in class DefaultGeneratorFragment
protected java.util.List<java.lang.Object> getParameters(Grammar grammar)
getParameters
in class AbstractGeneratorFragment
public java.lang.String[] getRequiredBundlesUi(Grammar grammar)
IGeneratorFragment
getRequiredBundlesUi
in interface IGeneratorFragment
getRequiredBundlesUi
in class DefaultGeneratorFragment
public static java.lang.String getPartialContentAssistParser(Grammar grammar, Naming naming)