default impl of enableSearch
authorVladimir Krivosheev <vladimir.krivosheev@jetbrains.com>
Tue, 2 Aug 2016 13:01:37 +0000 (15:01 +0200)
committerVladimir Krivosheev <vladimir.krivosheev@jetbrains.com>
Tue, 2 Aug 2016 13:05:19 +0000 (15:05 +0200)
101 files changed:
images/src/org/intellij/images/options/impl/ImagesConfigurable.java
java/compiler/impl/src/com/intellij/compiler/options/AnnotationProcessorsConfigurable.java
java/compiler/impl/src/com/intellij/compiler/options/CompilerConfigurable.java
java/compiler/impl/src/com/intellij/compiler/options/CompilerUIConfigurable.java
java/compiler/impl/src/com/intellij/compiler/options/JavaCompilersTab.java
java/compiler/impl/src/com/intellij/compiler/options/RmicConfigurable.java
java/compiler/impl/src/com/intellij/compiler/options/ValidationConfigurable.java
java/debugger/impl/src/com/intellij/debugger/settings/DebuggerDataViewsConfigurable.java
java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/ProjectStructureConfigurable.java
java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/artifacts/ArtifactsStructureConfigurable.java
java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/projectRoot/BaseLibrariesConfigurable.java
java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/projectRoot/FacetStructureConfigurable.java
java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/projectRoot/JdkListConfigurable.java
java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/projectRoot/ModuleStructureConfigurable.java
java/java-impl/src/com/intellij/application/options/JavadocOptionsProvider.java
json/src/com/jetbrains/jsonSchema/JsonSchemaMappingsConfigurable.java
platform/diff-impl/src/com/intellij/diff/settings/DiffSettingsConfigurable.java
platform/diff-impl/src/com/intellij/diff/settings/ExternalDiffSettingsConfigurable.java
platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/settings/AbstractExternalSystemConfigurable.java
platform/lang-impl/src/com/intellij/application/options/CodeCompletionOptions.java
platform/lang-impl/src/com/intellij/application/options/CodeStyleSchemesConfigurable.java
platform/lang-impl/src/com/intellij/application/options/ModuleAwareProjectConfigurable.java
platform/lang-impl/src/com/intellij/application/options/colors/ColorAndFontOptions.java
platform/lang-impl/src/com/intellij/application/options/editor/AutoImportOptionsConfigurable.java
platform/lang-impl/src/com/intellij/application/options/editor/CodeFoldingConfigurable.java
platform/lang-impl/src/com/intellij/application/options/editor/EditorAppearanceConfigurable.java
platform/lang-impl/src/com/intellij/application/options/editor/EditorOptions.java
platform/lang-impl/src/com/intellij/application/options/editor/EditorOptionsPanel.java
platform/lang-impl/src/com/intellij/application/options/editor/EditorSmartKeysConfigurable.java
platform/lang-impl/src/com/intellij/application/options/editor/EditorTabsConfigurable.java
platform/lang-impl/src/com/intellij/codeInsight/template/postfix/settings/PostfixTemplatesConfigurable.java
platform/lang-impl/src/com/intellij/execution/console/ConsoleConfigurable.java
platform/lang-impl/src/com/intellij/execution/startup/ProjectStartupConfigurable.java
platform/lang-impl/src/com/intellij/ide/fileTemplates/impl/AllFileTemplatesConfigurable.java
platform/lang-impl/src/com/intellij/ide/todo/configurable/TodoConfigurable.java
platform/lang-impl/src/com/intellij/ide/util/scopeChooser/ScopeChooserConfigurable.java
platform/lang-impl/src/com/intellij/lang/customFolding/CustomFoldingConfigurable.java
platform/lang-impl/src/com/intellij/openapi/fileTypes/impl/FileTypeConfigurable.java
platform/lang-impl/src/com/intellij/openapi/vfs/encoding/FileEncodingConfigurable.java
platform/lang-impl/src/com/intellij/tools/ToolConfigurable.java
platform/lang-impl/src/com/intellij/ui/tabs/FileColorsConfigurable.java
platform/lang-impl/src/com/intellij/util/ui/tree/LanguagePerFileConfigurable.java
platform/platform-api/src/com/intellij/openapi/options/ConfigurableBase.java
platform/platform-api/src/com/intellij/openapi/options/SearchableConfigurable.java
platform/platform-api/src/com/intellij/util/net/ssl/CertificateConfigurable.java
platform/platform-impl/src/com/intellij/application/options/pathMacros/PathMacroConfigurable.java
platform/platform-impl/src/com/intellij/externalDependencies/impl/ExternalDependenciesConfigurable.java
platform/platform-impl/src/com/intellij/ide/GeneralSettingsConfigurable.java
platform/platform-impl/src/com/intellij/ide/passwordSafe/config/PasswordSafeConfigurable.java
platform/platform-impl/src/com/intellij/ide/passwordSafe/config/PasswordSafeOptionsPanel.form
platform/platform-impl/src/com/intellij/ide/passwordSafe/config/PasswordSafeOptionsPanel.java
platform/platform-impl/src/com/intellij/ide/ui/AppearanceConfigurable.java
platform/platform-impl/src/com/intellij/ide/ui/customization/CustomizationConfigurable.java
platform/platform-impl/src/com/intellij/internal/statistic/configurable/StatisticsConfigurable.java
platform/platform-impl/src/com/intellij/openapi/updateSettings/impl/UpdateSettingsConfigurable.java
platform/platform-impl/src/com/intellij/openapi/vfs/encoding/PlatformFileEncodingConfigurable.java
platform/platform-impl/src/com/intellij/ui/switcher/QuickAccessConfigurable.java
platform/vcs-impl/src/com/intellij/openapi/vcs/changes/conflicts/ChangelistConflictConfigurable.java
platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/IgnoredSettingsPanel.java
platform/vcs-impl/src/com/intellij/openapi/vcs/configurable/IssueNavigationConfigurationPanel.java
platform/vcs-impl/src/com/intellij/openapi/vcs/configurable/VcsBackgroundOperationsConfigurable.java
platform/vcs-impl/src/com/intellij/openapi/vcs/configurable/VcsGeneralConfigurationConfigurable.java
platform/vcs-impl/src/com/intellij/openapi/vcs/configurable/VcsManagerConfigurable.java
platform/xdebugger-impl/src/com/intellij/xdebugger/impl/settings/DebuggerConfigurable.java
platform/xdebugger-impl/src/com/intellij/xdebugger/impl/settings/MergedCompositeConfigurable.java
platform/xdebugger-impl/src/com/intellij/xdebugger/impl/settings/SubCompositeConfigurable.java
plugins/IntelliLang/java-support/org/intellij/plugins/intelliLang/AdvancedSettingsUI.java
plugins/copyright/src/com/maddyhome/idea/copyright/ui/CopyrightFormattingConfigurable.java
plugins/copyright/src/com/maddyhome/idea/copyright/ui/CopyrightProfilesPanel.java
plugins/copyright/src/com/maddyhome/idea/copyright/ui/CopyrightProjectConfigurable.java
plugins/copyright/src/com/maddyhome/idea/copyright/ui/TemplateCommentPanel.java
plugins/coverage-common/src/com/intellij/coverage/CoverageOptionsConfigurable.java
plugins/github/src/org/jetbrains/plugins/github/ui/GithubSettingsConfigurable.java
plugins/gradle/src/org/jetbrains/plugins/gradle/settings/GradleRunnerConfigurable.java
plugins/groovy/src/org/jetbrains/plugins/groovy/compiler/GroovyCompilerConfigurable.java
plugins/groovy/src/org/jetbrains/plugins/groovy/util/SdkHomeConfigurable.java
plugins/hg4idea/src/org/zmlx/hg4idea/HgProjectConfigurable.java
plugins/javaFX/src/org/jetbrains/plugins/javaFX/JavaFxSettingsConfigurable.java
plugins/maven/src/main/java/org/jetbrains/idea/maven/execution/MavenRunnerConfigurable.java
plugins/maven/src/main/java/org/jetbrains/idea/maven/indices/MavenRepositoriesConfigurable.java
plugins/maven/src/main/java/org/jetbrains/idea/maven/project/MavenGeneralConfigurable.java
plugins/maven/src/main/java/org/jetbrains/idea/maven/project/MavenIgnoredFilesConfigurable.java
plugins/maven/src/main/java/org/jetbrains/idea/maven/project/MavenImportingConfigurable.java
plugins/maven/src/main/java/org/jetbrains/idea/maven/project/MavenTestRunningConfigurable.java
plugins/maven/src/main/java/org/jetbrains/idea/maven/utils/MavenSettings.java
plugins/tasks/tasks-core/src/com/intellij/tasks/config/TaskConfigurable.java
plugins/terminal/src/org/jetbrains/plugins/terminal/TerminalOptionsConfigurable.java
plugins/ui-designer/src/com/intellij/uiDesigner/GuiDesignerConfigurable.java
plugins/xpath/xpath-lang/src/org/intellij/lang/xpath/xslt/associations/impl/FileAssociationsConfigurable.java
plugins/xpath/xpath-lang/src/org/intellij/lang/xpath/xslt/impl/XsltConfigImpl.java
plugins/xpath/xpath-view/src/org/intellij/plugins/xpathView/XPathConfigurable.java
python/ipnb/src/org/jetbrains/plugins/ipnb/configuration/IpnbConfigurable.java
python/src/com/jetbrains/python/configuration/PyIntegratedToolsConfigurable.java
python/src/com/jetbrains/python/console/PyConsoleOptionsConfigurable.java
python/src/com/jetbrains/python/debugger/PyDebuggerConfigurable.java
python/src/com/jetbrains/python/documentation/PythonDocumentationConfigurable.java
spellchecker/src/com/intellij/spellchecker/settings/SpellCheckerSettingsManager.java
xml/impl/src/com/intellij/application/options/editor/WebEditorOptionsProvider.java
xml/impl/src/com/intellij/application/options/emmet/EmmetCompositeConfigurable.java
xml/impl/src/com/intellij/application/options/emmet/XmlEmmetConfigurable.java
xml/impl/src/com/intellij/ide/browsers/BrowserSettings.java

