com.intellij.usages
Class UsageViewSettings

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

public class UsageViewSettings
extends java.lang.Object
implements JDOMExternalizable, ApplicationComponent


Field Summary
 java.lang.String EXPORT_FILE_NAME
           
 boolean IS_AUTOSCROLL_TO_SOURCE
           
 boolean IS_EXPANDED
           
 boolean IS_FILTER_DUPLICATED_LINE
           
 boolean IS_SHOW_METHODS
           
 boolean IS_SHOW_MODULES
           
 boolean IS_SHOW_PACKAGES
           
 
Constructor Summary
UsageViewSettings()
           
 
Method Summary
 void disposeComponent()
          Component should dispose system resources or perform another cleanup in this method.
 java.lang.String getComponentName()
          Unique name of this component.
 java.lang.String getExportFileName()
           
static UsageViewSettings getInstance()
           
 void initComponent()
          Component should do initialization and communication with another components in this method.
 boolean isExpanded()
           
 boolean isFilterDuplicatedLine()
           
 boolean isShowMethods()
           
 boolean isShowModules()
           
 boolean isShowPackages()
           
 void readExternal(org.jdom.Element element)
           
 void setExpanded(boolean val)
           
 void setExportFileName(java.lang.String s)
           
 void setFilterDuplicatedLine(boolean val)
           
 void setShowMethods(boolean val)
           
 void setShowModules(boolean val)
           
 void setShowPackages(boolean val)
           
 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

EXPORT_FILE_NAME

public java.lang.String EXPORT_FILE_NAME

IS_EXPANDED

public boolean IS_EXPANDED

IS_SHOW_PACKAGES

public boolean IS_SHOW_PACKAGES

IS_SHOW_METHODS

public boolean IS_SHOW_METHODS

IS_AUTOSCROLL_TO_SOURCE

public boolean IS_AUTOSCROLL_TO_SOURCE

IS_FILTER_DUPLICATED_LINE

public boolean IS_FILTER_DUPLICATED_LINE

IS_SHOW_MODULES

public boolean IS_SHOW_MODULES
Constructor Detail

UsageViewSettings

public UsageViewSettings()
Method Detail

getInstance

public static UsageViewSettings getInstance()

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

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

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

isExpanded

public boolean isExpanded()

setExpanded

public void setExpanded(boolean val)

isShowPackages

public boolean isShowPackages()

setShowPackages

public void setShowPackages(boolean val)

isShowMethods

public boolean isShowMethods()

isShowModules

public boolean isShowModules()

setShowMethods

public void setShowMethods(boolean val)

setShowModules

public void setShowModules(boolean val)

isFilterDuplicatedLine

public boolean isFilterDuplicatedLine()

setFilterDuplicatedLine

public void setFilterDuplicatedLine(boolean val)

getExportFileName

public java.lang.String getExportFileName()

setExportFileName

public void setExportFileName(java.lang.String s)