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