index 8a1bc52f0b436f74d22d4d24609b8a0de6f18802..321d8def63dd0b4b8d43533d25724e18d34c38de 100644 (file)
@@ -24,7 +24,6 @@ import org.intellij.images.options.Options;
 import org.intellij.images.options.OptionsManager;
 import org.jetbrains.annotations.NonNls;
 import org.jetbrains.annotations.NotNull;
-import org.jetbrains.annotations.Nullable;
 
 import javax.swing.*;
 import java.beans.PropertyChangeEvent;
@@ -100,9 +99,4 @@ public final class ImagesConfigurable extends BaseConfigurableWithChangeSupport
   public String getId() {
     return "Images";
   }
-
-  @Nullable
-  public Runnable enableSearch(String option) {
-    return null;
-  }
 }
index 934f83db31ead777ee82ffcc1a956db4a52b81c6..ab069d6adf21aee42039787b866bb4e4591f848c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2012 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -54,10 +54,6 @@ public class AnnotationProcessorsConfigurable implements SearchableConfigurable,
     return getHelpTopic();
   }
 
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   public JComponent createComponent() {
     myMainPanel = new AnnotationProcessorsPanel(myProject);
     return myMainPanel;
index 601003bea3e62e6009c55fd622c2020789353e57..3a1801c42506ed2f426f9f49a7a3d7b86e5d6f12 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2009 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -53,11 +53,6 @@ public class CompilerConfigurable implements SearchableConfigurable.Parent, Conf
     return getHelpTopic();
   }
 
-  @Nullable
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   public JComponent createComponent() {
     return myCompilerUIConfigurable.createComponent();
   }
index 177641988233c6c982e9f303bb30f4165bbf76d6..15fca1e24727356d54393ff07d25534da89b830f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2014 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -315,10 +315,6 @@ public class CompilerUIConfigurable implements SearchableConfigurable, Configura
     return "compiler.general";
   }
 
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   public JComponent createComponent() {
     return myPanel;
   }
index 13dcc5051dc503b48abb2976adb72bc353bbfdbf..762ee1b781233e033eb72fb32f852be423729e92 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2014 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -108,10 +108,6 @@ public class JavaCompilersTab implements SearchableConfigurable, Configurable.No
     return getHelpTopic();
   }
 
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   public JComponent createComponent() {
     return myPanel;
   }
index 96b4aabaecfc536555ae56660b8312bb8c327eb9..fc49bde205eaaf5c6e2b0d20ea950e539f8599ca 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2009 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -74,10 +74,6 @@ public class RmicConfigurable implements SearchableConfigurable, Configurable.No
     return getHelpTopic();
   }
 
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   public JComponent createComponent() {
     return myPanel;
   }
index b91f04ff96f0449644996a431a2ae8dec5a16fdd..68e837549425f74b270e78c4ecb7c38d1e5350fd 100644 (file)
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2000-2016 JetBrains s.r.o.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package com.intellij.compiler.options;
 
 import com.intellij.ide.util.ElementsChooser;
@@ -73,10 +88,6 @@ public class ValidationConfigurable implements SearchableConfigurable, Configura
     return "project.validation";
   }
 
-  public Runnable enableSearch(final String option) {
-    return null;
-  }
-
   public String getDisplayName() {
     return CompilerBundle.message("validation.display.name");
   }
index fb7743047775d14a7d66e528a9a803545a044ba0..1462608b312104db46635505c3bafa089191c0db 100644 (file)
@@ -323,9 +323,4 @@ public class DebuggerDataViewsConfigurable implements SearchableConfigurable {
   public String getId() {
     return getHelpTopic();
   }
-
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
 }
index ea309509be0b1ce22fad245367e342b41f0d25bf..8059130878113ed98134248c5e8557a31a412d82 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2015 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -152,12 +152,6 @@ public class ProjectStructureConfigurable extends BaseConfigurable implements Se
     return "project.structure";
   }
 
-  @Override
-  @Nullable
-  public Runnable enableSearch(final String option) {
-    return null;
-  }
-
   @Override
   @Nls
   public String getDisplayName() {
index b619aa8183c6c0b07a3a14f8e7d7e0b6b868923d..2a13069e3b06e1e97a49b2975401a5ebbcfa4a73 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2015 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -361,11 +361,6 @@ public class ArtifactsStructureConfigurable extends BaseStructureConfigurable {
     return "project.artifacts";
   }
 
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   @Override
   public void dispose() {
   }
index 1e0dcc71359b4548c1ca5921cefdf2aa6c34b683..58679f360c83afe73ad63d0d636a94e891d82825 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2013 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -80,12 +80,6 @@ public abstract class BaseLibrariesConfigurable extends BaseStructureConfigurabl
     return false;
   }
 
-  @Override
-  @Nullable
-  public Runnable enableSearch(final String option) {
-    return null;
-  }
-
   @Override
   @Nullable
   @NonNls
index 1c895d6f0869583d076a88123eda9aebf6c9963c..86ec504713da1fb2e4c54adf958b6f959faa4e0e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2014 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -389,11 +389,6 @@ public class FacetStructureConfigurable extends BaseStructureConfigurable {
     return "project.facets";
   }
 
-  @Override
-  public Runnable enableSearch(final String option) {
-    return null;
-  }
-
   @Override
   public void dispose() {
   }
