Class MarkOccurencesPreferences
- java.lang.Object
-
- com._1c.g5.v8.dt.bsl.ui.editor.occurrences.MarkOccurencesPreferences
-
public class MarkOccurencesPreferences extends Object
Mark occurrences preferences.Contains preferences for configuring strategy of searching the same occurrences in Built-In language
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MarkOccurencesPreferences.Initializer
Preferences store initializer for mark occurrences
-
Field Summary
Fields Modifier and Type Field Description static String
MARK_OCCURRENCES_ANALYSER_TYPE
The main preferences key of the strategy of searching the same occurrencesstatic String
MARK_OCCURRENCES_ANALYSER_TYPE_PLAIN_TEXT
Preferences value for strategy of of searching the same occurrences corresponding to the text searchingstatic String
MARK_OCCURRENCES_ANALYSER_TYPE_SEMANTIC
Preferences value for strategy of of searching the same occurrences corresponding to the model searchingprotected org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreAccess
preferenceStoreAccess
-
Constructor Summary
Constructors Constructor Description MarkOccurencesPreferences()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isPlainTextAnalyzerType()
Checks that strategy of find occurrences is text searchingboolean
isSemanticAnalyzerType()
Checks that strategy of find occurrences is model searchingvoid
setMarkOccurencesAnalyzerType(boolean isPlainText)
Sets the strategy of searching the same occurrences
-
-
-
Field Detail
-
MARK_OCCURRENCES_ANALYSER_TYPE
public static final String MARK_OCCURRENCES_ANALYSER_TYPE
The main preferences key of the strategy of searching the same occurrences- See Also:
- Constant Field Values
-
MARK_OCCURRENCES_ANALYSER_TYPE_SEMANTIC
public static final String MARK_OCCURRENCES_ANALYSER_TYPE_SEMANTIC
Preferences value for strategy of of searching the same occurrences corresponding to the model searching- See Also:
- Constant Field Values
-
MARK_OCCURRENCES_ANALYSER_TYPE_PLAIN_TEXT
public static final String MARK_OCCURRENCES_ANALYSER_TYPE_PLAIN_TEXT
Preferences value for strategy of of searching the same occurrences corresponding to the text searching- See Also:
- Constant Field Values
-
preferenceStoreAccess
@Inject protected org.eclipse.xtext.ui.editor.preferences.IPreferenceStoreAccess preferenceStoreAccess
-
-
Method Detail
-
isPlainTextAnalyzerType
public boolean isPlainTextAnalyzerType()
Checks that strategy of find occurrences is text searching- Returns:
true
if the current strategy of find occurrences is text searching,false
if strategy is model searching
-
isSemanticAnalyzerType
public boolean isSemanticAnalyzerType()
Checks that strategy of find occurrences is model searching- Returns:
true
if the current strategy of find occurrences is model searching,false
if strategy is text searching
-
setMarkOccurencesAnalyzerType
public void setMarkOccurencesAnalyzerType(boolean isPlainText)
Sets the strategy of searching the same occurrences- Parameters:
isPlainText
- iftrue
strategy of find occurrences will be the text searching, otherwise strategy will be the model searching
-
-