From 24e519827e17f677af144067214eeb58ca6ea42b Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Wed, 10 Apr 2013 11:44:43 +0200 Subject: [PATCH] switch to declarative API for bundled color schemes in PyCharm --- python/src/META-INF/python-plugin-common.xml | 2 -- .../PythonBundledColorSchemeProvider.java | 31 ------------------- 2 files changed, 33 deletions(-) delete mode 100644 python/src/com/jetbrains/python/PythonBundledColorSchemeProvider.java diff --git a/python/src/META-INF/python-plugin-common.xml b/python/src/META-INF/python-plugin-common.xml index db7cab5a6e86..74822835fab5 100644 --- a/python/src/META-INF/python-plugin-common.xml +++ b/python/src/META-INF/python-plugin-common.xml @@ -87,8 +87,6 @@ - - diff --git a/python/src/com/jetbrains/python/PythonBundledColorSchemeProvider.java b/python/src/com/jetbrains/python/PythonBundledColorSchemeProvider.java deleted file mode 100644 index b6ea82bbe8d3..000000000000 --- a/python/src/com/jetbrains/python/PythonBundledColorSchemeProvider.java +++ /dev/null @@ -1,31 +0,0 @@ -package com.jetbrains.python; - -import com.intellij.openapi.application.ApplicationManager; -import com.intellij.openapi.editor.colors.impl.BundledColorSchemesProvider; - -/** - * Adds bundled color schemes for PyCharm. - *
- * User: dcheryasov - * Date: 12/3/10 4:49 PM - */ -public class PythonBundledColorSchemeProvider implements BundledColorSchemesProvider { - - public static final String[] PATHS = { - "/colorSchemes/WarmNeon", - "/colorSchemes/monokai", - "/colorSchemes/Darcula", - "/colorSchemes/twilight", - }; - - @Override - public String[] getBundledSchemesRelativePaths() { - if (ApplicationManager.getApplication().isUnitTestMode()) return null; - return PATHS; - } - - @Override - public String getDefaultSchemaExtensionPath() { - return null; - } -}