public abstract class SettingsEditorConfigurable<Settings> extends BaseConfigurable
Configurable.Composite, Configurable.NoMargin, Configurable.NoScroll, Configurable.TopComponentController, Configurable.TopComponentProvider, Configurable.VariableProjectAppLevel, Configurable.WithEpDependencies
myModified
APPLICATION_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, setModified
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDisplayName, getHelpTopic, isModified, isModified, isModified, isModified
cancel
public SettingsEditorConfigurable(SettingsEditor<Settings> editor, Settings settings)
public javax.swing.JComponent createComponent()
UnnamedConfigurable
Also this place is designed to allocate resources (subscriptions/listeners etc.)
null
if it cannot be createdUnnamedConfigurable.disposeUIResources()
public void apply() throws ConfigurationException
UnnamedConfigurable
ConfigurationException
- if values cannot be appliedpublic void reset()
UnnamedConfigurable
public void disposeUIResources()
UnnamedConfigurable
public SettingsEditor<Settings> getEditor()
public Settings getSettings()