public class CodeStyleSchemesConfigurable extends SearchableConfigurable.Parent.Abstract implements Configurable.NoMargin, Configurable.NoScroll, Configurable.VariableProjectAppLevel, Configurable.WithEpDependencies
SearchableConfigurable.Parent.Abstract
SearchableConfigurable.Delegate, SearchableConfigurable.Merged, SearchableConfigurable.Parent
Configurable.Composite, Configurable.NoMargin, Configurable.NoScroll, Configurable.TopComponentController, Configurable.TopComponentProvider, Configurable.VariableProjectAppLevel, Configurable.WithEpDependencies
APPLICATION_CONFIGURABLE, PROJECT_CONFIGURABLE
Constructor and Description |
---|
CodeStyleSchemesConfigurable(Project project) |
Modifier and Type | Method and Description |
---|---|
void |
apply()
Stores the settings from the Swing form to the configurable component.
|
protected Configurable[] |
buildConfigurables() |
javax.swing.JComponent |
createComponent()
Creates new Swing form that enables user to configure the settings.
|
void |
disposeUIResources()
Notifies the configurable component that the Swing form will be closed.
|
SearchableConfigurable |
findSubConfigurable(java.lang.String name) |
java.util.Collection<BaseExtensionPointName<?>> |
getDependencies() |
java.lang.String |
getDisplayName()
Returns the visible name of the configurable component.
|
java.lang.String |
getHelpTopic()
Returns the topic in the help file which is shown when help for the configurable is requested.
|
java.lang.String |
getId()
Unique configurable id.
|
boolean |
hasOwnContent() |
boolean |
isModified()
Indicates whether the Swing form was modified or not.
|
boolean |
isProjectLevel() |
void |
reset()
Loads the settings from the configurable component to the Swing form.
|
void |
resetFromChild() |
void |
revert() |
getConfigurables
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isVisible
enableSearch, getOriginalClass
getPreferredFocusedComponent, isModified, isModified, isModified, isModified
cancel
public CodeStyleSchemesConfigurable(Project project)
public javax.swing.JComponent createComponent()
UnnamedConfigurable
Also this place is designed to allocate resources (subscriptions/listeners etc.)
createComponent
in interface UnnamedConfigurable
createComponent
in class SearchableConfigurable.Parent.Abstract
null
if it cannot be createdUnnamedConfigurable.disposeUIResources()
public boolean hasOwnContent()
hasOwnContent
in interface SearchableConfigurable.Parent
public void disposeUIResources()
UnnamedConfigurable
disposeUIResources
in interface UnnamedConfigurable
disposeUIResources
in class SearchableConfigurable.Parent.Abstract
public void reset()
UnnamedConfigurable
reset
in interface UnnamedConfigurable
public void resetFromChild()
public void revert()
public void apply() throws ConfigurationException
UnnamedConfigurable
apply
in interface UnnamedConfigurable
apply
in class SearchableConfigurable.Parent.Abstract
ConfigurationException
- if values cannot be appliedprotected Configurable[] buildConfigurables()
buildConfigurables
in class SearchableConfigurable.Parent.Abstract
public java.lang.String getDisplayName()
Configurable
getDisplayName
in interface Configurable
public java.lang.String getHelpTopic()
Configurable
getHelpTopic
in interface Configurable
null
if no help is availablepublic boolean isModified()
UnnamedConfigurable
isModified
in interface UnnamedConfigurable
isModified
in class SearchableConfigurable.Parent.Abstract
true
if the settings were modified, false
otherwisepublic java.lang.String getId()
SearchableConfigurable
getId
in interface SearchableConfigurable
ConfigurableEP.id
public boolean isProjectLevel()
isProjectLevel
in interface Configurable.VariableProjectAppLevel
public SearchableConfigurable findSubConfigurable(java.lang.String name)
public java.util.Collection<BaseExtensionPointName<?>> getDependencies()
getDependencies
in interface Configurable.WithEpDependencies