|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.egf.pattern.ecore.PatternHandler.ProductionOptionsHandler
public class PatternHandler.ProductionOptionsHandler
Production options handler.
Field Summary | |
---|---|
protected boolean |
_bufferModification
Should buffers be modified, as opposed to using the default declaration. |
protected boolean |
_compileTemplate
Should resulting template file be compiled ? |
protected boolean |
_enabled
Are options enabled (true) or not (false) ? |
protected String |
_patternTemplatePath
Pattern template path, if default behavior is to be overridden. |
Constructor Summary | |
---|---|
PatternHandler.ProductionOptionsHandler()
|
Method Summary | |
---|---|
String |
getPatternTemplatePath()
|
boolean |
isEnabled()
Are options locally enabled ? |
void |
setCompileTemplateTo(boolean compile_p)
Set compile template flag to given one. |
void |
setEnabled(boolean enabled_p)
Set options enablement to given value. |
void |
setModifyBufferTo(boolean modifyBuffer_p)
Set modify buffer flag to given one. |
void |
setPatternTemplatePath(String patternTemplatePath_p)
Set pattern template production relative path. |
boolean |
shouldCompileTemplate()
|
boolean |
shouldModifyBuffer()
Should template buffer be modified (true), including replacement, or should standard way be used (false) ? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String _patternTemplatePath
protected boolean _compileTemplate
protected boolean _bufferModification
protected boolean _enabled
Constructor Detail |
---|
public PatternHandler.ProductionOptionsHandler()
Method Detail |
---|
public String getPatternTemplatePath()
public void setPatternTemplatePath(String patternTemplatePath_p)
patternTemplatePath_p
instead. Set again to
null or ICommonConstants.EMPTY_STRING
if default behavior must be restored.
patternTemplatePath_p
- public boolean shouldCompileTemplate()
public void setCompileTemplateTo(boolean compile_p)
compile_p
- public boolean shouldModifyBuffer()
public void setModifyBufferTo(boolean modifyBuffer_p)
modifyBuffer_p
- public boolean isEnabled()
public void setEnabled(boolean enabled_p)
enabled_p
-
|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) Thales Corporate Services S.A.S, 2009.
This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.