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 String
getChars
(int n, char character) getColon()
getComa()
getEndingComa
(int tab) getEqual()
int
getOptions
(org.eclipse.jface.preference.IPreferenceStore preferenceStore) getPipe()
getPoint()
getRuleBrace
(int indentation) int
boolean
void
retrievePreferences
(Map<String, String> options) Retrieves the preferences from an option map.void
retrievePreferences
(org.eclipse.jface.preference.IPreferenceStore preferenceStore) Retrieves the preferences from a preference store.void
setSpacesInsideCollectionBrace
(int spacesInsideCollectionBrace) void
setSpacesOutsideCollectionBrace
(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)
-