fix community build
authorAlexey Gopachenko <alexey.gopachenko@jetbrains.com>
Mon, 15 Feb 2010 20:37:37 +0000 (15 23:37 +0300)
committerAlexey Gopachenko <alexey.gopachenko@jetbrains.com>
Mon, 15 Feb 2010 20:41:33 +0000 (15 23:41 +0300)
plugins/IntelliLang/src/META-INF/intellilang-php-support.xml [deleted file]
plugins/IntelliLang/src/META-INF/plugin.xml
plugins/IntelliLang/src/org/intellij/plugins/intelliLang/inject/php/PhpLanguageInjectionSupport.java [deleted file]

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 (file)
index 74cbdb0..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-
-<idea-plugin version="2">
-
-  <extensions defaultExtensionNs="org.intellij.intelliLang">
-    <languageSupport implementation="org.intellij.plugins.intelliLang.inject.php.PhpLanguageInjectionSupport"/>
-  </extensions>
-
-</idea-plugin>
\ No newline at end of file
index 987b6c0..08fc534 100644 (file)
@@ -10,7 +10,6 @@
   <depends optional="true" config-file="intellilang-javaee-support.xml">com.intellij.javaee</depends>
   <depends optional="true" config-file="intellilang-xml-support.xml">com.intellij.modules.xml</depends>
   <depends optional="true" config-file="intellilang-groovy-support.xml">org.intellij.groovy</depends>
-  <depends optional="true" config-file="intellilang-php-support.xml">com.jetbrains.php</depends>
 
   <vendor email="sascha.weinreuter@cit.de" logo="/org/intellij/plugins/intelliLang/icon_small.png">Sascha Weinreuter</vendor>
 
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 (file)
index 244756c..0000000
+++ /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;
-  }
-}