index ee2793f73fe6b52eb9c7dfa32134222eb96e5bad..056b41957ebc2a5102a43a0c7fb6be3ab5cbe70e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2009 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -112,12 +112,6 @@ public class JdkListConfigurable extends BaseStructureConfigurable {
     return "jdk.list";
   }
 
-  @Override
-  @Nullable
-  public Runnable enableSearch(final String option) {
-    return null;
-  }
-
   @Override
   protected void loadTree() {
     final Map<Sdk,Sdk> sdks = myJdksTreeModel.getProjectSdks();
index 5a79fa06a80b5ab6be9c7c09ced2ccbd38bef749..622f1b8a5ca87dc394eff25ef022edb311a5ce6f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2014 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -588,13 +588,6 @@ public class ModuleStructureConfigurable extends BaseStructureConfigurable imple
     return "project.structure";
   }
 
-  @Override
-  @Nullable
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
-
   @Nullable
   public Module getModule(final String moduleName) {
     if (moduleName == null) return null;
index 5debc461471ab10c5f39d3c729e9952992bf22a4..b30bb2eae525f767fc25d3a373cabf5270f35ad5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2011 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -39,11 +39,6 @@ public class JavadocOptionsProvider implements EditorOptionsProvider {
     return "editor.preferences.javadocOptions";
   }
 
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   @Nls
   @Override
   public String getDisplayName() {
index 12c5c14109f7c5c10bb7a9f0a81959d38a016221..f1c5207f3c5d79c32bd681de865e27afc2446fc1 100644 (file)
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2000-2016 JetBrains s.r.o.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package com.jetbrains.jsonSchema;
 
 import com.intellij.codeInsight.daemon.DaemonCodeAnalyzer;
@@ -327,12 +342,6 @@ public class JsonSchemaMappingsConfigurable extends MasterDetailsComponent imple
     return SETTINGS_JSON_SCHEMA;
   }
 
-  @Nullable
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   public static class JsonSchemaChecker {
     private static final int MAX_SCHEMA_LENGTH = FileUtil.MEGABYTE;
     private final Project myProject;
index 6f49489401fc01e1b4ddd4a696d7138cdf80a23a..d3b0b5f0c8aff6fe067b5c9cf94140c2f5e66f0c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2015 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -32,12 +32,6 @@ public class DiffSettingsConfigurable implements SearchableConfigurable {
     return getHelpTopic();
   }
 
-  @Nullable
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   @Nls
   @Override
   public String getDisplayName() {
index 0ef393f82887e72d3b76831a5178a10e5cd29338..084aa0a9720d662dcea84389ef6c88534c28914a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2015 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -32,12 +32,6 @@ public class ExternalDiffSettingsConfigurable implements SearchableConfigurable
     return getHelpTopic();
   }
 
-  @Nullable
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   @Nls
   @Override
   public String getDisplayName() {
index a1c8bf2e4b7c98a51652394942c7b7bc6f3371a2..fee9bd56089014b62e02e996df1d5171fba0893c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2013 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -88,12 +88,6 @@ public abstract class AbstractExternalSystemConfigurable<
     return myProject;
   }
 
-  @Nullable
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   @Nls
   @Override
   public String getDisplayName() {
index 1840121e86ab4b1a5d04532b2d77643e90cb5ed7..950d4208f027971732aab112eac9a948e1ba3414 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2009 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -22,7 +22,6 @@ import com.intellij.openapi.options.BaseConfigurable;
 import com.intellij.openapi.options.Configurable;
 import com.intellij.openapi.options.SearchableConfigurable;
 import org.jetbrains.annotations.NotNull;
-import org.jetbrains.annotations.Nullable;
 
 import javax.swing.*;
 
@@ -70,12 +69,4 @@ public class CodeCompletionOptions extends BaseConfigurable implements Searchabl
   public String getId() {
     return "editor.preferences.completion";
   }
-
-  @Override
-  @Nullable
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
-
 }
index 42ac47fdc9ee80b6bbedc414ab7101377bf9e6f1..399a848fbb688ebcf409fbb64d1d03bae55b9790 100644 (file)
@@ -410,8 +410,6 @@ public class CodeStyleSchemesConfigurable extends SearchableConfigurable.Parent.
       else {
         revert();
       }
-
-
     }
 
     @Override
@@ -420,11 +418,6 @@ public class CodeStyleSchemesConfigurable extends SearchableConfigurable.Parent.
       return "preferences.sourceCode." + getDisplayName();
     }
 
-    @Override
-    public Runnable enableSearch(final String option) {
-      return null;
-    }
-
     @Override
     public void disposeUIResources() {
       if (myPanel != null) {
index e518606e58038bc38a26e51cc0b0bdf168cb66f6..0514c14598f748afd2c729b591d7f5f601c804de 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2014 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -172,11 +172,6 @@ public abstract class ModuleAwareProjectConfigurable<T extends UnnamedConfigurab
     return getClass().getName();
   }
 
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   @NotNull
   protected final Project getProject() {
     return myProject;
index e7c81e2ef6f0b3ee1c6d5e3c88f8d88c7ee731d3..08a57fcf3e3ad8c2dff6b68076c31ccde5a5c262 100644 (file)
@@ -1121,12 +1121,6 @@ public class ColorAndFontOptions extends SearchableConfigurable.Parent.Abstract
     return getHelpTopic();
   }
 
-  @Override
-  @Nullable
-  public Runnable enableSearch(final String option) {
-    return null;
-  }
-
   @Nullable
   public SearchableConfigurable findSubConfigurable(@NotNull Class pageClass) {
     if (mySubPanelFactories == null) {
index a22cbd64a1af2f8a335aace3306d6d6c8f6d8ba0..9f0d481d0809d452452e5cc98fc1b5f3335e915c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2009 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -86,9 +86,4 @@ public class AutoImportOptionsConfigurable extends CompositeConfigurable<AutoImp
   public String getId() {
     return "editor.preferences.import";
   }
-
-  @Override
-  public Runnable enableSearch(final String option) {
-    return null;
-  }
 }
index c674752ee3ac970d77393a0b57d91bf0b2ddf3af..f3be1c30366a280ab381cd26eac6f9d410750331 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2009 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -115,9 +115,4 @@ public class CodeFoldingConfigurable extends CompositeConfigurable<CodeFoldingOp
   public String getId() {
     return "editor.preferences.folding";
   }
-
-  @Override
-  public Runnable enableSearch(final String option) {
-    return null;
-  }
 }
index 4a64c909f42d0d3cdd255e4ea76a8a032c5d137f..6383eca691fbad272475a92e4a6dadb1a621066c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2015 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -259,9 +259,4 @@ public class EditorAppearanceConfigurable extends CompositeConfigurable<UnnamedC
   public String getId() {
     return "editor.preferences.appearance";
   }
-
-  @Override
-  public Runnable enableSearch(final String option) {
-    return null;
-  }
 }
index 130a726ac8ff541b7061065f49d383bbe1592f59..ef402226fd3edad6cad998b5250643f1a2601277 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2009 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -44,11 +44,6 @@ public class EditorOptions implements SearchableConfigurable {
     return ID;
   }
 
