public class FindInProjectSettingsBase extends java.lang.Object implements PersistentStateComponent<FindInProjectSettingsBase>
Modifier and Type | Field and Description |
---|---|
java.util.List<java.lang.String> |
dirStrings |
java.util.List<java.lang.String> |
findStrings |
java.util.List<java.lang.String> |
replaceStrings |
Constructor and Description |
---|
FindInProjectSettingsBase() |
Modifier and Type | Method and Description |
---|---|
void |
addDirectory(java.lang.String s) |
void |
addStringToFind(java.lang.String s) |
void |
addStringToReplace(java.lang.String s) |
java.util.List<java.lang.String> |
getRecentDirectories() |
java.lang.String [] |
getRecentFindStrings() |
java.lang.String [] |
getRecentReplaceStrings() |
FindInProjectSettingsBase |
getState() |
void |
loadState(FindInProjectSettingsBase state)
This method is called when new component state is loaded.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public java.util.List<java.lang.String> findStrings
public java.util.List<java.lang.String> replaceStrings
public java.util.List<java.lang.String> dirStrings
public void loadState(FindInProjectSettingsBase state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<FindInProjectSettingsBase>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)
public FindInProjectSettingsBase getState()
getState
in interface PersistentStateComponent<FindInProjectSettingsBase>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void addDirectory(java.lang.String s)
public java.util.List<java.lang.String> getRecentDirectories()
public void addStringToFind(java.lang.String s)
public void addStringToReplace(java.lang.String s)
public java.lang.String [] getRecentFindStrings()
public java.lang.String [] getRecentReplaceStrings()