1) Moved net.sourceforge.phpeclipse.ui\src\net\sourceforge\phpdt back to net.sourcefo...
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpeclipse / phpeditor / JavaDocumentSetupParticipant.java
diff --git a/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/phpeditor/JavaDocumentSetupParticipant.java b/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/phpeditor/JavaDocumentSetupParticipant.java
deleted file mode 100644 (file)
index 7f90b10..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-/**********************************************************************
- Copyright (c) 2000, 2003 IBM Corp. and others.
- All rights reserved. This program and the accompanying materials
- are made available under the terms of the Common Public License v1.0
- which accompanies this distribution, and is available at
- http://www.eclipse.org/legal/cpl-v10.html
-
- Contributors:
- IBM Corporation - Initial implementation
- **********************************************************************/
-package net.sourceforge.phpeclipse.phpeditor;
-
-import net.sourceforge.phpdt.internal.ui.text.IPHPPartitions;
-import net.sourceforge.phpdt.ui.text.JavaTextTools;
-//import net.sourceforge.phpeclipse.PHPeclipsePlugin;
-import net.sourceforge.phpeclipse.ui.WebUI;
-
-import org.eclipse.core.filebuffers.IDocumentSetupParticipant;
-import org.eclipse.jface.text.IDocument;
-
-/**
- * The document setup participant for PHPDT.
- */
-public class JavaDocumentSetupParticipant implements IDocumentSetupParticipant {
-
-       public JavaDocumentSetupParticipant() {
-       }
-
-       /*
-        * @see org.eclipse.core.filebuffers.IDocumentSetupParticipant#setup(org.eclipse.jface.text.IDocument)
-        */
-       public void setup(IDocument document) {
-               JavaTextTools tools = WebUI.getDefault().getJavaTextTools();
-               tools.setupJavaDocumentPartitioner(document,
-                               IPHPPartitions.PHP_PARTITIONING);
-
-               // tools.setupJavaDocumentPartitioner(document,
-               // IPHPPartitions.PHP_PARTITIONING, null);
-               // //IPHPPartitions.PHP_PARTITIONING, null);
-       }
-}