public class PsiViewerSettings extends java.lang.Object implements PersistentStateComponent<PsiViewerSettings>
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
dialect |
int |
lastSelectedTabIndex |
boolean |
showTreeNodes |
boolean |
showWhiteSpaces |
java.lang.String |
text |
int |
textDividerLocation |
int |
treeDividerLocation |
java.lang.String |
type |
| Constructor and Description |
|---|
PsiViewerSettings() |
| Modifier and Type | Method and Description |
|---|---|
static PsiViewerSettings |
getSettings() |
PsiViewerSettings |
getState() |
void |
loadState(PsiViewerSettings state)
This method is called when new component state is loaded.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitializeComponent, noStateLoadedpublic boolean showWhiteSpaces
public boolean showTreeNodes
public java.lang.String type
public java.lang.String text
public java.lang.String dialect
public int textDividerLocation
public int treeDividerLocation
public int lastSelectedTabIndex
public static PsiViewerSettings getSettings()
public PsiViewerSettings getState()
getState in interface PersistentStateComponent<PsiViewerSettings>null value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializerpublic void loadState(PsiViewerSettings state)
PersistentStateComponentState object should be used directly, defensive copying is not required.
loadState in interface PersistentStateComponent<PsiViewerSettings>state - loaded component stateXmlSerializerUtil.copyBean(Object, Object)