public class DefaultSingleLineCommentHelper extends Object implements ISingleLineCommentHelper
| Modifier and Type | Field and Description |
|---|---|
static String |
SL_COMMENT |
| Constructor and Description |
|---|
DefaultSingleLineCommentHelper() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
calculatePrefixes(AbstractRule rule) |
protected SLCommentPrefixCalculator |
createCalculator(List<String> result) |
String[] |
getDefaultPrefixes(org.eclipse.jface.text.source.ISourceViewer sourceViewer,
String contentType) |
IGrammarAccess |
getGrammarAccess() |
String |
getSingleLineCommentRule() |
void |
setGrammarAccess(IGrammarAccess grammarAccess) |
void |
setSingleLineCommentRule(String singleLineCommentRule) |
public static final String SL_COMMENT
public String[] getDefaultPrefixes(org.eclipse.jface.text.source.ISourceViewer sourceViewer, String contentType)
getDefaultPrefixes in interface ISingleLineCommentHelperprotected void calculatePrefixes(AbstractRule rule)
protected SLCommentPrefixCalculator createCalculator(List<String> result)
public void setGrammarAccess(IGrammarAccess grammarAccess)
public IGrammarAccess getGrammarAccess()
public void setSingleLineCommentRule(String singleLineCommentRule)
public String getSingleLineCommentRule()
Copyright © 2016. All Rights Reserved.