New Action for add/remove Breakpoint
[phpeclipse.git] / net.sourceforge.phpeclipse / plugin.xml
index 5443171..adedc5e 100644 (file)
       </library>
    </runtime>
    <requires>
-      <import plugin="org.eclipse.core.resources"/>
       <import plugin="org.eclipse.ui"/>
+      <import plugin="org.eclipse.ui.console"/>
+      <import plugin="org.eclipse.core.resources"/>
+      <import plugin="org.eclipse.search"/>
+      <import plugin="org.eclipse.debug.core"/>
+      <import plugin="org.eclipse.debug.ui"/>
+      <import plugin="org.eclipse.compare"/>
+      <import plugin="org.eclipse.core.filebuffers"/>
+      <import plugin="org.eclipse.jface.text"/>
+      <import plugin="org.eclipse.ui.workbench.texteditor"/>
+      <import plugin="org.eclipse.ui.ide"/>
+      <import plugin="org.eclipse.ui.views"/>
+      <import plugin="org.eclipse.ui.editors"/>
       <import plugin="org.eclipse.ui.externaltools"/>
       <import plugin="org.eclipse.help"/>
       <import plugin="org.eclipse.swt"/>
-      <import plugin="org.eclipse.debug.core"/>
-      <import plugin="org.eclipse.debug.ui"/>
       <import plugin="org.eclipse.search"/>
       <import plugin="org.apache.xerces"/>
       <import plugin="org.eclipse.update.ui"/>
           class="net.sourceforge.phpdt.internal.core.JavaProject">
          </run>
       </runtime>
-      <builder
-          id="net.sourceforge.phpeclipse.parserbuilder">
-      </builder>
    </extension>
    
    <extension
          id="parserbuilder"
          name="PHP Builder"
          point="org.eclipse.core.resources.builders">
-      <builder hasNature="true">
+      <builder>
          <run  
            class="net.sourceforge.phpdt.internal.core.builder.PHPBuilder">
          </run>
       </builder>
    </extension>
-   <extension-point name="%phpEditorTextHoversName" id="phpEditorTextHovers" schema="schema/phpEditorTextHovers.exsd"/>
-   <!-- =================================================================================== -->
-   <!-- Extension: PHP Markers                                                             -->
    <!-- =================================================================================== -->
+<!-- Extension: Java Markers                                                             -->
+<!-- =================================================================================== -->
 
-   <!-- Java problems -->
+<!-- Java problems -->
 
-   <extension id="problem" point="org.eclipse.core.resources.markers" name="%phpProblemName">
+<extension id="problem" point="org.eclipse.core.resources.markers" name="%phpProblemName">
        <super type="org.eclipse.core.resources.problemmarker"/>
        <super type="org.eclipse.core.resources.textmarker"/>
        <persistent value="true"/>
        <attribute name="id"/>
        <attribute name="flags"/>
        <attribute name="arguments"/>
-   </extension>  
+</extension>   
+
+<!-- Java transient problems -->
+
+<extension id="transient_problem" point="org.eclipse.core.resources.markers" name="%transientPHPProblemName">
+       <super type="org.eclipse.core.resources.textmarker"/>
+       <persistent value="false"/>
+       <attribute name="id"/>
+       <attribute name="flags"/>
+       <attribute name="arguments"/>
+</extension>
+
+<!-- Java tasks -->
+
+<extension id="task" name="%phpTaskName" point="org.eclipse.core.resources.markers">
+    <super type="org.eclipse.core.resources.taskmarker"/> 
+    <persistent value="true"/>
+</extension>
+
+   <extension-point name="%phpEditorTextHoversName" id="phpEditorTextHovers" schema="schema/phpEditorTextHovers.exsd"/> 
 
    <extension
          point="org.eclipse.team.core.fileTypes">
    <extension
       point="net.sourceforge.phpeclipse.phpEditorTextHovers">
    <hover
