Java 类org.eclipse.xtext.formatting.IIndentationInformation 实例源码

项目:Saturn    文件:KronusFormatter.java   
protected IIndentationInformation getIndentInfo() {
  final IIndentationInformation _function = new IIndentationInformation() {
    public String getIndentString() {
      return "  ";
    }
  };
  return _function;
}
项目:xtext-core    文件:FormattingConfig.java   
/**
 * @deprecated use {@link FormattingConfig2} instead
 */
@Deprecated
public FormattingConfig(IGrammarAccess grammarAccess, IHiddenTokenHelper hiddenTokenHelper,
        IIndentationInformation indentInfo) {
    super(grammarAccess, hiddenTokenHelper);
    this.indentInfo = indentInfo;
}
项目:xtext-core    文件:FormattingConfig2.java   
public FormattingConfig2(IGrammarAccess grammarAccess, IHiddenTokenHelper hiddenTokenHelper,
        IIndentationInformation indentInfo, ILineSeparatorInformation lineSeparatorInfo) {
    super(grammarAccess, hiddenTokenHelper, indentInfo);
    this.lineSeparatorInfo = lineSeparatorInfo;
}
项目:xtext-core    文件:AbstractDeclarativeFormatter.java   
protected IIndentationInformation getIndentInfo() {
    return whitespaceInformationProvider.getIndentationInformation(contextResourceURI);
}
项目:dsl-devkit    文件:FormatterTestConfig.java   
@Override
protected IIndentationInformation getIndentInfo() {
  return indentInfo;
}
项目:bts    文件:DefaultUiModule.java   
public Class<? extends IIndentationInformation> bindIIndentationInformation() {
    return PreferenceStoreIndentationInformation.class;
}
项目:bts    文件:PreferenceStoreWhitespaceInformationProvider.java   
public IIndentationInformation getIndentationInformation(URI uri) {
    return indentInfo;
}
项目:dsl-devkit    文件:ExtendedFormattingConfig.java   
/**
 * Instantiates a new AcfFormattingConfig.
 *
 * @param grammarAccess
 *          the grammar access
 * @param hiddenTokenHelper
 *          the hidden token helper
 * @param indentInfo
 *          the indent info
 * @param lineSeparatorInfo
 *          the line separator info
 */
public ExtendedFormattingConfig(final IGrammarAccess grammarAccess, final IHiddenTokenHelper hiddenTokenHelper, final IIndentationInformation indentInfo, final ILineSeparatorInformation lineSeparatorInfo) {
  super(grammarAccess, hiddenTokenHelper, indentInfo, lineSeparatorInfo);
}