public class CodeStyleGenerationConfigurable extends java.lang.Object implements CodeStyleConfigurable
Configurable.Composite, Configurable.NoMargin, Configurable.NoScroll, Configurable.TopComponentController, Configurable.TopComponentProvider, Configurable.VariableProjectAppLevel, Configurable.WithEpDependenciesAPPLICATION_CONFIGURABLE, PROJECT_CONFIGURABLE| Constructor and Description |
|---|
CodeStyleGenerationConfigurable(CodeStyleSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply()
Stores the settings from the Swing form to the configurable component.
|
void |
apply(CodeStyleSettings settings)
Apply the current UI changes to the given settings.
|
javax.swing.JComponent |
createComponent()
Creates new Swing form that enables user to configure the settings.
|
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.
|
boolean |
isModified()
Indicates whether the Swing form was modified or not.
|
boolean |
isModified(CodeStyleSettings settings) |
void |
reset()
Loads the settings from the configurable component to the Swing form.
|
void |
reset(CodeStyleSettings settings)
Reset the UI to the given code style settings.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPreferredFocusedComponent, isModified, isModified, isModified, isModifiedcancel, disposeUIResourcespublic CodeStyleGenerationConfigurable(CodeStyleSettings settings)
public javax.swing.JComponent createComponent()
UnnamedConfigurableAlso this place is designed to allocate resources (subscriptions/listeners etc.)
createComponent in interface UnnamedConfigurablenull if it cannot be createdUnnamedConfigurable.disposeUIResources()public java.lang.String getDisplayName()
ConfigurablegetDisplayName in interface Configurablepublic java.lang.String getHelpTopic()
ConfigurablegetHelpTopic in interface Configurablenull if no help is availablepublic void reset(CodeStyleSettings settings)
CodeStyleConfigurablereset in interface CodeStyleConfigurablesettings - The settings to update the UI from.public void reset()
UnnamedConfigurablereset in interface UnnamedConfigurablepublic void apply(CodeStyleSettings settings) throws ConfigurationException
CodeStyleConfigurableapply in interface CodeStyleConfigurablesettings - The settings to apply the UI changes to.ConfigurationException - If the UI contains incorrect values.public void apply()
throws ConfigurationException
UnnamedConfigurableapply in interface UnnamedConfigurableConfigurationException - if values cannot be appliedpublic boolean isModified(CodeStyleSettings settings)
public boolean isModified()
UnnamedConfigurableisModified in interface UnnamedConfigurabletrue if the settings were modified, false otherwise