|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent
org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent2
org.eclipse.xtend.expression.AbstractExpressionsUsingWorkflowComponent
org.eclipse.xpand2.Generator
public class Generator
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.xtend.expression.AbstractExpressionsUsingWorkflowComponent |
|---|
AbstractExpressionsUsingWorkflowComponent.Debug, AbstractExpressionsUsingWorkflowComponent.GlobalVar, AbstractExpressionsUsingWorkflowComponent.GlobalVarDef |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.xtend.expression.AbstractExpressionsUsingWorkflowComponent |
|---|
_advice, callback, exceptionHandler, exceptionsOnNullEvaluation, log, metaModels |
| Constructor Summary | |
|---|---|
Generator()
|
|
| Method Summary | |
|---|---|
void |
addAdvice(java.lang.String advice)
Adds an advice. |
void |
addExtensionAdvice(java.lang.String extensionAdvice)
Adds an extension advice. |
void |
addOutlet(Outlet outlet)
Adds an outlet. |
protected void |
checkConfigurationInternal(org.eclipse.emf.mwe.core.issues.Issues issues)
|
java.util.List<?> |
getBeautifier()
Returns the list of beautifiers that will be applied to the generated output. |
java.lang.String |
getComponentName()
|
java.lang.String |
getFileEncoding()
Returns the name of character encoding used for the output file. |
java.lang.String |
getLogMessage()
|
java.util.List<Outlet> |
getOutlets()
Retrieves the configured and initialized outlets of the generator. |
protected ProtectedRegionResolver |
getProtectedRegionResolver()
|
protected void |
invokeInternal2(org.eclipse.emf.mwe.core.WorkflowContext ctx,
org.eclipse.emf.mwe.core.monitor.ProgressMonitor monitor,
org.eclipse.emf.mwe.core.issues.Issues issues)
|
void |
setAutomaticHyphens(boolean automaticHyphens)
Enables or disables the automatic hyphenation. |
void |
setBeautifier(java.util.List<?> beautifiers)
Sets the list of beautifiers that will be applied to the generated output. |
void |
setCollectProfileSummary(java.lang.String summary)
Deprecated. |
void |
setExpand(java.lang.String invoke)
Sets the statement that is to expand by the generator. |
void |
setFileEncoding(java.lang.String fileEncoding)
Sets the character encoding used for the output file. |
void |
setGenPath(java.lang.String genPath)
Deprecated. use outlets instead |
void |
setOutput(Output output)
Sets the output. |
void |
setPrDefaultExcludes(boolean prDefaultExcludes)
Enables oder disables the default excludes for protected regions. |
void |
setPrExcludes(java.lang.String prExcludes)
Sets the additional excludes for protected regions. |
void |
setPrSrcPaths(java.lang.String prSrcPathes)
Sets the source paths for protected regions. |
void |
setSrcPath(java.lang.String srcPath)
Deprecated. use outlets instead |
void |
setVerboseProfileFilename(java.lang.String fileName)
Sets the filename for verbose profile. |
| Methods inherited from class org.eclipse.xtend.expression.AbstractExpressionsUsingWorkflowComponent |
|---|
addAdvices, addDebug, addExtensionAdvices, addGlobalVar, addGlobalVarDef, addMetaModel, getExecutionContext, getGlobalVars, getNullEvaluationHandler, getResourceManager, invokeInternal, setCallback, setDumpContext, setExceptionHandler, setExceptionsOnNullEvaluation, setResourceManager, setVetoableCallback, toString |
| Methods inherited from class org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent2 |
|---|
checkConfiguration |
| Methods inherited from class org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent |
|---|
checkRequiredConfigProperty, getBridge, getContainer, getId, getLocation, invoke, invoke, postInvoke, preInvoke, setContainer, setId, setLocation, setSkipOnErrors |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Generator()
| Method Detail |
|---|
public void setCollectProfileSummary(java.lang.String summary)
summary - the summarypublic void setVerboseProfileFilename(java.lang.String fileName)
fileName - filename for verbose profilepublic void setAutomaticHyphens(boolean automaticHyphens)
automaticHyphens - If true, automatic hyphenation is enabled,
otherwise disabled.public java.lang.String getLogMessage()
getLogMessage in interface org.eclipse.emf.mwe.core.WorkflowComponentWithIDgetLogMessage in class org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponentAbstractWorkflowComponent.getLogMessage()public void addAdvice(java.lang.String advice)
addAdvice in class AbstractExpressionsUsingWorkflowComponentadvice - the advicepublic void addExtensionAdvice(java.lang.String extensionAdvice)
addExtensionAdvice in class AbstractExpressionsUsingWorkflowComponentextensionAdvice - the extension advicepublic java.util.List<?> getBeautifier()
public void setBeautifier(java.util.List<?> beautifiers)
beautifiers - list of beautifierspublic void setFileEncoding(java.lang.String fileEncoding)
fileEncoding - name of character encodingpublic java.lang.String getFileEncoding()
@Deprecated public void setGenPath(java.lang.String genPath)
public void setExpand(java.lang.String invoke)
invoke - statement to expandpublic void setPrDefaultExcludes(boolean prDefaultExcludes)
prDefaultExcludes - If true, the default excludes are enabled,
otherwise disabled.public void setPrExcludes(java.lang.String prExcludes)
prExcludes - the excludespublic void setPrSrcPaths(java.lang.String prSrcPathes)
prSrcPathes - the source pathspublic java.lang.String getComponentName()
getComponentName in interface org.eclipse.emf.mwe.core.WorkflowComponentgetComponentName in class org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponentAbstractWorkflowComponent.getComponentName()@Deprecated public void setSrcPath(java.lang.String srcPath)
protected void invokeInternal2(org.eclipse.emf.mwe.core.WorkflowContext ctx,
org.eclipse.emf.mwe.core.monitor.ProgressMonitor monitor,
org.eclipse.emf.mwe.core.issues.Issues issues)
invokeInternal2 in class AbstractExpressionsUsingWorkflowComponentprotected ProtectedRegionResolver getProtectedRegionResolver()
public void addOutlet(Outlet outlet)
outlet - the outletpublic void setOutput(Output output)
output - the outputpublic final java.util.List<Outlet> getOutlets()
protected void checkConfigurationInternal(org.eclipse.emf.mwe.core.issues.Issues issues)
checkConfigurationInternal in class AbstractExpressionsUsingWorkflowComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||