public class ProjectInspectionProfilesVisibleTreeState extends java.lang.Object implements PersistentStateComponent<VisibleTreeStateComponent>
Constructor and Description |
---|
ProjectInspectionProfilesVisibleTreeState() |
Modifier and Type | Method and Description |
---|---|
static ProjectInspectionProfilesVisibleTreeState |
getInstance(Project project) |
VisibleTreeStateComponent |
getState() |
VisibleTreeState |
getVisibleTreeState(InspectionProfile profile) |
void |
loadState(VisibleTreeStateComponent 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 ProjectInspectionProfilesVisibleTreeState()
public static ProjectInspectionProfilesVisibleTreeState getInstance(Project project)
public VisibleTreeStateComponent getState()
getState
in interface PersistentStateComponent<VisibleTreeStateComponent>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(VisibleTreeStateComponent state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<VisibleTreeStateComponent>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)
public VisibleTreeState getVisibleTreeState(InspectionProfile profile)