Fix SourceLookupMessage constant.(SourceLookupMessages.DefaultSourceContainer_0 eclip...
[phpeclipse.git] / net.sourceforge.phpeclipse.smarty.ui / plugin.xml
index 342f9ff..467d91e 100644 (file)
@@ -1,40 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin
-   id="net.sourceforge.phpdt.smarty.ui"
-   name="Web Development Tools HTML UI"
-   version="0.0.1"
-   provider-name="WDTE Project"
-   class="net.sourceforge.phpdt.smarty.ui.HTMLUI">
-   
-   <runtime>
-      <library name="htmlui.jar">
-         <export name="*"/>
-      </library>
-   </runtime>
-   <requires>
-      <import plugin="net.sourceforge.phpeclipse.xml.ui"/>
-      <import plugin="net.sourceforge.phpeclipse.ui"/>
-      <import plugin="net.sourceforge.phpeclipse.xml.core"/>
-      <import plugin="org.eclipse.jface.text"/>
-      <import plugin="org.eclipse.ui.workbench.texteditor"/>
-      <import plugin="org.eclipse.core.resources"/>
-      <import plugin="org.eclipse.text"/>
-      <import plugin="org.eclipse.ui.editors"/>
-      <import plugin="org.eclipse.ui.ide"/>
-      <import plugin="org.eclipse.ui"/>
-      <import plugin="org.eclipse.core.filebuffers"/>
-      <import plugin="org.eclipse.core.runtime"/>
-   </requires>
-
-
+<?eclipse version="3.2"?>
+<plugin>
    <extension
          point="org.eclipse.ui.editors">
-      <editor 
-            name="HTML Editor"
-            icon="icons/full/obj16/html.png"
+      <editor
+            name="Smarty Editor"
+            icon="icons/full/obj16/smarty_16.gif"
             extensions="tpl"
-            class="net.sourceforge.phpdt.smarty.ui.internal.editor.HTMLEditor"
+            contributorClass="net.sourceforge.phpdt.smarty.ui.internal.editor.SmartyEditorActionContributor"
+            class="net.sourceforge.phpdt.smarty.ui.internal.editor.SmartyEditor"
             id="net.sourceforge.phpdt.smarty.ui.editor">
       </editor>
    </extension>
          point="org.eclipse.core.filebuffers.documentSetup">
       <participant
             extensions="tpl"
-            class="net.sourceforge.phpdt.smarty.ui.internal.editor.HTMLDocumentSetupParticipant">
+            class="net.sourceforge.phpdt.smarty.ui.internal.editor.SmartyDocumentSetupParticipant">
       </participant>
    </extension>
    <extension
          point="org.eclipse.ui.editors.documentProviders">
       <provider
             extensions="tpl"
-            class="net.sourceforge.phpdt.smarty.ui.internal.editor.HTMLDocumentProvider"
+            class="net.sourceforge.phpdt.smarty.ui.internal.editor.SmartyDocumentProvider"
             id="net.sourceforge.phpdt.smarty.ui.documentProvider">
       </provider>
    </extension>