Class AtlCodeFormatterPreferences
java.lang.Object
org.eclipse.m2m.atl.adt.ui.editor.formatter.AtlCodeFormatterPreferences
ATL code formatter preferences.
-
Constructor Summary
ConstructorsConstructorDescriptionAtlCodeFormatterPreferences(Map<String, String> options) AtlCodeFormatterPreferences(org.eclipse.jface.preference.IPreferenceStore preferenceStore) -
Method Summary
Modifier and TypeMethodDescriptiongetAfterOperator(int indentation) getBeforeOperator(int indentation) static StringgetChars(int n, char character) getColon()getComa()getEndingComa(int tab) getEqual()intgetOptions(org.eclipse.jface.preference.IPreferenceStore preferenceStore) getPipe()getPoint()getRuleBrace(int indentation) intbooleanvoidretrievePreferences(Map<String, String> options) Retrieves the preferences from an option map.voidretrievePreferences(org.eclipse.jface.preference.IPreferenceStore preferenceStore) Retrieves the preferences from a preference store.voidsetSpacesInsideCollectionBrace(int spacesInsideCollectionBrace) voidsetSpacesOutsideCollectionBrace(int spacesOutsideCollectionBrace)
-
Constructor Details
-
AtlCodeFormatterPreferences
public AtlCodeFormatterPreferences() -
AtlCodeFormatterPreferences
public AtlCodeFormatterPreferences(org.eclipse.jface.preference.IPreferenceStore preferenceStore) -
AtlCodeFormatterPreferences
-
-
Method Details
-
retrievePreferences
public void retrievePreferences(org.eclipse.jface.preference.IPreferenceStore preferenceStore) Retrieves the preferences from a preference store.- Parameters:
preferenceStore- the preference store
-
retrievePreferences
Retrieves the preferences from an option map.- Parameters:
options- the options map
-
getOptions
-
getDefaultOptions
-
getChars
-
getLineMaxLength
public int getLineMaxLength() -
getTabSpaces
public int getTabSpaces() -
getLinesSpaces
-
getOpeningBracket
-
getClosingBracket
-
getBindingArrow
-
getCallingArrow
-
getSemicolon
-
getComa
-
getEndingComa
-
getColon
-
getPoint
-
getEqual
-
getEndingEqual
-
getPipe
-
getExclamation
-
getEndingSemicolon
-
getSpacesAfterComment
-
getOpeningCollectionBrace
-
getClosingCollectionBrace
-
getRuleBrace
-
getBeforeOperator
-
getAfterOperator
-
getLinesAfterModule
-
getLinesAfterCreateFrom
-
getLinesAfterSpecialTags
-
isCutAfterPoint
public boolean isCutAfterPoint() -
setSpacesOutsideCollectionBrace
public void setSpacesOutsideCollectionBrace(int spacesOutsideCollectionBrace) -
setSpacesInsideCollectionBrace
public void setSpacesInsideCollectionBrace(int spacesInsideCollectionBrace)
-