-  @Override
-  public Runnable enableSearch(final String option) {
-    return null;
-  }
-
   @Override
   public JComponent createComponent() {
     myEditorOptionsPanel = new EditorOptionsPanel();
index 0f5ed4846b089cc238bdad4b36a39915ee2f4af4..f62d36f1fdcb580a6f9b1b3604a995c1d9ac80b9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2015 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -607,11 +607,6 @@ public class EditorOptionsPanel {
       return "Editor.Behavior";
     }
 
-    @Override
-    public Runnable enableSearch(final String option) {
-      return null;
-    }
-
     @Override
     public String getDisplayName() {
       return ApplicationBundle.message("tab.editor.settings.behavior");
index 1c11b55fd75244f95e79176d5e71248145dbdab9..a4d223f39ab79ff1fd6b494137163e7eb52884d1 100644 (file)
@@ -298,9 +298,4 @@ public class EditorSmartKeysConfigurable extends CompositeConfigurable<UnnamedCo
   public String getId() {
     return "editor.preferences.smartKeys";
   }
-
-  @Override
-  public Runnable enableSearch(final String option) {
-    return null;
-  }
 }
index 11a57921b6fcc888bca59eda26d0b869b5aeaf14..13b34b740ae9aa79a6fbbf46db18938d58d83d6a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2012 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -277,9 +277,4 @@ public class EditorTabsConfigurable implements EditorOptionsProvider {
   public String getId() {
     return "editor.preferences.tabs";
   }
-
-  @Override
-  public Runnable enableSearch(final String option) {
-    return null;
-  }
 }
index 46593d885a5da2241f938280dbccd56182d705c1..cffcad6a6fed29a8838ce17b2ca9cd76a94bd2c3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2014 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -208,12 +208,6 @@ public class PostfixTemplatesConfigurable implements SearchableConfigurable, Edi
     myCheckboxTree = null;
   }
 
-  @Nullable
-  @Override
-  public Runnable enableSearch(String s) {
-    return null;
-  }
-
   private void updateComponents() {
     boolean pluginEnabled = myPostfixTemplatesEnabled.isSelected();
     myCompletionEnabledCheckbox.setVisible(!LiveTemplateCompletionContributor.shouldShowAllTemplates());
index 8bae780320445e05b5e5ae64f971cb3638ac5ee1..86a96a8aaf8538b5f612d6773a75de14b0463c60 100644 (file)
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2000-2016 JetBrains s.r.o.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package com.intellij.execution.console;
 
 import com.intellij.execution.impl.ConsoleBuffer;
@@ -186,11 +201,6 @@ public class ConsoleConfigurable implements SearchableConfigurable, Configurable
     return getDisplayName();
   }
 
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   @Override
   @Nls
   public String getDisplayName() {
index 8d19621b329002ae6c0505aa8f61d57ac9114918..63d8886ac735e6806e302aa4a0707b59a7cd2cf7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2015 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -85,12 +85,6 @@ public class ProjectStartupConfigurable implements SearchableConfigurable, Confi
     return "preferences.startup.tasks";
   }
 
-  @Nullable
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   @Nls
   @Override
   public String getDisplayName() {
index efbea0ecaae305a0c0b87b6f9adf85bc6f224844..8b0c40a90ec3ba82de719166bd39e5d86f4396e9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2015 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -653,12 +653,6 @@ public class AllFileTemplatesConfigurable implements SearchableConfigurable, Con
     return "fileTemplates";
   }
 
-  @Override
-  @Nullable
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   public static void editCodeTemplate(@NotNull final String templateId, Project project) {
     final ShowSettingsUtil util = ShowSettingsUtil.getInstance();
     final AllFileTemplatesConfigurable configurable = new AllFileTemplatesConfigurable(project);
index 11e02c7fd0a1dc34c13f3a2768fa892bd4a38865..159886e7543ad68a78e43df45c5a890ad7668d0f 100644 (file)
@@ -400,9 +400,4 @@ public class TodoConfigurable extends BaseConfigurable implements SearchableConf
     return getHelpTopic();
   }
 
-  @Override
-  @Nullable
-  public Runnable enableSearch(String option) {
-    return null;
-  }
 }
index 34c1e6c11d0703c91fe0b8de5334b35e721418b9..24243571c958500c7761e76e97500a77370f7596 100644 (file)
@@ -362,12 +362,6 @@ public class ScopeChooserConfigurable extends MasterDetailsComponent implements
     return getHelpTopic();
   }
 
-  @Override
-  @Nullable
-  public Runnable enableSearch(final String option) {
-    return null;
-  }
-
   private class MyAddAction extends ActionGroup implements ActionGroupWithPreselection {
 
     private AnAction[] myChildren;
index ed080b81ad6c087958e9c36421e14608d640c4dc..263bc8c93f42c188011065178d10c0fdca3c6cc2 100644 (file)
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2000-2016 JetBrains s.r.o.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package com.intellij.lang.customFolding;
 
 import com.intellij.openapi.options.ConfigurationException;
@@ -27,11 +42,6 @@ public class CustomFoldingConfigurable implements SearchableConfigurable {
     return getDisplayName();
   }
 
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   @Nls
   @Override
   public String getDisplayName() {
index ccf006c053788569d67b9ae23db432f006bc0d97..e24954b0c6870c26bf7a9ccdc886c052e19e6cde 100644 (file)
@@ -662,10 +662,4 @@ public class FileTypeConfigurable extends BaseConfigurable implements Searchable
   public String getId() {
     return getHelpTopic();
   }
-
-  @Override
-  @Nullable
-  public Runnable enableSearch(String option) {
-    return null;
-  }
 }
index db5140cc445207b8d3778ed35aa2c5a0d0cb4634..71dbce6fa92059ffd5e559342e2afe12fb5d7118 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2015 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -31,7 +31,6 @@ import com.intellij.openapi.vfs.CharsetToolkit;
 import com.intellij.openapi.vfs.VirtualFile;
 import com.intellij.ui.ScrollPaneFactory;
 import com.intellij.ui.table.JBTable;
-import com.intellij.util.Function;
 import org.jetbrains.annotations.Nls;
 import org.jetbrains.annotations.NonNls;
 import org.jetbrains.annotations.NotNull;
@@ -84,11 +83,6 @@ public class FileEncodingConfigurable implements SearchableConfigurable, Configu
     return "File.Encoding";
   }
 
-  @Override
-  public Runnable enableSearch(final String option) {
-    return null;
-  }
-
   @NotNull
   private static ChooseFileEncodingAction installChooseEncodingCombo(@NotNull JPanel parentPanel, @NotNull final Ref<Charset> selected) {
     ChooseFileEncodingAction myAction = new ChooseFileEncodingAction(null) {
index f330436892e96108ded69f8700c6ecbd6e2dc6dc..2e121c22421e62e1bedbe6edcfddfe2a14c7db65 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2015 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -20,7 +20,6 @@ import com.intellij.openapi.options.Configurable;
 import com.intellij.openapi.options.ConfigurationException;
 import com.intellij.openapi.options.SearchableConfigurable;
 import org.jetbrains.annotations.NotNull;
-import org.jetbrains.annotations.Nullable;
 
 import javax.swing.*;
 
@@ -75,10 +74,4 @@ public class ToolConfigurable implements SearchableConfigurable, Configurable.No
   public String getId() {
     return "preferences.externalTools";
   }
-
-  @Override
-  @Nullable
-  public Runnable enableSearch(String option) {
-    return null;
-  }
 }
index 5380a5166b450c283855860e1245da99fd7a8bcb..abe0c496fe5d5c881a7aa9fe389fffa6ed72484f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2009 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -86,9 +86,4 @@ public class FileColorsConfigurable implements SearchableConfigurable, Configura
   public String getId() {
     return getHelpTopic();
   }
-
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
 }
index e0c129b72cc71a5ff91a1885cc2282d2bacb21a8..245e607664c9d447d6a7b24373c0002085522276 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2009 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -132,11 +132,6 @@ public abstract class LanguagePerFileConfigurable<T> implements SearchableConfig
     return getDisplayName();
   }
 
