public class RefactoringSettings extends java.lang.Object implements PersistentStateComponent<RefactoringSettings>
Modifier and Type | Field and Description |
---|---|
boolean |
MOVE_SEARCH_FOR_REFERENCES_FOR_FILE |
boolean |
RENAME_SEARCH_FOR_REFERENCES_FOR_DIRECTORY |
boolean |
RENAME_SEARCH_FOR_REFERENCES_FOR_FILE |
boolean |
RENAME_SEARCH_FOR_TEXT_FOR_FILE |
boolean |
RENAME_SEARCH_IN_COMMENTS_FOR_FILE |
boolean |
SAFE_DELETE_SEARCH_IN_COMMENTS |
boolean |
SAFE_DELETE_SEARCH_IN_NON_JAVA |
boolean |
SAFE_DELETE_WHEN_DELETE |
Constructor and Description |
---|
RefactoringSettings() |
Modifier and Type | Method and Description |
---|---|
static RefactoringSettings |
getInstance() |
RefactoringSettings |
getState() |
void |
loadState(RefactoringSettings 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 boolean SAFE_DELETE_WHEN_DELETE
public boolean SAFE_DELETE_SEARCH_IN_COMMENTS
public boolean SAFE_DELETE_SEARCH_IN_NON_JAVA
public boolean RENAME_SEARCH_IN_COMMENTS_FOR_FILE
public boolean RENAME_SEARCH_FOR_TEXT_FOR_FILE
public boolean RENAME_SEARCH_FOR_REFERENCES_FOR_FILE
public boolean RENAME_SEARCH_FOR_REFERENCES_FOR_DIRECTORY
public boolean MOVE_SEARCH_FOR_REFERENCES_FOR_FILE
public static RefactoringSettings getInstance()
public RefactoringSettings getState()
getState
in interface PersistentStateComponent<RefactoringSettings>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(RefactoringSettings state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<RefactoringSettings>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)