diff --git a/platform/platform-resources/src/META-INF/XmlPlugin.xml b/platform/platform-resources/src/META-INF/XmlPlugin.xml
index 107251b15c0c..fe3d6534620a 100644
--- a/platform/platform-resources/src/META-INF/XmlPlugin.xml
+++ b/platform/platform-resources/src/META-INF/XmlPlugin.xml
@@ -532,7 +532,9 @@
-
+
+
+
diff --git a/plugins/groovy/src/META-INF/plugin.xml b/plugins/groovy/src/META-INF/plugin.xml
index 95454fa13c61..49ab36f02554 100644
--- a/plugins/groovy/src/META-INF/plugin.xml
+++ b/plugins/groovy/src/META-INF/plugin.xml
@@ -461,7 +461,7 @@
-
+
diff --git a/plugins/groovy/src/org/jetbrains/plugins/groovy/template/GroovyTemplatesProvider.java b/plugins/groovy/src/org/jetbrains/plugins/groovy/template/GroovyTemplatesProvider.java
deleted file mode 100644
index f50969f6730c..000000000000
--- a/plugins/groovy/src/org/jetbrains/plugins/groovy/template/GroovyTemplatesProvider.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright 2000-2011 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.groovy.template;
-
-import com.intellij.codeInsight.template.impl.DefaultLiveTemplatesProvider;
-
-/**
- * @author peter
- */
-public class GroovyTemplatesProvider implements DefaultLiveTemplatesProvider{
- @Override
- public String[] getDefaultLiveTemplateFiles() {
- return new String[]{"liveTemplates/Groovy"};
- }
-
- @Override
- public String[] getHiddenLiveTemplateFiles() {
- return null;
- }
-}
diff --git a/plugins/maven/src/main/java/org/jetbrains/idea/maven/utils/MavenLiveTemplatesProvider.java b/plugins/maven/src/main/java/org/jetbrains/idea/maven/utils/MavenLiveTemplatesProvider.java
deleted file mode 100644
index 4adaf2d4348b..000000000000
--- a/plugins/maven/src/main/java/org/jetbrains/idea/maven/utils/MavenLiveTemplatesProvider.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Copyright 2000-2010 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.utils;
-
-import com.intellij.codeInsight.template.impl.DefaultLiveTemplatesProvider;
-
-public class MavenLiveTemplatesProvider implements DefaultLiveTemplatesProvider {
- @Override
- public String[] getDefaultLiveTemplateFiles() {
- return new String[]{"/liveTemplates/maven_xml"};
- }
-
- @Override
- public String[] getHiddenLiveTemplateFiles() {
- return null;
- }
-}
diff --git a/plugins/maven/src/main/resources/META-INF/plugin.xml b/plugins/maven/src/main/resources/META-INF/plugin.xml
index 7d678a797463..3100c665a577 100644
--- a/plugins/maven/src/main/resources/META-INF/plugin.xml
+++ b/plugins/maven/src/main/resources/META-INF/plugin.xml
@@ -105,7 +105,7 @@
-
+
diff --git a/plugins/sh/resources/META-INF/plugin.xml b/plugins/sh/resources/META-INF/plugin.xml
index d15482808cce..473b174b9f21 100644
--- a/plugins/sh/resources/META-INF/plugin.xml
+++ b/plugins/sh/resources/META-INF/plugin.xml
@@ -42,9 +42,9 @@ Adds support for working with shell script files
-
-
-
+
+
+
diff --git a/plugins/sh/src/com/intellij/sh/template/ShTemplateProvider.java b/plugins/sh/src/com/intellij/sh/template/ShTemplateProvider.java
deleted file mode 100644
index 98dd3af05038..000000000000
--- a/plugins/sh/src/com/intellij/sh/template/ShTemplateProvider.java
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
-package com.intellij.sh.template;
-
-import com.intellij.codeInsight.template.impl.DefaultLiveTemplatesProvider;
-import org.jetbrains.annotations.Nullable;
-
-public class ShTemplateProvider implements DefaultLiveTemplatesProvider {
- @Override
- public String[] getDefaultLiveTemplateFiles() {
- return new String[]{"liveTemplates/ShellScript", "liveTemplates/ShellScriptArray"};
- }
-
- @Nullable
- @Override
- public String[] getHiddenLiveTemplateFiles() {
- return new String[]{"liveTemplates/ShellScriptHidden"};
- }
-}
diff --git a/plugins/xpath/xpath-view/src/META-INF/plugin.xml b/plugins/xpath/xpath-view/src/META-INF/plugin.xml
index 1fd8f2888fde..294a4ea5c7aa 100644
--- a/plugins/xpath/xpath-view/src/META-INF/plugin.xml
+++ b/plugins/xpath/xpath-view/src/META-INF/plugin.xml
@@ -155,7 +155,7 @@
-
+
diff --git a/plugins/xpath/xpath-view/src/org/intellij/plugins/xpathView/XPathAppComponent.java b/plugins/xpath/xpath-view/src/org/intellij/plugins/xpathView/XPathAppComponent.java
index 63f2d967608d..981b59f7b4f9 100644
--- a/plugins/xpath/xpath-view/src/org/intellij/plugins/xpathView/XPathAppComponent.java
+++ b/plugins/xpath/xpath-view/src/org/intellij/plugins/xpathView/XPathAppComponent.java
@@ -18,8 +18,8 @@ package org.intellij.plugins.xpathView;
import com.intellij.codeInsight.hint.HintManager;
import com.intellij.codeInsight.hint.HintManagerImpl;
import com.intellij.codeInsight.hint.HintUtil;
-import com.intellij.codeInsight.template.impl.DefaultLiveTemplatesProvider;
-import com.intellij.openapi.actionSystem.*;
+import com.intellij.openapi.actionSystem.DataContext;
+import com.intellij.openapi.actionSystem.IdeActions;
import com.intellij.openapi.components.PersistentStateComponent;
import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.components.State;
@@ -50,7 +50,7 @@ import java.util.List;
* Also used to manage highlighters.
*/
@State(name = "XPathView.XPathViewPlugin", storages = @Storage("xpath.xml"))
-public final class XPathAppComponent implements PersistentStateComponent, DefaultLiveTemplatesProvider {
+public final class XPathAppComponent implements PersistentStateComponent {
private Config configuration = new Config();
@Nullable
@@ -158,7 +158,7 @@ public final class XPathAppComponent implements PersistentStateComponent
public static void showEditorHint(final String info, final Editor editor) {
final JLabel label = new JLabel(info);
label.setBorder(BorderFactory.createCompoundBorder(
- BorderFactory.createBevelBorder(BevelBorder.RAISED, Color.WHITE, Gray._128),
+ BorderFactory.createBevelBorder(BevelBorder.RAISED, JBColor.WHITE, Gray._128),
BorderFactory.createEmptyBorder(3, 5, 3, 5)));
label.setForeground(JBColor.foreground());
label.setBackground(HintUtil.getInformationColor());
@@ -194,14 +194,4 @@ public final class XPathAppComponent implements PersistentStateComponent
final int flags = HintManager.HIDE_BY_ANY_KEY | HintManager.HIDE_BY_SCROLLING;
HintManagerImpl.getInstanceImpl().showEditorHint(h, editor, point, flags, 0, false);
}
-
- @Override
- public String[] getDefaultLiveTemplateFiles() {
- return new String[]{"/liveTemplates/xsl"};
- }
-
- @Override
- public String[] getHiddenLiveTemplateFiles() {
- return null;
- }
}
diff --git a/python/src/META-INF/python-core-common.xml b/python/src/META-INF/python-core-common.xml
index 9c3e792ef66c..472deb47f904 100644
--- a/python/src/META-INF/python-core-common.xml
+++ b/python/src/META-INF/python-core-common.xml
@@ -406,7 +406,7 @@
-
+
diff --git a/python/src/com/jetbrains/python/codeInsight/liveTemplates/PyDefaultLiveTemplatesProvider.java b/python/src/com/jetbrains/python/codeInsight/liveTemplates/PyDefaultLiveTemplatesProvider.java
deleted file mode 100644
index 209bdb7c5046..000000000000
--- a/python/src/com/jetbrains/python/codeInsight/liveTemplates/PyDefaultLiveTemplatesProvider.java
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
-package com.jetbrains.python.codeInsight.liveTemplates;
-
-import com.intellij.codeInsight.template.impl.DefaultLiveTemplatesProvider;
-import org.jetbrains.annotations.NonNls;
-
-/**
- * @author yole
- */
-public class PyDefaultLiveTemplatesProvider implements DefaultLiveTemplatesProvider {
- private static final @NonNls String[] DEFAULT_TEMPLATES = new String[]{
- "/liveTemplates/Python"
- };
-
- @Override
- public String[] getDefaultLiveTemplateFiles() {
- return DEFAULT_TEMPLATES;
- }
-
- @Override
- public String[] getHiddenLiveTemplateFiles() {
- return null;
- }
-}
diff --git a/xml/impl/src/com/intellij/codeInsight/template/XmlDefaultLiveTemplatesProvider.java b/xml/impl/src/com/intellij/codeInsight/template/XmlDefaultLiveTemplatesProvider.java
deleted file mode 100644
index edb58e85634b..000000000000
--- a/xml/impl/src/com/intellij/codeInsight/template/XmlDefaultLiveTemplatesProvider.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright 2000-2014 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.codeInsight.template;
-
-import com.intellij.codeInsight.template.impl.DefaultLiveTemplatesProvider;
-
-/**
- * @author yole
- */
-public class XmlDefaultLiveTemplatesProvider implements DefaultLiveTemplatesProvider {
- @Override
- public String[] getDefaultLiveTemplateFiles() {
- return new String[] { "/liveTemplates/html_xml", "/liveTemplates/zen_html", "/liveTemplates/zen_xsl" };
- }
-
- @Override
- public String[] getHiddenLiveTemplateFiles() {
- return null;
- }
-}