-  @Override
-  public Runnable enableSearch(final String option) {
-    return null;
-  }
-
   private class MyTreeTable extends AbstractFileTreeTable<T> {
     public MyTreeTable() {
       super(myProject, myValueClass, myTreeTableTitle, VirtualFileFilter.ALL, true);
index eb96e8e705629198b3450830118b33c9c3618328..849e401bfbf7e5429c97128982f58f92075643d1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2015 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -54,12 +54,6 @@ public abstract class ConfigurableBase<UI extends ConfigurableUi<S>, S> implemen
     return helpTopic;
   }
 
-  @Nullable
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   @NotNull
   protected abstract S getSettings();
 
index f8ebe2ac84e078b6a2979a6cc8267f11b283fb0e..c3e80002fca7aee04760ae2158cdd88ad3bb198d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2009 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -39,7 +39,9 @@ public interface SearchableConfigurable extends Configurable {
    * @return an action to perform when this configurable is opened when a search filter query is entered by the user in setting dialog.
    * This action, for example, can select something in a tree or a list embedded in this setting page that matches the query. 
    */
-  @Nullable Runnable enableSearch(String option);
+  default @Nullable Runnable enableSearch(String option) {
+    return null;
+  }
 
   interface Parent extends SearchableConfigurable, Composite {
     boolean hasOwnContent();
@@ -84,11 +86,6 @@ public interface SearchableConfigurable extends Configurable {
         myKids = null;
       }
 
-      @Override
-      public Runnable enableSearch(final String option) {
-        return null;
-      }
-
       @Override
       public boolean isVisible() {
         return true;
index 527b9526eecd3740f0fe6124225de5c46aa6b2d2..cb07fd13daebe5dc29e8e0353e35d99e5d294f76 100644 (file)
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2000-2016 JetBrains s.r.o.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package com.intellij.util.net.ssl;
 
 import com.intellij.openapi.fileChooser.FileChooser;
@@ -147,12 +162,6 @@ public class CertificateConfigurable implements SearchableConfigurable, Configur
     return "http.certificates";
   }
 
-  @Nullable
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   @Nls
   @Override
   public String getDisplayName() {
index 9b63f3d119103e3d8370cd00a9b1a0e877de0727..9f50f85d971f8157183adc62d7004f13850d49e1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2015 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -82,10 +82,4 @@ public class PathMacroConfigurable implements SearchableConfigurable, Configurab
   public String getId() {
     return getHelpTopic();
   }
-
-  @Override
-  @Nullable
-  public Runnable enableSearch(String option) {
-    return null;
-  }
 }
index 405098b511626d2cfdddcf61d216cf50e112e505..daca315cac282a63b816d77b64f1fd7b27efeeb3 100644 (file)
@@ -236,12 +236,6 @@ public class ExternalDependenciesConfigurable implements SearchableConfigurable,
     return null;
   }
 
-  @Nullable
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   @Nullable
   @Override
   public String getHelpTopic() {
index 7d50e4e066145832da94d04ca5b9af057615c2c3..a6c82bb19004db37fe6c9b183e86b67d1f78ac59 100644 (file)
@@ -220,11 +220,6 @@ public class GeneralSettingsConfigurable extends CompositeConfigurable<Searchabl
     return getHelpTopic();
   }
 
-  @Nullable
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   protected List<SearchableConfigurable> createConfigurables() {
     return ConfigurableWrapper.createConfigurables(EP_NAME);
   }
index 6091b8c5bc3fcce254672cde0d026ae3f4ad894f..7e54d669a2c548812a93e834b947bd78fe06412b 100644 (file)
@@ -23,93 +23,48 @@ import org.jetbrains.annotations.NotNull;
 
 import javax.swing.*;
 
-/**
- * A configurable for password safe
- */
 public class PasswordSafeConfigurable implements SearchableConfigurable, Configurable.NoScroll {
-  /**
-   * The settings for the password safe
-   */
   final PasswordSafeSettings mySettings;
 
-  /**
-   * The option panel to use
-   */
   PasswordSafeOptionsPanel myPanel;
 
-  /**
-   * The constructor
-   *
-   * @param settings the password safe settings
-   */
   public PasswordSafeConfigurable(@NotNull PasswordSafeSettings settings) {
     mySettings = settings;
   }
 
-  /**
-   * {@inheritDoc}
-   */
   @Nls
   public String getDisplayName() {
     return "Passwords";
   }
 
-  /**
-   * {@inheritDoc}
-   */
   public String getHelpTopic() {
     return "reference.ide.settings.password.safe";
   }
 
-  /**
-   * {@inheritDoc}
-   */
   public JComponent createComponent() {
     myPanel = new PasswordSafeOptionsPanel();
     myPanel.reset(mySettings);
     return myPanel.getRoot();
   }
 
-  /**
-   * {@inheritDoc}
-   */
   public boolean isModified() {
     return myPanel != null && myPanel.isModified(mySettings);
   }
 
-  /**
-   * {@inheritDoc}
-   */
   public void apply() throws ConfigurationException {
     myPanel.apply(mySettings);
   }
 
-  /**
-   * {@inheritDoc}
-   */
   public void reset() {
     myPanel.reset(mySettings);
   }
 
-  /**
-   * {@inheritDoc}
-   */
   public void disposeUIResources() {
     myPanel = null;
   }
 
-  /**
-   * {@inheritDoc}
-   */
   @NotNull
   public String getId() {
     return "application.passwordSafe";
   }
-
-  /**
-   * {@inheritDoc}
-   */
-  public Runnable enableSearch(String option) {
-    return null;
-  }
 }
index 4e7fe6a2bf7262c83f7651c0fae69808e6967962..3c14ea69b7c095c3fc6e8933aab830fe8b31da17 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="com.intellij.ide.passwordSafe.config.PasswordSafeOptionsPanel">
-  <grid id="27dc6" binding="myRoot" layout-manager="GridLayoutManager" row-count="2" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
+  <grid id="27dc6" binding="myRoot" layout-manager="GridLayoutManager" row-count="2" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
     <margin top="0" left="0" bottom="0" right="0"/>
     <constraints>
       <xy x="20" y="20" width="509" height="269"/>
@@ -8,11 +8,6 @@
     <properties/>
     <border type="none"/>
     <children>
-      <hspacer id="f4ecf">
-        <constraints>
-          <grid row="0" column="1" row-span="1" col-span="1" vsize-policy="1" hsize-policy="6" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
-        </constraints>
-      </hspacer>
       <grid id="62956" layout-manager="GridLayoutManager" row-count="2" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
         <margin top="0" left="0" bottom="0" right="0"/>
         <constraints>
@@ -26,7 +21,7 @@
         <children>
           <component id="286da" class="javax.swing.JRadioButton" binding="myRememberPasswordsUntilClosingRadioButton" default-binding="true">
             <constraints>
-              <grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
+              <grid row="1" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
             </constraints>
             <properties>
               <text value="Remember passwords &amp;until the application is closed"/>
           </component>
           <component id="4e7bb" class="javax.swing.JRadioButton" binding="mySaveOnDiskRadioButton" default-binding="true">
             <constraints>
-              <grid row="1" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
+              <grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
             </constraints>
             <properties>
               <selected value="true"/>
               <text value="Save on &amp;disk with master password protection"/>
-              <toolTipText value="The passwords are saved on disk and after restart only master password will be asked."/>
             </properties>
           </component>
         </children>
index 29d256077098ac30b13fa3636e5340acd649dbc7..dd26b5ffe2019348d0ee304f07b0cb5fc5755530 100644 (file)
  */
 package com.intellij.ide.passwordSafe.config;
 
+import org.jetbrains.annotations.NotNull;
+
 import javax.swing.*;
 
-/**
- * The option panel for password safe
- */
-public class PasswordSafeOptionsPanel {
-  /**
-   * The password storage policy option
-   */
+class PasswordSafeOptionsPanel {
   private JRadioButton myRememberPasswordsUntilClosingRadioButton;
-  /**
-   * The password storage policy option
-   */
   private JRadioButton mySaveOnDiskRadioButton;
 
-  /**
-   * The root panel
-   */
   private JPanel myRoot;
 
-  public PasswordSafeOptionsPanel() {
-  }
-
-  public void reset(PasswordSafeSettings settings) {
+  public void reset(@NotNull PasswordSafeSettings settings) {
     PasswordSafeSettings.ProviderType t = settings.getProviderType();
     switch (t) {
       case MEMORY_ONLY:
@@ -52,6 +39,7 @@ public class PasswordSafeOptionsPanel {
     }
   }
 
+  @NotNull
   private PasswordSafeSettings.ProviderType getProviderType() {
     if (myRememberPasswordsUntilClosingRadioButton.isSelected()) {
       return PasswordSafeSettings.ProviderType.MEMORY_ONLY;
@@ -61,28 +49,14 @@ public class PasswordSafeOptionsPanel {
     }
   }
 
-  /**
-   * Check if the option panel modified the settings
-   *
-   * @param settings the settings to compare with
-   * @return true, if values were modified
-   */
   public boolean isModified(PasswordSafeSettings settings) {
     return getProviderType() != settings.getProviderType();
   }
 
-  /**
-   * Save UI state to the settings
-   *
-   * @param settings the settings to use
-   */
   public void apply(PasswordSafeSettings settings) {
     settings.setProviderType(getProviderType());
   }
 
-  /**
-   * @return the root panel
-   */
   public JComponent getRoot() {
     return myRoot;
   }
index 61300754dff281c83c54da3551233fdf2dca80a2..858fb7dd0d75b9c3de09deea64e48d07444bad82 100644 (file)
@@ -78,12 +78,6 @@ public class AppearanceConfigurable extends BaseConfigurable implements Searchab
     return getHelpTopic();
   }
 
-  @Override
-  @Nullable
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   @SuppressWarnings("unchecked")
   @Override
   public JComponent createComponent() {
index 5a65e5be227cdae5c142f583d17de11a36e37544..e61297ffc0f619e4d95faac4f1cd0346346c2ad5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2009 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -66,9 +66,4 @@ public class CustomizationConfigurable extends BaseConfigurable implements Searc
   public String getId() {
     return getHelpTopic();
   }
-
-  @Nullable
-  public Runnable enableSearch(String option) {
-    return null;
-  }
 }
index 94a12bb944fd0dc685014f5ac6e50082d9a49cc5..c6c50abf904323a6fc73abfb0897d6f4e78501df 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2011 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -86,9 +86,4 @@ public class StatisticsConfigurable implements SearchableConfigurable, Configura
   public String getId() {
     return "usage.statistics";
   }
-
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
 }
index fb3bea6f131dca7925bbbbc21573673143a17569..823e47fdbb026f71c47c124dd5f32b6254b10178 100644 (file)
@@ -84,12 +84,6 @@ public class UpdateSettingsConfigurable extends BaseConfigurable implements Sear
     return getHelpTopic();
   }
 
-  @Nullable
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   @Override
   public void apply() throws ConfigurationException {
     if (myPanel.myUseSecureConnection.isSelected() && !NetUtils.isSniEnabled()) {
index 8ae9aadb0dd1bb8dee5785eef9b151e7232ac59c..ed2ea437a7a287a7fecb295b0c75e4ef1ee3c221 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2014 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -43,11 +43,6 @@ public class PlatformFileEncodingConfigurable implements SearchableConfigurable
     return "GeneralEncodingOptions";
   }
 
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   @Override
   @Nls
   public String getDisplayName() {
index bae4db41f7dfd98d331ddc3a497c3bae52b99e3a..e031bc63e22c2de8880cea35ea17c3f3c61cfe56 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2010 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -255,10 +255,6 @@ public class QuickAccessConfigurable extends JPanel implements SearchableConfigu
     return "QuickAccess";
   }
 
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   public boolean isModified() {
     return !myModifiers.equals(getModifierTexts())
            || myQuickAccessSettings.isEnabled() != myEnabled.isSelected()
index 59e39a4e6264d2aaabac8d3f2ec058e9a75f16a9..3315ad07d0e23d574620362a4988784602fadce3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2009 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -124,8 +124,4 @@ public class ChangelistConflictConfigurable extends BindableConfigurable impleme
   public String getId() {
     return getHelpTopic();
   }
-
-  public Runnable enableSearch(String option) {
-    return null;
-  }
 }
index a9c9b575c8272e34cc91bed37bc1a264c79193c2..0a6ade7d012ca896d6179b23509cd6af95422dae 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2014 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -169,10 +169,6 @@ public class IgnoredSettingsPanel implements SearchableConfigurable, Configurabl
     return getHelpTopic();
   }
 
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   private static class MyCellRenderer extends ColoredListCellRenderer {
     protected void customizeCellRenderer(@NotNull JList list, Object value, int index, boolean selected, boolean hasFocus) {
       if (UIUtil.isUnderGTKLookAndFeel()) {
index b3a93127f9bb3511af8b2f198ba1775a7cf6044f..d3d6a41596d4015f7dc97f8eedb5d94c6f7d8a0d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2014 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -180,10 +180,6 @@ public class IssueNavigationConfigurationPanel extends JPanel implements Searcha
     return getHelpTopic();
   }
 
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   public JComponent createComponent() {
     return this;
   }
index 695f8b9143db32efbb31f1473b7fa3998595c90e..8167f3f2c4f94b40ad8c95646981f90bc07d5a85 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2014 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -61,10 +61,6 @@ public class VcsBackgroundOperationsConfigurable implements SearchableConfigurab
     return getHelpTopic();
   }
 
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   public JComponent createComponent() {
     myPanel = new VcsBackgroundOperationsConfigurationPanel(myProject);
     return myPanel.getPanel();
index 03368a82464c15b468536622373795100a15e635..83c594fabafc4a753850a1ffeb7755197470b526 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2014 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -103,9 +103,4 @@ public class VcsGeneralConfigurationConfigurable implements SearchableConfigurab
   public String getId() {
     return getHelpTopic();
   }
-
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
 }
index a392ff1f5db2fa8fe584a5e67fca38d1a0dd8744..9889cae06be35d6d9a440ae0ed06804724b45bab 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2009 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -204,11 +204,6 @@ public class VcsManagerConfigurable extends SearchableConfigurable.Parent.Abstra
         return "vcs." + getDisplayName();
       }
 
-      @Override
-      public Runnable enableSearch(String option) {
-        return null;
-      }
-
       @Override
       public String toString() {
         return "VcsConfigurable for "+vcs.getDisplayName();
index 9464b5e51ce6f965ca9fd356ea50c7e6e7ad9815..86d09dd34902d167ea60d5b0a5364e80c6bb2de4 100644 (file)
@@ -149,11 +149,6 @@ public class DebuggerConfigurable implements SearchableConfigurable.Parent {
     return XBreakpointType.EXTENSION_POINT_NAME.getExtensions().length != 0;
   }
 
-  @Override
-  public Runnable enableSearch(final String option) {
-    return null;
-  }
-
   @Override
   public JComponent createComponent() {
     compute();
index 80f8c5379eb8c4f1658341bd00b5f15001b9993a..5c1a3ad9a2118348a6fb373ffb466cfb5e206455 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2015 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -61,12 +61,6 @@ class MergedCompositeConfigurable implements SearchableConfigurable {
     return displayName;
   }
 
-  @Nullable
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   @Nullable
   @Override
   public String getHelpTopic() {
index f06b6bcc11075dc6d9843442331f3ef0f5f216f9..637baf9c82977177d8f94d25147c17f5318a374a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2014 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -43,12 +43,6 @@ abstract class SubCompositeConfigurable implements SearchableConfigurable.Parent
     return true;
   }
 
-  @Nullable
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   @Nullable
   @Override
   public String getHelpTopic() {
index 7300143a9c146c92d9b6ca4dae24bd406aa50a8e..09b29875e8f7670a0b28a1722c47d0ea49f86ca1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2009 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -91,12 +91,6 @@ public class AdvancedSettingsUI implements SearchableConfigurable {
     return "IntelliLang.Advanced";
   }
 
-  @Nullable
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   private static class BrowseClassListener implements ActionListener {
     private final Project myProject;
     private final ReferenceEditorWithBrowseButton myField;
index 1e8ce55785dd38acad4ec97b97dad6be78b4fe7f..7e35a28d16807a3df22e4945edee4715c9bcba14 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2009 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -45,10 +45,6 @@ public class CopyrightFormattingConfigurable extends SearchableConfigurable.Pare
     return "template.copyright.formatting";
   }
 
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   @Nls
     public String getDisplayName() {
     return "Formatting";
index 734a872cef295a22bcec358bd8bcf1e504ff3ef1..96061b3dc584df45abb18181f22b3773f91f4d11 100644 (file)
@@ -324,9 +324,4 @@ public class CopyrightProfilesPanel extends MasterDetailsComponent implements Se
   public String getId() {
     return getHelpTopic();
   }
-
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
 }
index 6c753fafb4bb8b784e74e1a2391484fc3ed39479..ecf79ee1078374f8c88fd5ffb726b41a1c7d0563 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2009 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -44,7 +44,7 @@ public class CopyrightProjectConfigurable extends SearchableConfigurable.Parent.
 
   public JComponent createComponent() {
     myOptionsPanel = new ProjectSettingsPanel(project, myProfilesPanel);
-    myProfilesPanel.setUpdate(() -> reloadProfiles());
+    myProfilesPanel.setUpdate(this::reloadProfiles);
     return myOptionsPanel.getMainComponent();
   }
 
@@ -81,10 +81,6 @@ public class CopyrightProjectConfigurable extends SearchableConfigurable.Parent.
     return "copyright";
   }
 
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   protected Configurable[] buildConfigurables() {
     return new Configurable[]{myProfilesPanel, new CopyrightFormattingConfigurable(project)};
   }
index ad0c56c5c17d2f10ad54d932b1f0b9036d42b545..515afd30f3f025a82ef9e3a8d2940cfa84be09b3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2011 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -443,8 +443,4 @@ public class TemplateCommentPanel implements SearchableConfigurable {
   public String getId() {
     return getHelpTopic() + "." + fileType.getName();
   }
-
-  public Runnable enableSearch(String option) {
-    return null;
-  }
 }
index 5261d49a933dadf649142624328ade8c689b5812..7cf1c08144f1c9b5fa48e8c470413a15f3a1c454 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2015 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ public class CoverageOptionsConfigurable implements SearchableConfigurable, Conf
     return "coverage";
   }
 
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   @Nls
   @Override
   public String getDisplayName() {
index 2b369fca89fc5bb4f266820516f45adf1fe5fc11..31b37120db4d40087ab881d03b45b90e53ae2323 100644 (file)
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2000-2016 JetBrains s.r.o.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.jetbrains.plugins.github.ui;
 
 import com.intellij.openapi.options.Configurable;
@@ -62,10 +77,6 @@ public class GithubSettingsConfigurable implements SearchableConfigurable, VcsCo
     return getHelpTopic();
   }
 
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   @Nullable
   @Override
   public Configurable getConfigurable(Project project) {
index ea350845ea6aa60077136c204ca4b050f3e09225..a11d727dd51688ab31766d0416c1fa811cad41ee 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2015 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -100,12 +100,6 @@ public class GradleRunnerConfigurable extends BaseConfigurable implements Search
     return "reference.settings.project.gradle.running";
   }
 
-  @Nullable
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   private void createUIComponents() {
     myPreferredTestRunner = new ComboBox(getItems());
   }
index af1880197f33ab2fe369acd7be34cd743d45d991..2b2f59347b4f0270f7b4879a6da67b9da6ace67c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2014 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -96,11 +96,6 @@ public class GroovyCompilerConfigurable implements SearchableConfigurable, Confi
     return "Groovy compiler";
   }
 
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   @Override
   @Nls
   public String getDisplayName() {
index 1e909569918abd46901f79e17d9e885fb3539bbc..50cc69e6c5a8e76d9c78c34b8f2de57d43b5a625 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2014 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -100,11 +100,6 @@ public abstract class SdkHomeConfigurable implements SearchableConfigurable {
     myPanel = null;
   }
 
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   @Override
   @NotNull
   public String getId() {
index 9ff026e1aa6ac2c661c90999464b14a18e366a75..77becbf1930e3fe98fd758bba4e16e8054897d28 100644 (file)
@@ -71,8 +71,4 @@ public class HgProjectConfigurable implements SearchableConfigurable {
   public String getId() {
     return "Mercurial.Project";
   }
-
-  public Runnable enableSearch(String option) {
-    return null;
-  }
 }
index 8a83fee0f8e41068ba3e2b944c11fb6e0a8374a7..c90976bd323134c0d8e475bb932c4972cafb3f9e 100644 (file)
@@ -88,12 +88,6 @@ public class JavaFxSettingsConfigurable implements SearchableConfigurable, Confi
     return getHelpTopic();
   }
 
-  @Nullable
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   public static FileChooserDescriptor createSceneBuilderDescriptor() {
     final FileChooserDescriptor descriptor = FileChooserDescriptorFactory.createSingleFileOrExecutableAppDescriptor();
     descriptor.setTitle("SceneBuilder Configuration");
index d001bd47c54c1505e34b2c12cd256f397ea2cd79..c87df4b70ef3ae0cecd35143286e89cabf1a0c71 100644 (file)
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2000-2016 JetBrains s.r.o.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.jetbrains.idea.maven.execution;
 
 import com.intellij.openapi.options.Configurable;
@@ -52,10 +67,6 @@ public abstract class MavenRunnerConfigurable extends MavenRunnerPanel implement
     return getHelpTopic();
   }
 
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   public void disposeUIResources() {
 
   }
index 437cae48b55f2aed27575eb87b5c1076db09603b..3b366abb212e96e083cb259afebcf6ef2fa37ba3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2012 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -224,10 +224,6 @@ public class MavenRepositoriesConfigurable extends BaseConfigurable implements S
     return getHelpTopic();
   }
 
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   public JComponent createComponent() {
     return myMainPanel;
   }
index 1ba8dc16e1f082fc084df4701e3c7456a2357796..7e6cd3002a2d64d727c46b8fae801317a277267e 100644 (file)
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2000-2016 JetBrains s.r.o.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.jetbrains.idea.maven.project;
 
 import com.intellij.openapi.options.SearchableConfigurable;
@@ -36,9 +51,4 @@ public abstract class MavenGeneralConfigurable extends MavenGeneralPanel impleme
   public String getId() {
     return getHelpTopic();
   }
-
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
 }
index 5063b2fc983bc152de0be3142ec4d38312219b7f..aaa226a86366b20eab9547c7a0ac2ab78cc5650c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2009 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -97,8 +97,4 @@ public class MavenIgnoredFilesConfigurable implements SearchableConfigurable, Co
   public String getId() {
     return getHelpTopic();
   }
-
-  public Runnable enableSearch(String option) {
-    return null;
-  }
 }
index 7f29a87dfe791cabc1391baba5b0564dd5a8e4ff..69115c689c592d4c23d28ea58cfdf59a48a81571 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2009 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -151,8 +151,4 @@ public class MavenImportingConfigurable implements SearchableConfigurable {
   public String getId() {
     return getHelpTopic();
   }
-
-  public Runnable enableSearch(String option) {
-    return null;
-  }
 }
index c682ed98d5ed667cd85835084d2b36d0ec1a7b94..f2aa5fb2002d73e328b488a1d51c8eeb994227c1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2014 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -102,10 +102,4 @@ public class MavenTestRunningConfigurable extends BaseConfigurable implements Se
   public String getId() {
     return "reference.settings.project.maven.testRunning";
   }
-
-  @Nullable
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
 }
index 608a31a04c21b7efe07bd0a712dfcfa1dd07e3c3..c3069073e4f3379769807b7f38be9713cc3ffeb2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2009 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -68,10 +68,6 @@ public class MavenSettings implements SearchableConfigurable.Parent {
     return true;
   }
 
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   public JComponent createComponent() {
     return myConfigurable.createComponent();
   }
index 4ac88ac54628b6b525236ae62ef16c092d74c66f..16c376e1069521a7ff722e506e1b3aa88f3fc3d3 100644 (file)
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2000-2016 JetBrains s.r.o.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package com.intellij.tasks.config;
 
 import com.intellij.openapi.options.Configurable;
@@ -140,10 +155,6 @@ public class TaskConfigurable extends BindableConfigurable implements Searchable
     return "tasks";
   }
 
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   public boolean hasOwnContent() {
     return true;
   }
