public class FindSettingsImpl extends FindSettings implements PersistentStateComponent<FindSettingsImpl>
| Modifier and Type | Field and Description |
|---|---|
boolean |
CASE_SENSITIVE_SEARCH |
boolean |
COMMENTS_ONLY |
boolean |
EXCEPT_COMMENTS |
boolean |
EXCEPT_COMMENTS_AND_STRING_LITERALS |
boolean |
EXCEPT_STRING_LITERALS |
java.lang.String |
FILE_MASK |
java.lang.String |
FIND_DIRECTION |
java.lang.String |
FIND_ORIGIN |
java.lang.String |
FIND_SCOPE |
boolean |
LOCAL_CASE_SENSITIVE_SEARCH |
boolean |
LOCAL_REGULAR_EXPRESSIONS |
boolean |
LOCAL_WHOLE_WORDS_ONLY |
boolean |
PRESERVE_CASE_REPLACE |
java.util.List<java.lang.String> |
recentFileMasks |
boolean |
REGULAR_EXPRESSIONS |
boolean |
SEARCH_OVERLOADED_METHODS |
java.lang.String |
SEARCH_SCOPE |
boolean |
SHOW_RESULTS_IN_SEPARATE_VIEW |
boolean |
SKIP_RESULTS_WHEN_ONE_USAGE |
boolean |
STRING_LITERALS_ONLY |
boolean |
WHOLE_WORDS_ONLY |
boolean |
WITH_SUBDIRECTORIES |
| Constructor and Description |
|---|
FindSettingsImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addStringToFind(java.lang.String s) |
void |
addStringToReplace(java.lang.String s) |
java.lang.String |
getCustomScope() |
java.lang.String |
getDefaultScopeName() |
java.lang.String |
getFileMask() |
java.lang.String [] |
getRecentFileMasks()
Returns the list of file masks used by the user in the "File name filter"
group box.
|
java.lang.String [] |
getRecentFindStrings() |
java.lang.String [] |
getRecentReplaceStrings() |
FindSettingsImpl |
getState() |
void |
initModelBySetings(FindModel model) |
boolean |
isCaseSensitive() |
boolean |
isExceptComments() |
boolean |
isExceptCommentsAndLiterals() |
boolean |
isExceptStringLiterals() |
boolean |
isForward() |
boolean |
isFromCursor() |
boolean |
isGlobal() |
boolean |
isInCommentsOnly() |
boolean |
isInStringLiteralsOnly() |
boolean |
isLocalCaseSensitive() |
boolean |
isLocalRegularExpressions() |
boolean |
isLocalWholeWordsOnly() |
boolean |
isPreserveCase() |
boolean |
isRegularExpressions() |
boolean |
isSearchOverloadedMethods() |
boolean |
isShowResultsInSeparateView() |
boolean |
isSkipResultsWithOneUsage() |
boolean |
isWholeWordsOnly() |
void |
loadState(FindSettingsImpl state)
This method is called when new component state is loaded.
|
void |
setCaseSensitive(boolean caseSensitiveSearch) |
void |
setCustomScope(java.lang.String SEARCH_SCOPE) |
void |
setDefaultScopeName(java.lang.String scope) |
void |
setExceptComments(boolean selected) |
void |
setExceptCommentsAndLiterals(boolean selected) |
void |
setExceptStringLiterals(boolean selected) |
void |
setFileMask(java.lang.String _fileMask) |
void |
setForward(boolean findDirectionForward) |
void |
setFromCursor(boolean findFromCursor) |
void |
setGlobal(boolean findGlobalScope) |
void |
setInCommentsOnly(boolean selected) |
void |
setInStringLiteralsOnly(boolean selected) |
void |
setLocalCaseSensitive(boolean caseSensitiveSearch) |
void |
setLocalRegularExpressions(boolean regularExpressions) |
void |
setLocalWholeWordsOnly(boolean wholeWordsOnly) |
void |
setPreserveCase(boolean preserveCase) |
void |
setRegularExpressions(boolean regularExpressions) |
void |
setSearchOverloadedMethods(boolean search) |
void |
setShowResultsInSeparateView(boolean optionValue) |
void |
setSkipResultsWithOneUsage(boolean skip) |
void |
setWholeWordsOnly(boolean wholeWordsOnly) |
void |
setWithSubdirectories(boolean b) |
getInstanceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitializeComponent, noStateLoadedpublic boolean SEARCH_OVERLOADED_METHODS
public boolean SKIP_RESULTS_WHEN_ONE_USAGE
public java.lang.String FIND_DIRECTION
public java.lang.String FIND_ORIGIN
public java.lang.String FIND_SCOPE
public boolean CASE_SENSITIVE_SEARCH
public boolean LOCAL_CASE_SENSITIVE_SEARCH
public boolean PRESERVE_CASE_REPLACE
public boolean WHOLE_WORDS_ONLY
public boolean COMMENTS_ONLY
public boolean STRING_LITERALS_ONLY
public boolean EXCEPT_COMMENTS
public boolean EXCEPT_COMMENTS_AND_STRING_LITERALS
public boolean EXCEPT_STRING_LITERALS
public boolean LOCAL_WHOLE_WORDS_ONLY
public boolean REGULAR_EXPRESSIONS
public boolean LOCAL_REGULAR_EXPRESSIONS
public boolean WITH_SUBDIRECTORIES
public boolean SHOW_RESULTS_IN_SEPARATE_VIEW
public java.lang.String SEARCH_SCOPE
public java.lang.String FILE_MASK
public java.util.List<java.lang.String> recentFileMasks
public boolean isSearchOverloadedMethods()
isSearchOverloadedMethods in class FindSettingspublic void setSearchOverloadedMethods(boolean search)
setSearchOverloadedMethods in class FindSettingspublic void loadState(FindSettingsImpl state)
PersistentStateComponentState object should be used directly, defensive copying is not required.
loadState in interface PersistentStateComponent<FindSettingsImpl>state - loaded component stateXmlSerializerUtil.copyBean(Object, Object)public FindSettingsImpl getState()
getState in interface PersistentStateComponent<FindSettingsImpl>null value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializerpublic boolean isSkipResultsWithOneUsage()
isSkipResultsWithOneUsage in class FindSettingspublic void setSkipResultsWithOneUsage(boolean skip)
setSkipResultsWithOneUsage in class FindSettingspublic java.lang.String getDefaultScopeName()
getDefaultScopeName in class FindSettingspublic void setDefaultScopeName(java.lang.String scope)
setDefaultScopeName in class FindSettingspublic boolean isForward()
isForward in class FindSettingspublic void setForward(boolean findDirectionForward)
setForward in class FindSettingspublic boolean isFromCursor()
isFromCursor in class FindSettingspublic void setFromCursor(boolean findFromCursor)
setFromCursor in class FindSettingspublic boolean isGlobal()
isGlobal in class FindSettingspublic void setGlobal(boolean findGlobalScope)
setGlobal in class FindSettingspublic boolean isCaseSensitive()
isCaseSensitive in class FindSettingspublic void setCaseSensitive(boolean caseSensitiveSearch)
setCaseSensitive in class FindSettingspublic boolean isLocalCaseSensitive()
isLocalCaseSensitive in class FindSettingspublic boolean isLocalWholeWordsOnly()
isLocalWholeWordsOnly in class FindSettingspublic void setLocalCaseSensitive(boolean caseSensitiveSearch)
setLocalCaseSensitive in class FindSettingspublic void setLocalWholeWordsOnly(boolean wholeWordsOnly)
setLocalWholeWordsOnly in class FindSettingspublic boolean isPreserveCase()
isPreserveCase in class FindSettingspublic void setPreserveCase(boolean preserveCase)
setPreserveCase in class FindSettingspublic boolean isWholeWordsOnly()
isWholeWordsOnly in class FindSettingspublic void setWholeWordsOnly(boolean wholeWordsOnly)
setWholeWordsOnly in class FindSettingspublic boolean isRegularExpressions()
isRegularExpressions in class FindSettingspublic void setRegularExpressions(boolean regularExpressions)
setRegularExpressions in class FindSettingspublic boolean isLocalRegularExpressions()
isLocalRegularExpressions in class FindSettingspublic void setLocalRegularExpressions(boolean regularExpressions)
setLocalRegularExpressions in class FindSettingspublic void setWithSubdirectories(boolean b)
setWithSubdirectories in class FindSettingspublic void initModelBySetings(FindModel model)
initModelBySetings in class FindSettingspublic void addStringToFind(java.lang.String s)
addStringToFind in class FindSettingspublic void addStringToReplace(java.lang.String s)
addStringToReplace in class FindSettingspublic java.lang.String [] getRecentFindStrings()
getRecentFindStrings in class FindSettingspublic java.lang.String [] getRecentReplaceStrings()
getRecentReplaceStrings in class FindSettingspublic java.lang.String [] getRecentFileMasks()
FindSettingsgetRecentFileMasks in class FindSettingspublic java.lang.String getFileMask()
getFileMask in class FindSettingspublic void setFileMask(java.lang.String _fileMask)
setFileMask in class FindSettingspublic java.lang.String getCustomScope()
getCustomScope in class FindSettingspublic boolean isInStringLiteralsOnly()
isInStringLiteralsOnly in class FindSettingspublic boolean isInCommentsOnly()
isInCommentsOnly in class FindSettingspublic void setInCommentsOnly(boolean selected)
setInCommentsOnly in class FindSettingspublic void setInStringLiteralsOnly(boolean selected)
setInStringLiteralsOnly in class FindSettingspublic void setCustomScope(java.lang.String SEARCH_SCOPE)
setCustomScope in class FindSettingspublic boolean isExceptComments()
isExceptComments in class FindSettingspublic void setExceptCommentsAndLiterals(boolean selected)
setExceptCommentsAndLiterals in class FindSettingspublic boolean isShowResultsInSeparateView()
isShowResultsInSeparateView in class FindSettingspublic void setShowResultsInSeparateView(boolean optionValue)
setShowResultsInSeparateView in class FindSettingspublic boolean isExceptCommentsAndLiterals()
isExceptCommentsAndLiterals in class FindSettingspublic void setExceptComments(boolean selected)
setExceptComments in class FindSettingspublic boolean isExceptStringLiterals()
isExceptStringLiterals in class FindSettingspublic void setExceptStringLiterals(boolean selected)
setExceptStringLiterals in class FindSettings