public class CodeStyleSchemesConfigurable extends SearchableConfigurable.Parent.Abstract implements Configurable.NoMargin, Configurable.NoScroll, Configurable.VariableProjectAppLevel, Configurable.WithEpDependencies
SearchableConfigurable.Parent.AbstractSearchableConfigurable.Delegate, SearchableConfigurable.Merged, SearchableConfigurable.ParentConfigurable.Composite, Configurable.NoMargin, Configurable.NoScroll, Configurable.TopComponentController, Configurable.TopComponentProvider, Configurable.VariableProjectAppLevel, Configurable.WithEpDependenciesAPPLICATION_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() |
getConfigurablesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisVisibleenableSearch, getOriginalClassgetPreferredFocusedComponent, isModified, isModified, isModified, isModifiedcancelpublic CodeStyleSchemesConfigurable(Project project)
public javax.swing.JComponent createComponent()
UnnamedConfigurableAlso this place is designed to allocate resources (subscriptions/listeners etc.)
createComponent in interface UnnamedConfigurablecreateComponent in class SearchableConfigurable.Parent.Abstractnull if it cannot be createdUnnamedConfigurable.disposeUIResources()public boolean hasOwnContent()
hasOwnContent in interface SearchableConfigurable.Parentpublic void disposeUIResources()
UnnamedConfigurabledisposeUIResources in interface UnnamedConfigurabledisposeUIResources in class SearchableConfigurable.Parent.Abstractpublic void reset()
UnnamedConfigurablereset in interface UnnamedConfigurablepublic void resetFromChild()
public void revert()
public void apply()
throws ConfigurationException
UnnamedConfigurableapply in interface UnnamedConfigurableapply in class SearchableConfigurable.Parent.AbstractConfigurationException - if values cannot be appliedprotected Configurable[] buildConfigurables()
buildConfigurables in class SearchableConfigurable.Parent.Abstractpublic java.lang.String getDisplayName()
ConfigurablegetDisplayName in interface Configurablepublic java.lang.String getHelpTopic()
ConfigurablegetHelpTopic in interface Configurablenull if no help is availablepublic boolean isModified()
UnnamedConfigurableisModified in interface UnnamedConfigurableisModified in class SearchableConfigurable.Parent.Abstracttrue if the settings were modified, false otherwisepublic java.lang.String getId()
SearchableConfigurablegetId in interface SearchableConfigurableConfigurableEP.idpublic boolean isProjectLevel()
isProjectLevel in interface Configurable.VariableProjectAppLevelpublic SearchableConfigurable findSubConfigurable(java.lang.String name)
public java.util.Collection<BaseExtensionPointName<?>> getDependencies()
getDependencies in interface Configurable.WithEpDependencies