From 84a0f1aeac631e4fa7640e462143b26db78f067f Mon Sep 17 00:00:00 2001 From: Alexey Gopachenko Date: Mon, 15 Feb 2010 23:37:37 +0300 Subject: [PATCH] fix community build --- .../src/META-INF/intellilang-php-support.xml | 9 ----- plugins/IntelliLang/src/META-INF/plugin.xml | 1 - .../inject/php/PhpLanguageInjectionSupport.java | 41 ---------------------- 3 files changed, 51 deletions(-) delete mode 100644 plugins/IntelliLang/src/META-INF/intellilang-php-support.xml delete mode 100644 plugins/IntelliLang/src/org/intellij/plugins/intelliLang/inject/php/PhpLanguageInjectionSupport.java diff --git a/plugins/IntelliLang/src/META-INF/intellilang-php-support.xml b/plugins/IntelliLang/src/META-INF/intellilang-php-support.xml deleted file mode 100644 index 74cbdb02c2..0000000000 --- a/plugins/IntelliLang/src/META-INF/intellilang-php-support.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/plugins/IntelliLang/src/META-INF/plugin.xml b/plugins/IntelliLang/src/META-INF/plugin.xml index 987b6c0618..08fc53463f 100644 --- a/plugins/IntelliLang/src/META-INF/plugin.xml +++ b/plugins/IntelliLang/src/META-INF/plugin.xml @@ -10,7 +10,6 @@ com.intellij.javaee com.intellij.modules.xml org.intellij.groovy - com.jetbrains.php Sascha Weinreuter diff --git a/plugins/IntelliLang/src/org/intellij/plugins/intelliLang/inject/php/PhpLanguageInjectionSupport.java b/plugins/IntelliLang/src/org/intellij/plugins/intelliLang/inject/php/PhpLanguageInjectionSupport.java deleted file mode 100644 index 244756cef8..0000000000 --- a/plugins/IntelliLang/src/org/intellij/plugins/intelliLang/inject/php/PhpLanguageInjectionSupport.java +++ /dev/null @@ -1,41 +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.intellij.plugins.intelliLang.inject.php; - -import com.intellij.psi.PsiElement; -import com.jetbrains.php.lang.patterns.PhpPatterns; -import com.jetbrains.php.lang.psi.elements.PhpPsiElement; -import org.intellij.plugins.intelliLang.inject.AbstractLanguageInjectionSupport; -import org.jetbrains.annotations.NonNls; -import org.jetbrains.annotations.NotNull; - -public class PhpLanguageInjectionSupport extends AbstractLanguageInjectionSupport { - @NonNls private static final String SUPPORT_ID = "php"; - - @NotNull - public String getId() { - return SUPPORT_ID; - } - - @NotNull - public Class[] getPatternClasses() { - return new Class[] {PhpPatterns.class}; - } - - public boolean useDefaultInjector(final PsiElement host) { - return host instanceof PhpPsiElement; - } -} -- 2.11.4.GIT