-         class="net.sourceforge.phpdt.internal.ui.text.java.hover.JavaProblemHover"
-         id="net.sourceforge.phpdt.ui.ProblemHover"
-         label="%problemHover" 
-         description="%problemHoverDescription">
+         class="net.sourceforge.phpdt.internal.ui.text.java.hover.AnnotationHover"
+         id="net.sourceforge.phpdt.ui.AnnotationHover"
+         label="%annotationHover" 
+         description="%annotationHoverDescription">
    </hover>
-   </extension>r
+   </extension>
 
    <extension
          point="org.eclipse.ui.perspectives">
       </editor>
    </extension>
    <extension
+         point="org.eclipse.ui.editors.annotationTypes">
+      <type
+         name="net.sourceforge.phpdt.ui.error"
+         super="org.eclipse.ui.workbench.texteditor.error"
+         markerType="net.sourceforge.phpeclipse.problem"
+         markerSeverity="2">
+      </type>
+      <type
+         name="net.sourceforge.phpdt.ui.warning"
+         super="org.eclipse.ui.workbench.texteditor.warning"
+         markerType="net.sourceforge.phpeclipse.problem"
+         markerSeverity="1">
+      </type>
+      <type
+         name="net.sourceforge.phpdt.ui.info"
+         super="org.eclipse.ui.workbench.texteditor.info"
+         markerType="net.sourceforge.phpeclipse.problem"
+         markerSeverity="0">
+      </type>
+      <type
+         name="org.eclipse.jdt.ui.occurrences">
+      </type>
+   </extension>
+   <extension
+         point="org.eclipse.ui.editors.markerAnnotationSpecification">
+      <specification
+            annotationType="net.sourceforge.phpdt.ui.error"
+            annotationImageProvider="net.sourceforge.phpeclipse.phpeditor.JavaAnnotationImageProvider">
+      </specification>
+      <specification
+            annotationType="net.sourceforge.phpdt.ui.warning"
+            annotationImageProvider="net.sourceforge.phpeclipse.phpeditor.JavaAnnotationImageProvider">
+      </specification>
+      <specification
+            annotationType="net.sourceforge.phpdt.ui.info"
+            annotationImageProvider="net.sourceforge.phpeclipse.phpeditor.JavaAnnotationImageProvider">
+      </specification>
+      <specification
+            annotationType="org.eclipse.debug.core.breakpoint"
+            icon="icons/full/obj16/brkp_obj.gif"
+            annotationImageProvider="net.sourceforge.phpeclipse.phpeditor.BreakpointImageProvider">
+      </specification>
+         <specification
+            annotationType="net.sourceforge.phpdt.ui.occurrences"
+            label="%OccurrenceAnnotation.label"
+            icon="icons/full/obj16/searchm_obj.gif"
+            textPreferenceKey="occurrenceIndication"
+            textPreferenceValue="false"
+            highlightPreferenceKey="occurrenceHighlighting"
+            highlightPreferenceValue="true"
+            overviewRulerPreferenceKey="occurrenceIndicationInOverviewRuler"
+            overviewRulerPreferenceValue="true"
+            verticalRulerPreferenceKey="occurrenceIndicationInVerticalRuler"
+            verticalRulerPreferenceValue="false"
+            colorPreferenceKey="occurrenceIndicationColor"
+            colorPreferenceValue="180,207,205"
+            presentationLayer="3"
+            showInNextPrevDropdownToolbarActionKey="showOccurrenceInNextPrevDropdownToolbarAction"
+            showInNextPrevDropdownToolbarAction="true"
+            isGoToNextNavigationTargetKey="isOccurrenceGoToNextNavigationTarget"
+               isGoToNextNavigationTarget="false"
+            isGoToPreviousNavigationTargetKey="isOccurrenceGoToPreviousNavigationTarget"
+               isGoToPreviousNavigationTarget="false">
+         </specification>
+    </extension>
+   <extension
          point="org.eclipse.ui.actionSets">
       <actionSet
             label="PHP/Apache"