public abstract class SettingsEditorConfigurable<Settings> extends BaseConfigurable
Configurable.Composite, Configurable.NoMargin, Configurable.NoScroll, Configurable.TopComponentController, Configurable.TopComponentProvider, Configurable.VariableProjectAppLevel, Configurable.WithEpDependenciesmyModifiedAPPLICATION_CONFIGURABLE, PROJECT_CONFIGURABLE| Constructor and Description |
|---|
SettingsEditorConfigurable(SettingsEditor<Settings> editor,
Settings settings) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply()
Stores the settings from the Swing form to the configurable component.
|
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.
|
SettingsEditor<Settings> |
getEditor() |
Settings |
getSettings() |
void |
reset()
Loads the settings from the configurable component to the Swing form.
|
getPreferredFocusedComponent, isModified, setModifiedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDisplayName, getHelpTopic, isModified, isModified, isModified, isModifiedcancelpublic SettingsEditorConfigurable(SettingsEditor<Settings> editor, Settings settings)
public javax.swing.JComponent createComponent()
UnnamedConfigurableAlso this place is designed to allocate resources (subscriptions/listeners etc.)
null if it cannot be createdUnnamedConfigurable.disposeUIResources()public void apply()
throws ConfigurationException
UnnamedConfigurableConfigurationException - if values cannot be appliedpublic void reset()
UnnamedConfigurablepublic void disposeUIResources()
UnnamedConfigurablepublic SettingsEditor<Settings> getEditor()
public Settings getSettings()