com.intellij.openapi.options
Class BaseConfigurable

java.lang.Object
  extended by com.intellij.openapi.options.BaseConfigurable
All Implemented Interfaces:
Configurable, UnnamedConfigurable
Direct Known Subclasses:
BaseConfigurableWithChangeSupport, SettingsEditorConfigurable

public abstract class BaseConfigurable
extends java.lang.Object
implements Configurable


Field Summary
protected  boolean myModified
           
 
Constructor Summary
BaseConfigurable()
           
 
Method Summary
 javax.swing.JComponent getPreferredFocusedComponent()
           
 boolean isModified()
          Checks if the settings in the user interface component were modified by the user and need to be saved.
protected  void setModified(boolean modified)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.intellij.openapi.options.Configurable
getDisplayName, getHelpTopic, getIcon
 
Methods inherited from interface com.intellij.openapi.options.UnnamedConfigurable
apply, createComponent, disposeUIResources, reset
 

Field Detail

myModified

protected boolean myModified
Constructor Detail

BaseConfigurable

public BaseConfigurable()
Method Detail

isModified

public boolean isModified()
Description copied from interface: UnnamedConfigurable
Checks if the settings in the user interface component were modified by the user and need to be saved.

Specified by:
isModified in interface UnnamedConfigurable
Returns:
true if the settings were modified, false otherwise.

setModified

protected void setModified(boolean modified)

getPreferredFocusedComponent

public javax.swing.JComponent getPreferredFocusedComponent()
Returns:
component which should be focused when the dialog appears on the screen.