index 044d0a73b6565254053bf65471f76a70bfd662cb..3e799eff36e690bfa5900cecae19b8cfebb0d9fb 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2015 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -44,11 +44,6 @@ public class TerminalOptionsConfigurable implements SearchableConfigurable, Conf
     return "terminal";
   }
 
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   @Nls
   @Override
   public String getDisplayName() {
index 6cabb09f684c8e19f3e537cc84db54d1125548d5..aaaf71fa4a765ac24c07beacaccf7fdf5fc2e3ff 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2012 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -218,9 +218,4 @@ public final class GuiDesignerConfigurable implements SearchableConfigurable, Co
   public String getId() {
     return getHelpTopic();
   }
-
-  @Nullable
-  public Runnable enableSearch(String option) {
-    return null;
-  }
 }
index c873bb1750e1696f1d5171780b955f3529eaa173..4e3ab17ac1aacfa29c38dc6876f07245643724df 100644 (file)
@@ -124,9 +124,4 @@ public class FileAssociationsConfigurable implements SearchableConfigurable, Con
     public String getId() {
         return getHelpTopic();
     }
-
-    @Override
-    public Runnable enableSearch(final String option) {
-        return null;
-    }
 }
index 8c3496cfcc74046d43c51e3846c2c299edc60ee3..e93bf3def58e6f6fc778dd880b6c781493b0492e 100644 (file)
@@ -173,10 +173,5 @@ class XsltConfigImpl extends XsltConfig implements PersistentStateComponent<Xslt
     public String getId() {
       return getHelpTopic();
     }
