|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.frag.umlplugin.settings.SettingsPlugin
public class SettingsPlugin
Settings plugin application component. This class is responsible for handling plugin settings.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.intellij.openapi.options.Configurable |
---|
com.intellij.openapi.options.Configurable.Assistant |
Field Summary | |
---|---|
static java.lang.String |
DISPLAY_NAME
|
Fields inherited from interface com.intellij.openapi.options.Configurable |
---|
APPLICATION_CONFIGURABLES, PROJECT_CONFIGURABLES |
Constructor Summary | |
---|---|
SettingsPlugin()
Creates a new settings plugin. |
Method Summary | |
---|---|
void |
apply()
Apply the settings changes from settings form to all dependent objects. |
javax.swing.JComponent |
createComponent()
Returns the user interface component for editing the configuration. |
void |
disposeComponent()
|
void |
disposeUIResources()
Disposes the Swing components used for displaying the configuration. |
java.lang.String |
getComponentName()
|
java.lang.String |
getDisplayName()
Returns the user-visible name of the settings component. |
java.lang.String |
getHelpTopic()
Returns the topic in the help file which is shown when help for the configurable is requested. |
javax.swing.Icon |
getIcon()
Returns the icon representing the settings component. |
Settings |
getSettings()
Gets settings. |
org.jdom.Element |
getState()
Writes settings from settings object to persistent storage object. |
void |
initComponent()
|
boolean |
isModified()
Checks if the settings in the user interface component were modified by the user and need to be saved. |
void |
loadState(org.jdom.Element settingsElement)
Loads settings from given persistent storage JDOM element. |
void |
reset()
Load settings from other components to configurable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DISPLAY_NAME
Constructor Detail |
---|
public SettingsPlugin()
Method Detail |
---|
@NotNull public Settings getSettings()
public void initComponent()
initComponent
in interface com.intellij.openapi.components.BaseComponent
public void disposeComponent()
disposeComponent
in interface com.intellij.openapi.components.BaseComponent
@NotNull public java.lang.String getComponentName()
getComponentName
in interface com.intellij.openapi.components.BaseComponent
@NotNull public java.lang.String getDisplayName()
getDisplayName
in interface com.intellij.openapi.options.Configurable
@NotNull public javax.swing.Icon getIcon()
getIcon
in interface com.intellij.openapi.options.Configurable
@Nullable public java.lang.String getHelpTopic()
getHelpTopic
in interface com.intellij.openapi.options.Configurable
@NotNull public javax.swing.JComponent createComponent()
createComponent
in interface com.intellij.openapi.options.UnnamedConfigurable
public boolean isModified()
isModified
in interface com.intellij.openapi.options.UnnamedConfigurable
public void apply() throws com.intellij.openapi.options.ConfigurationException
apply
in interface com.intellij.openapi.options.UnnamedConfigurable
com.intellij.openapi.options.ConfigurationException
public void reset()
reset
in interface com.intellij.openapi.options.UnnamedConfigurable
public void disposeUIResources()
disposeUIResources
in interface com.intellij.openapi.options.UnnamedConfigurable
@NotNull public org.jdom.Element getState()
getState
in interface com.intellij.openapi.components.PersistentStateComponent<org.jdom.Element>
public void loadState(@NotNull org.jdom.Element settingsElement)
loadState
in interface com.intellij.openapi.components.PersistentStateComponent<org.jdom.Element>
settingsElement
- settings element to read from
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |