public final class DependencyValidationManagerImpl extends DependencyValidationManager
NamedScopesHolder.ScopeListenermyProject| Constructor and Description | 
|---|
| DependencyValidationManagerImpl(Project project) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addRule(DependencyRule rule) | 
| void | fireScopeListeners() | 
| DependencyRule [] | getAllRules() | 
| DependencyRule [] | getApplicableRules(PsiFile file) | 
| java.lang.String | getDisplayName() | 
| javax.swing.Icon | getIcon() | 
| NamedScope | getPredefinedScope(java.lang.String name) | 
| java.util.List<NamedScope> | getPredefinedScopes() | 
| NamedScope | getScope(java.lang.String name) | 
| java.util.List<Pair<NamedScope,NamedScopesHolder>> | getScopeBasedHighlightingCachedScopes() | 
| Element | getState() | 
| java.util.Map<java.lang.String,PackageSet> | getUnnamedScopes() | 
| DependencyRule | getViolatorDependencyRule(PsiFile from,
                         PsiFile to) | 
| DependencyRule [] | getViolatorDependencyRules(PsiFile from,
                          PsiFile to) | 
| boolean | hasRules() | 
| void | loadState(Element element)This method is called when new component state is loaded. | 
| void | removeAllRules() | 
| void | setScopes(NamedScope [] scopes) | 
| void | setSkipImportStatements(boolean skip) | 
| boolean | skipImportStatements() | 
getInstanceaddScope, addScopeListener, addScopeListener, createScope, getAllNamedScopeHolders, getEditableScopes, getHolder, getProject, getProjectBaseDir, getScope, getScopes, removeAllSetsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitializeComponent, noStateLoadedpublic DependencyValidationManagerImpl(Project project)
public java.util.List<NamedScope> getPredefinedScopes()
getPredefinedScopes in class NamedScopesHolderpublic NamedScope getPredefinedScope(java.lang.String name)
getPredefinedScope in class NamedScopesHolderpublic boolean hasRules()
hasRules in class DependencyValidationManagerpublic DependencyRule getViolatorDependencyRule(PsiFile from, PsiFile to)
getViolatorDependencyRule in class DependencyValidationManagerpublic DependencyRule [] getViolatorDependencyRules(PsiFile from, PsiFile to)
getViolatorDependencyRules in class DependencyValidationManagerpublic DependencyRule [] getApplicableRules(PsiFile file)
getApplicableRules in class DependencyValidationManagerpublic boolean skipImportStatements()
skipImportStatements in class DependencyValidationManagerpublic void setSkipImportStatements(boolean skip)
setSkipImportStatements in class DependencyValidationManagerpublic java.util.Map<java.lang.String,PackageSet> getUnnamedScopes()
getUnnamedScopes in class DependencyValidationManagerpublic DependencyRule [] getAllRules()
getAllRules in class DependencyValidationManagerpublic void removeAllRules()
removeAllRules in class DependencyValidationManagerpublic void addRule(DependencyRule rule)
addRule in class DependencyValidationManagerpublic java.lang.String getDisplayName()
getDisplayName in class NamedScopesHolderpublic javax.swing.Icon getIcon()
getIcon in class NamedScopesHolderpublic void loadState(Element element)
PersistentStateComponentState object should be used directly, defensive copying is not required.
loadState in interface PersistentStateComponent<Element>loadState in class NamedScopesHolderelement - 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 NamedScope getScope(java.lang.String name)
getScope in class NamedScopesHolderpublic java.util.List<Pair<NamedScope,NamedScopesHolder>> getScopeBasedHighlightingCachedScopes()
public void fireScopeListeners()
fireScopeListeners in class NamedScopesHolderpublic void setScopes(NamedScope [] scopes)
setScopes in class NamedScopesHolder