com.intellij.usages.impl
Class UsageGroupingRuleProviderImpl

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

public class UsageGroupingRuleProviderImpl
extends java.lang.Object
implements UsageGroupingRuleProvider, 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 GROUP_BY_FILE_STRUCTURE
           
 boolean GROUP_BY_MODULE
           
 boolean GROUP_BY_PACKAGE
           
 boolean GROUP_BY_USAGE_TYPE
           
 
Constructor Summary
UsageGroupingRuleProviderImpl()
           
 
Method Summary
 AnAction[] createGroupingActions(UsageView view)
           
 void disposeComponent()
          Component should dispose system resources or perform another cleanup in this method.
 UsageGroupingRule[] 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

GROUP_BY_USAGE_TYPE

public boolean GROUP_BY_USAGE_TYPE

GROUP_BY_MODULE

public boolean GROUP_BY_MODULE

GROUP_BY_PACKAGE

public boolean GROUP_BY_PACKAGE

GROUP_BY_FILE_STRUCTURE

public boolean GROUP_BY_FILE_STRUCTURE
Constructor Detail

UsageGroupingRuleProviderImpl

public UsageGroupingRuleProviderImpl()
Method Detail

getActiveRules

public UsageGroupingRule[] getActiveRules(Project project)
Specified by:
getActiveRules in interface UsageGroupingRuleProvider

createGroupingActions

public AnAction[] createGroupingActions(UsageView view)
Specified by:
createGroupingActions in interface UsageGroupingRuleProvider

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