org.eclipse.emf.codegen.merge.java
Class JControlModel
java.lang.Object
org.eclipse.emf.codegen.merge.java.PrefixHandler
org.eclipse.emf.codegen.merge.java.JControlModel
- Direct Known Subclasses:
- JControlModel
- public class JControlModel
- extends org.eclipse.emf.codegen.merge.java.PrefixHandler
A control model that provides dictionaries and rules to drive a merge process.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
facadeHelper
protected FacadeHelper facadeHelper
dictionaryPatterns
protected List dictionaryPatterns
pullRules
protected List pullRules
sweepRules
protected List sweepRules
sortRules
protected List sortRules
blockPattern
protected Pattern blockPattern
noImportPattern
protected Pattern noImportPattern
redirect
protected String redirect
indentIsSet
protected boolean indentIsSet
indent
protected String indent
standardBraceStyleIsSet
protected boolean standardBraceStyleIsSet
standardBraceStyle
protected boolean standardBraceStyle
classPrefix
protected String classPrefix
JControlModel
public JControlModel()
classForClassName
public static Class classForClassName(String classPrefix,
String className)
setFacadeHelper
protected void setFacadeHelper(FacadeHelper facadeHelper)
getFacadeHelper
public FacadeHelper getFacadeHelper()
convertToStandardBraceStyle
public boolean convertToStandardBraceStyle()
setConvertToStandardBraceStyle
public void setConvertToStandardBraceStyle(boolean standardBraceStyle)
getLeadingTabReplacement
public String getLeadingTabReplacement()
setLeadingTabReplacement
public void setLeadingTabReplacement(String indent)
getRedirect
public String getRedirect()
getBlockPattern
public Pattern getBlockPattern()
getNoImportPattern
public Pattern getNoImportPattern()
getDictionaryPatterns
public List getDictionaryPatterns()
getPullRules
public List getPullRules()
getSweepRules
public List getSweepRules()
getSortRules
public List getSortRules()
canMerge
public boolean canMerge()
initialize
public void initialize(FacadeHelper facadeHelper,
String uri)
initialize
protected void initialize(String uri)
initialize
protected void initialize(Element element)
createDictionaryPattern
protected JControlModel.DictionaryPattern createDictionaryPattern(String classPrefix,
Element elementChild)
createPullRule
protected JControlModel.PullRule createPullRule(String classPrefix,
Element elementChild)
createSweepRule
protected JControlModel.SweepRule createSweepRule(String classPrefix,
Element elementChild)
createSortRule
protected JControlModel.SortRule createSortRule(String classPrefix,
Element elementChild)
setClassPrefix
protected void setClassPrefix(String classPrefix)
getClassPrefix
public String getClassPrefix()
computeClassName
public String computeClassName(String className)