public class CodeCompletionOptions extends CompositeConfigurable<UnnamedConfigurable> implements EditorOptionsProvider, Configurable.WithEpDependencies
SearchableConfigurable.Delegate, SearchableConfigurable.Merged, SearchableConfigurable.Parent
Configurable.Composite, Configurable.NoMargin, Configurable.NoScroll, Configurable.TopComponentController, Configurable.TopComponentProvider, Configurable.VariableProjectAppLevel, Configurable.WithEpDependencies
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
myModified
APPLICATION_CONFIGURABLE, PROJECT_CONFIGURABLE
Constructor and Description |
---|
CodeCompletionOptions() |
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.
|
protected java.util.List<UnnamedConfigurable> |
createConfigurables() |
void |
disposeUIResources()
Notifies the configurable component that the Swing form will be closed.
|
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 |
isModified()
Indicates whether the Swing form was modified or not.
|
void |
reset()
Loads the settings from the configurable component to the Swing form.
|
getConfigurables
getPreferredFocusedComponent, setModified
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enableSearch, getOriginalClass
getPreferredFocusedComponent, isModified, isModified, isModified, isModified
cancel
public static final java.lang.String ID
public boolean isModified()
UnnamedConfigurable
isModified
in interface UnnamedConfigurable
isModified
in class CompositeConfigurable<UnnamedConfigurable>
true
if the settings were modified, false
otherwisepublic javax.swing.JComponent createComponent()
UnnamedConfigurable
Also this place is designed to allocate resources (subscriptions/listeners etc.)
createComponent
in interface UnnamedConfigurable
null
if it cannot be createdUnnamedConfigurable.disposeUIResources()
public java.lang.String getDisplayName()
Configurable
getDisplayName
in interface Configurable
public void reset()
UnnamedConfigurable
reset
in interface UnnamedConfigurable
reset
in class CompositeConfigurable<UnnamedConfigurable>
public void apply() throws ConfigurationException
UnnamedConfigurable
apply
in interface UnnamedConfigurable
apply
in class CompositeConfigurable<UnnamedConfigurable>
ConfigurationException
- if values cannot be appliedpublic void disposeUIResources()
UnnamedConfigurable
disposeUIResources
in interface UnnamedConfigurable
disposeUIResources
in class CompositeConfigurable<UnnamedConfigurable>
protected java.util.List<UnnamedConfigurable> createConfigurables()
createConfigurables
in class CompositeConfigurable<UnnamedConfigurable>
public java.lang.String getHelpTopic()
Configurable
getHelpTopic
in interface Configurable
null
if no help is availablepublic java.lang.String getId()
SearchableConfigurable
getId
in interface SearchableConfigurable
ConfigurableEP.id
public java.util.Collection<BaseExtensionPointName<?>> getDependencies()
getDependencies
in interface Configurable.WithEpDependencies