misc
[phpeclipse.git] / net.sourceforge.phpeclipse / plugin.xml
index 0eb9dd0..2508d8a 100644 (file)
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?eclipse version="3.0"?>
-
 <plugin
    id="net.sourceforge.phpeclipse"
    name="%pluginName"
 
    <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 -->
 <!-- =========================================================================== -->
       </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.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">