public class NamedScopeManager extends NamedScopesHolder
Modifier and Type | Class and Description |
---|---|
static class |
NamedScopeManager.OrderState |
NamedScopesHolder.ScopeListener
Modifier and Type | Field and Description |
---|---|
NamedScopeManager.OrderState |
myOrderState |
myProject
Constructor and Description |
---|
NamedScopeManager(Project project) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayName() |
javax.swing.Icon |
getIcon() |
static NamedScopeManager |
getInstance(Project project) |
Element |
getState() |
void |
loadState(Element state)
This method is called when new component state is loaded.
|
addScope, addScopeListener, addScopeListener, createScope, fireScopeListeners, getAllNamedScopeHolders, getEditableScopes, getHolder, getPredefinedScope, getPredefinedScopes, getProject, getProjectBaseDir, getScope, getScope, getScopes, removeAllSets, setScopes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public NamedScopeManager.OrderState myOrderState
public NamedScopeManager(Project project)
public static NamedScopeManager getInstance(Project project)
public void loadState(Element state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<Element>
loadState
in class NamedScopesHolder
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)
public Element getState()
getState
in interface PersistentStateComponent<Element>
getState
in class NamedScopesHolder
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public java.lang.String getDisplayName()
getDisplayName
in class NamedScopesHolder
public javax.swing.Icon getIcon()
getIcon
in class NamedScopesHolder