org.eclipse.xtext.formatting.IIndentationInformation Java Examples
The following examples show how to use
org.eclipse.xtext.formatting.IIndentationInformation.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: FormattingConfig.java From xtext-core with Eclipse Public License 2.0 | 5 votes |
/** * @deprecated use {@link FormattingConfig2} instead */ @Deprecated public FormattingConfig(IGrammarAccess grammarAccess, IHiddenTokenHelper hiddenTokenHelper, IIndentationInformation indentInfo) { super(grammarAccess, hiddenTokenHelper); this.indentInfo = indentInfo; }
Example #2
Source File: DefaultUiModule.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
public Class<? extends IIndentationInformation> bindIIndentationInformation() { return PreferenceStoreIndentationInformation.class; }
Example #3
Source File: PreferenceStoreWhitespaceInformationProvider.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
@Override public IIndentationInformation getIndentationInformation(URI uri) { return indentInfo; }
Example #4
Source File: DotFormatter.java From gef with Eclipse Public License 2.0 | 4 votes |
protected IIndentationInformation getIndentInfo() { return whitespaceInformationProvider .getIndentationInformation(contextResourceURI); }
Example #5
Source File: FormattingConfig2.java From xtext-core with Eclipse Public License 2.0 | 4 votes |
public FormattingConfig2(IGrammarAccess grammarAccess, IHiddenTokenHelper hiddenTokenHelper, IIndentationInformation indentInfo, ILineSeparatorInformation lineSeparatorInfo) { super(grammarAccess, hiddenTokenHelper, indentInfo); this.lineSeparatorInfo = lineSeparatorInfo; }
Example #6
Source File: AbstractDeclarativeFormatter.java From xtext-core with Eclipse Public License 2.0 | 4 votes |
protected IIndentationInformation getIndentInfo() { return whitespaceInformationProvider.getIndentationInformation(contextResourceURI); }
Example #7
Source File: FormatterTestConfig.java From dsl-devkit with Eclipse Public License 1.0 | 4 votes |
@Override protected IIndentationInformation getIndentInfo() { return indentInfo; }
Example #8
Source File: ExtendedFormattingConfig.java From dsl-devkit with Eclipse Public License 1.0 | 2 votes |
/** * 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); }