Search in sources :

Example 61 with Configurable

use of com.intellij.openapi.options.Configurable in project intellij-community by JetBrains.

the class EmmetCompositeConfigurable method apply.

@Override
public void apply() throws ConfigurationException {
    EmmetOptions.getInstance().setEmmetExpandShortcut(myTemplateExpandShortcutPanel.getSelectedChar());
    for (Configurable configurable : myInnerConfigurables) {
        configurable.reset();
    }
    super.apply();
}
Also used : UnnamedConfigurable(com.intellij.openapi.options.UnnamedConfigurable) Configurable(com.intellij.openapi.options.Configurable) SearchableConfigurable(com.intellij.openapi.options.SearchableConfigurable)

Example 62 with Configurable

use of com.intellij.openapi.options.Configurable in project intellij-community by JetBrains.

the class EmmetCompositeConfigurable method reset.

@Override
public void reset() {
    myTemplateExpandShortcutPanel.setSelectedChar((char) EmmetOptions.getInstance().getEmmetExpandShortcut());
    for (Configurable configurable : myInnerConfigurables) {
        configurable.reset();
    }
    super.reset();
}
Also used : UnnamedConfigurable(com.intellij.openapi.options.UnnamedConfigurable) Configurable(com.intellij.openapi.options.Configurable) SearchableConfigurable(com.intellij.openapi.options.SearchableConfigurable)

Aggregations

Configurable (com.intellij.openapi.options.Configurable)62 SearchableConfigurable (com.intellij.openapi.options.SearchableConfigurable)31 BaseConfigurable (com.intellij.openapi.options.BaseConfigurable)8 ConfigurableGroup (com.intellij.openapi.options.ConfigurableGroup)7 NotNull (org.jetbrains.annotations.NotNull)7 Project (com.intellij.openapi.project.Project)5 ArrayList (java.util.ArrayList)5 ConfigurationException (com.intellij.openapi.options.ConfigurationException)4 ArtifactsStructureConfigurable (com.intellij.openapi.roots.ui.configuration.artifacts.ArtifactsStructureConfigurable)4 ApplicationConfigurable (com.intellij.execution.application.ApplicationConfigurable)3 JUnitConfigurable (com.intellij.execution.junit2.configuration.JUnitConfigurable)3 DataContext (com.intellij.openapi.actionSystem.DataContext)3 Module (com.intellij.openapi.module.Module)3 TabbedConfigurable (com.intellij.openapi.options.TabbedConfigurable)3 UnnamedConfigurable (com.intellij.openapi.options.UnnamedConfigurable)3 Settings (com.intellij.openapi.options.ex.Settings)3 ActionCallback (com.intellij.openapi.util.ActionCallback)3 Nullable (org.jetbrains.annotations.Nullable)3 ExtensionsArea (com.intellij.openapi.extensions.ExtensionsArea)2 MasterDetailsComponent (com.intellij.openapi.ui.MasterDetailsComponent)2