-
-    @Override
-    public Runnable enableSearch(String option) {
-      return null;
-    }
   }
 }
index af8ed96880d5212c8eb72dd1a1f020f70e6db057..0e07e45167b1aecdc04dc4ca52b407290db531cc 100644 (file)
@@ -40,10 +40,6 @@ public class XPathConfigurable implements SearchableConfigurable {
     return getHelpTopic();
   }
 
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   public JComponent createComponent() {
         configUI = new ConfigUI(XPathAppComponent.getInstance().getConfig());
 
index 31d2654cb61f635b5cc9fd2ca3f5d21069a2e9a6..d1e40c365a463a152dd646bde7e66c2176712698 100644 (file)
@@ -63,10 +63,5 @@ public class IpnbConfigurable implements SearchableConfigurable {
   public String getId() {
     return "IpnbConfigurable";
   }
-
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
 }
 
index 7c79acc3c596cf6ed6be43964064b3da64cb450b..e9df22b6f46c5107a425b10ad11910cca6507ebd 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2014 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -300,10 +300,5 @@ public class PyIntegratedToolsConfigurable implements SearchableConfigurable {
   public String getId() {
     return "PyIntegratedToolsConfigurable";
   }
-
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;  //To change body of implemented methods use File | Settings | File Templates.
-  }
 }
 
