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, setScopesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitializeComponent, noStateLoadedpublic NamedScopeManager.OrderState myOrderState
public NamedScopeManager(Project project)
public static NamedScopeManager getInstance(Project project)
public void loadState(Element state)
PersistentStateComponentState object should be used directly, defensive copying is not required.
loadState in interface PersistentStateComponent<Element>loadState in class NamedScopesHolderstate - loaded component stateXmlSerializerUtil.copyBean(Object, Object)public Element getState()
getState in interface PersistentStateComponent<Element>getState in class NamedScopesHoldernull value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializerpublic java.lang.String getDisplayName()
getDisplayName in class NamedScopesHolderpublic javax.swing.Icon getIcon()
getIcon in class NamedScopesHolder