org.eclipse.xtext.ui.editor.formatting
Class PreferenceStoreWhitespaceInformationProvider

java.lang.Object
  extended by org.eclipse.xtext.ui.editor.formatting.PreferenceStoreWhitespaceInformationProvider
All Implemented Interfaces:
IWhitespaceInformationProvider

public class PreferenceStoreWhitespaceInformationProvider
extends java.lang.Object
implements IWhitespaceInformationProvider

Since:
2.3
Author:
Jan Koehnlein - Initial contribution and API

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.formatting.IWhitespaceInformationProvider
IWhitespaceInformationProvider.Default
 
Constructor Summary
PreferenceStoreWhitespaceInformationProvider()
           
 
Method Summary
 IIndentationInformation getIndentationInformation(org.eclipse.emf.common.util.URI uri)
           
 ILineSeparatorInformation getLineSeparatorInformation(org.eclipse.emf.common.util.URI uri)
           
protected  java.lang.String getLineSeparatorPreference(org.eclipse.core.runtime.preferences.IScopeContext scopeContext)
           
protected  java.lang.String getLineSeparatorPreference(org.eclipse.emf.common.util.URI uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreferenceStoreWhitespaceInformationProvider

public PreferenceStoreWhitespaceInformationProvider()
Method Detail

getIndentationInformation

public IIndentationInformation getIndentationInformation(org.eclipse.emf.common.util.URI uri)
Specified by:
getIndentationInformation in interface IWhitespaceInformationProvider

getLineSeparatorInformation

public ILineSeparatorInformation getLineSeparatorInformation(org.eclipse.emf.common.util.URI uri)
Specified by:
getLineSeparatorInformation in interface IWhitespaceInformationProvider

getLineSeparatorPreference

protected java.lang.String getLineSeparatorPreference(org.eclipse.emf.common.util.URI uri)

getLineSeparatorPreference

protected java.lang.String getLineSeparatorPreference(org.eclipse.core.runtime.preferences.IScopeContext scopeContext)