misc
[phpeclipse.git] / net.sourceforge.phpeclipse / plugin.xml
index a872078..2508d8a 100644 (file)
@@ -6,10 +6,10 @@
    version="1.1.0"
    provider-name="%providerName"
    class="net.sourceforge.phpeclipse.PHPeclipsePlugin">
-
+    
    <runtime>
       <library name="phpeclipse.jar">
-         <export name="*"/>
+        <export name="*"/>
       </library>
    </runtime>
    <requires>
 
    <extension-point id="phpEditorTextHovers" name="%phpEditorTextHoversName" schema="schema/phpEditorTextHovers.exsd"/> 
    <extension-point id="foldingStructureProviders" name="%foldingStructureProvidersExtensionPoint" schema="schema/foldingStructureProviders.exsd"/>
+   
+  <extension
+       point="org.eclipse.ui.decorators">
+ <!--
+       <decorator
+               label="%ProblemsLabelDecorator.label"
+               state="false"
+               lightweight="true"
+               location="BOTTOM_LEFT"
+               class="net.sourceforge.phpdt.ui.ProblemsLabelDecorator"
+               id="net.sourceforge.phpdt.ui.problem.decorator">
+               <description>
+                       %ProblemsLabelDecorator.description
+               </description>
+               <enablement>
+                       <or>
+                               <objectClass
+                                       name="org.eclipse.core.resources.IResource">
+                               </objectClass>         
+                               <objectClass
+                                       name="net.sourceforge.phpdt.core.IJavaElement">
+                               </objectClass>
+                       </or>                
+               </enablement>
+       </decorator>
+       -->
+       <decorator
+               label="%OverrideIndicatorLabelDecorator.label"
+               lightweight="true"
+               location="BOTTOM_RIGHT"         
+               state="true"
+               class="net.sourceforge.phpdt.ui.OverrideIndicatorLabelDecorator"
+               id="net.sourceforge.phpdt.ui.override.decorator">
+               <description>
+                       %OverrideIndicatorLabelDecorator.description
+               </description>
+               <enablement>
+                       <objectClass
+                               name="net.sourceforge.phpdt.core.IMethod">
+                       </objectClass>
+               </enablement>
+       </decorator>    
+</extension>
+
+   
    <extension
          point="org.eclipse.team.core.fileTypes">
       <fileTypes
             Create a new PHP project.
          </description>
       </wizard>
-<!--   <wizard
+ <!--   <wizard
                id="net.sourceforge.phpdt.internal.ui.wizards.NewClassCreationWizard"
                name="%NewPHPClass.label"
                class="net.sourceforge.phpdt.internal.ui.wizards.NewClassCreationWizard"
                category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
                icon="icons/ctool16/newclass_wiz.gif">
                <description>%NewPHPClass.description</description>
-       </wizard>      
-      -->
+       </wizard>      -->
 <!--
 <this wizard replaces it as it works - maybe not as pretty but still>
 
             annotationType="net.sourceforge.phpdt.ui.info"
             annotationImageProvider="net.sourceforge.phpeclipse.phpeditor.JavaAnnotationImageProvider">
       </specification>
-      <specification
+      <specification 
             annotationType="org.eclipse.debug.core.breakpoint"
             icon="icons/full/obj16/brkp_obj.gif"
             annotationImageProvider="net.sourceforge.phpeclipse.phpeditor.BreakpointImageProvider">
                id="net.sourceforge.phpeclipse.actions.PHPStartMySQLAction">
          </action>
       </actionSet>
+
       <actionSet
             label="%CodingActionSet.label"
             description="%CodingActionSet.description"
             visible="false"
-            id="net.sourceforge.phpeclipse.ui.CodingActionSet">
+            id="net.sourceforge.phpeclipse.ui.CodingActionSet">   
 <!-- =========================================================================== -->
 <!-- Source Menu                                                                 -->
 <!-- =========================================================================== -->
          <part id="net.sourceforge.phpeclipse.PHPUnitEditor" />
       </actionSetPartAssociation>
    </extension>
+   
 <!-- =========================================================================== -->
 <!-- PHP Editor Action Definition IDs -->
 <!-- =========================================================================== -->
             id="net.sourceforge.phpeclipse.actions.popupOpenDeclaration">
          <action
                label="Open PHP Declaration"
-               class="net.sourceforge.phpeclipse.actions.PHPOpenDeclarationEditorActon"
+               class="net.sourceforge.phpeclipse.actions.PHPOpenDeclarationEditorAction"
                menubarPath="additions"
                id="net.sourceforge.phpeclipse.actions.opendeclaration">
          </action>
       </viewerContribution>
+      <viewerContribution
+            targetID="#PHPEditorContext"
+            id="net.sourceforge.phpeclipse.actions.popupOpenAllIncludes">
+         <action
+               label="Open Included Files List"
+               class="net.sourceforge.phpeclipse.actions.PHPOpenAllIncludesEditorAction"
+               menubarPath="additions"
+               id="net.sourceforge.phpeclipse.actions.openallincludes">
+         </action>
+      </viewerContribution>
+      <viewerContribution
+            targetID="#PHPEditorContext"
+            id="net.sourceforge.phpeclipse.actions.popupOpenInclude">
+         <action
+               label="Open Include File"
+               class="net.sourceforge.phpeclipse.actions.PHPOpenIncludeEditorAction"
+               menubarPath="additions"
+               id="net.sourceforge.phpeclipse.actions.openinclude">
+         </action>
+      </viewerContribution>
+      <viewerContribution
+            targetID="#PHPEditorContext"
+            id="net.sourceforge.phpeclipse.actions.popupOpenSQLTable">
+         <action
+               label="Open Quantum SQL Table View"
+               class="net.sourceforge.phpeclipse.actions.PHPOpenSQLTableEditorAction"
+               menubarPath="additions"
+               id="net.sourceforge.phpeclipse.actions.opensqltable">
+         </action>
+      </viewerContribution>
    
       <viewerContribution
             targetID="#PHPRulerContext"
             class="net.sourceforge.phpeclipse.PHPLanguagePreferencePage"
             id="net.sourceforge.phpeclipse.preference.PHPLanguagePreferencePage">
       </page> -->
+      <page 
+            name="%spellingPrefName"
+            category= "net.sourceforge.phpeclipse.preference.PHPEclipsePreferencePage"
+            class="net.sourceforge.phpdt.internal.ui.preferences.SpellingPreferencePage"
+            id = "net.sourceforge.phpdt.internal.ui.preferences.SpellingPreferencePage">
+      </page>  
    </extension>
    <extension
          point="org.eclipse.ui.editors.documentProviders">