index 3590a56b74f1458379c18cd970b641210f3a2e56..b49799681cf0ecc2028098de1fe343511da2123c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2015 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -51,11 +51,6 @@ public class PyConsoleOptionsConfigurable extends SearchableConfigurable.Parent.
     return "pyconsole";
   }
 
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   @Override
   protected Configurable[] buildConfigurables() {
     List<Configurable> result = Lists.newArrayList();
@@ -87,11 +82,6 @@ public class PyConsoleOptionsConfigurable extends SearchableConfigurable.Parent.
         return "PyConsoleConfigurable." + name;
       }
 
-      @Override
-      public Runnable enableSearch(String option) {
-        return null;
-      }
-
       @Nls
       @Override
       public String getDisplayName() {
index 6df6d7c07affdd4e2d24c90aa9450f2280d291c5..da3e5a40a798efa4c1a68c8fa624362d30f8cd94 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2014 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -58,10 +58,6 @@ public class PyDebuggerConfigurable implements SearchableConfigurable, Configura
     return getHelpTopic();
   }
 
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   public JComponent createComponent() {
     myClearCacheButton.addActionListener(new ActionListener() {
       @Override
index 99ec2d499135853b287bbe253783b06b26ec5d28..513f8bf6cf8aee7612ad0968a03c76016da3a98d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2014 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ public class PythonDocumentationConfigurable implements SearchableConfigurable,
     return ID;
   }
 
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   @Nls
   @Override
   public String getDisplayName() {
index 161b22848eb0ccca0616b52434d22900888e1004..f025cee91c477bff5f6bd4fe87670a1e5e29c0a9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2009 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -53,11 +53,6 @@ public class SpellCheckerSettingsManager implements SearchableConfigurable, Conf
     return getHelpTopic();
   }
 
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
-
   public JComponent createComponent() {
     if (settingsPane == null) {
       settingsPane = new SpellCheckerSettingsPane(settings,project);
index ce78fd89d352163db6a748cf4030b510339a2b91..eb37516af9c761256f6ea4afd08076056885904c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2014 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -99,9 +99,4 @@ public class WebEditorOptionsProvider implements EditorOptionsProvider {
   public String getId() {
     return "editor.preferences.webOptions";
   }
-
-  @Override
-  public Runnable enableSearch(final String option) {
-    return null;
-  }
 }
index e9daf6c45caafbdc218353e5a327e7e94299c35b..c051ab9423a794fabe45d1c9bf88c0bce56501a1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2014 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -133,12 +133,6 @@ public class EmmetCompositeConfigurable extends SearchableConfigurable.Parent.Ab
     return true;
   }
 
-  @Nullable
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
-
   @Override
   protected Configurable[] buildConfigurables() {
     return myNestedConfigurables;
index ef613593789f0f5e23d48bd4a81e184c2e3c7cf8..501573481fd758a9922eb45f58eb9fdc2665c772 100644 (file)
@@ -188,10 +188,4 @@ public class XmlEmmetConfigurable implements SearchableConfigurable, Disposable,
   public String getId() {
     return "reference.idesettings.emmet.xml";
   }
-
-  @Nullable
-  @Override
-  public Runnable enableSearch(String option) {
-    return null;
-  }
 }
index 2fb7738529486c07a69193ad6dfe140808a974cb..b8615bb87cfc6634a70590b7af1184cf7b05d922 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2014 JetBrains s.r.o.
+ * Copyright 2000-2016 JetBrains s.r.o.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -33,11 +33,6 @@ public class BrowserSettings implements SearchableConfigurable, Configurable.NoS
     return getHelpTopic();
   }
 
-  @Override
-  public Runnable enableSearch(final String option) {
-    return null;
-  }
-
   @Override
   @Nls
   public String getDisplayName() {