com.intellij.usages.impl
Class UsageFilteringRuleProviderImpl

java.lang.Object
  extended by com.intellij.usages.impl.UsageFilteringRuleProviderImpl
All Implemented Interfaces:
ApplicationComponent, BaseComponent, JDOMExternalizable, UsageFilteringRuleProvider

public class UsageFilteringRuleProviderImpl
extends java.lang.Object
implements UsageFilteringRuleProvider, JDOMExternalizable

Created by IntelliJ IDEA. User: max Date: Dec 27, 2004 Time: 8:20:57 PM To change this template use File | Settings | File Templates.


Field Summary
 boolean SHOW_IMPORTS
           
 boolean SHOW_READ_ACCESS
           
 boolean SHOW_WRITE_ACCESS
           
 
Constructor Summary
UsageFilteringRuleProviderImpl()
           
 
Method Summary
 AnAction[] createFilteringActions(UsageView view)
           
 void disposeComponent()
          Component should dispose system resources or perform another cleanup in this method.
 UsageFilteringRule[] getActiveRules(Project project)
           
 java.lang.String getComponentName()
          Unique name of this component.
 void initComponent()
          Component should do initialization and communication with another components in this method.
 void readExternal(org.jdom.Element element)
           
 void writeExternal(org.jdom.Element element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHOW_IMPORTS

public boolean SHOW_IMPORTS

SHOW_READ_ACCESS

public boolean SHOW_READ_ACCESS

SHOW_WRITE_ACCESS

public boolean SHOW_WRITE_ACCESS
Constructor Detail

UsageFilteringRuleProviderImpl

public UsageFilteringRuleProviderImpl()
Method Detail

getActiveRules

public UsageFilteringRule[] getActiveRules(Project project)
Specified by:
getActiveRules in interface UsageFilteringRuleProvider

createFilteringActions

public AnAction[] createFilteringActions(UsageView view)
Specified by:
createFilteringActions in interface UsageFilteringRuleProvider

getComponentName

public java.lang.String getComponentName()
Description copied from interface: BaseComponent
Unique name of this component. If there is another component with the same name or name is null internal assertion will occur.

Specified by:
getComponentName in interface BaseComponent
Returns:
the name of this component

readExternal

public void readExternal(org.jdom.Element element)
                  throws InvalidDataException
Specified by:
readExternal in interface JDOMExternalizable
Throws:
InvalidDataException

writeExternal

public void writeExternal(org.jdom.Element element)
                   throws WriteExternalException
Specified by:
writeExternal in interface JDOMExternalizable
Throws:
WriteExternalException

initComponent

public void initComponent()
Description copied from interface: BaseComponent
Component should do initialization and communication with another components in this method.

Specified by:
initComponent in interface BaseComponent

disposeComponent

public void disposeComponent()
Description copied from interface: BaseComponent
Component should dispose system resources or perform another cleanup in this method.

Specified by:
disposeComponent in interface BaseComponent