1) Added parameter 'parent' to XDebugVariable, so we can determine whether a variable...
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.2"?>
3 <plugin>
4    <extension
5                  point="org.eclipse.ui.perspectives">
6           <perspective
7                         name="%perspectivePHP.name"
8                         icon="icons/obj16/php.png"
9                         class="net.sourceforge.phpeclipse.ui.PHPPerspectiveFactory"
10                         id="net.sourceforge.phpeclipse.ui.PHPPerspective">
11           </perspective>
12    </extension>
13
14    <extension
15          point="org.eclipse.core.runtime.preferences">
16       <initializer class="net.sourceforge.phpeclipse.xml.ui.internal.preferences.XMLPreferenceInitializer"/>
17    </extension>
18
19    <extension
20                  point="org.eclipse.ui.editors">
21           <editor
22                         name="%phpEditorName"
23                         default="true"
24                         icon="icons/obj16/phpedit.gif"
25                         contributorClass="net.sourceforge.phpeclipse.phpeditor.CompilationUnitEditorActionContributor"
26                         class="net.sourceforge.phpeclipse.phpeditor.PHPUnitEditor"
27                         symbolicFontName="net.sourceforge.phpdt.ui.editors.textfont"
28                         id="net.sourceforge.phpeclipse.PHPUnitEditor">
29                         <contentTypeBinding
30                            contentTypeId="net.sourceforge.phpeclipse.phpSource"
31                         />
32           </editor>
33    </extension>
34
35    <extension
36                  id="net.sourceforge.phpeclipse.JavaDocumentSetupParticipant"
37                  name="%javaDocumentSetupParticipant"
38                  point="org.eclipse.core.filebuffers.documentSetup">
39           <participant
40                         contentTypeId="net.sourceforge.phpeclipse.phpSource"
41                         class="net.sourceforge.phpeclipse.phpeditor.JavaDocumentSetupParticipant">
42           </participant>
43    </extension>
44    <extension
45                  id="net.sourceforge.phpeclipse.JavaDocumentFactory"
46                  name="%javaDocumentFactory"
47                  point="org.eclipse.core.filebuffers.documentCreation">
48           <factory
49                         contentTypeId="net.sourceforge.phpeclipse.phpSource"
50                         class="net.sourceforge.phpeclipse.phpeditor.JavaDocumentFactory">
51           </factory>
52    </extension>
53
54 <extension
55           point="net.sourceforge.phpeclipse.phpEditorTextHovers">
56    <hover
57                  class="net.sourceforge.phpdt.internal.ui.text.java.hover.JavaSourceHover"
58                  id="net.sourceforge.phpdt.ui.JavaSourceHover"
59                  label="%sourceHover"
60                  description="%sourceHoverDescription">
61    </hover>
62    <hover
63                         label="%problemHover"
64                         description="%problemHoverDescription"
65                         class="net.sourceforge.phpdt.internal.ui.text.java.hover.ProblemHover"
66                         id="net.sourceforge.phpdt.ui.ProblemHover">
67    </hover>
68    <hover
69                  class="net.sourceforge.phpdt.internal.ui.text.java.hover.AnnotationHover"
70                  id="net.sourceforge.phpdt.ui.AnnotationHover"
71                  label="%annotationHover"
72                  description="%annotationHoverDescription">
73    </hover>
74    </extension>
75
76
77    <extension
78           point="net.sourceforge.phpeclipse.phpEditorTextHovers">
79    <hover
80                  class="net.sourceforge.phpdt.internal.ui.text.java.hover.BestMatchHover"
81                  id="net.sourceforge.phpdt.ui.BestMatchHover"
82                  label="%sequentialHover"
83                  description="%sequentialHoverDescription">
84    </hover>
85    </extension>
86
87    <extension
88                  point="org.eclipse.ui.perspectiveExtensions">
89           <perspectiveExtension
90                         targetID="net.sourceforge.phpeclipse.PHPPerspective">
91                            <showInPart id="net.sourceforge.phpeclipse.webbrowser.view" />
92                            <showInPart id="org.eclipse.ui.views.ResourceNavigator" />
93           </perspectiveExtension>
94    </extension>
95
96    <extension
97                  point="org.eclipse.ui.newWizards">
98           <category
99                         name="%newWizardCategory.name"
100                         id="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP">
101           </category>
102           <wizard
103                         name="%newWizardPHPProject.name"
104                         icon="icons/obj16/php.png"
105                         category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
106                         class="net.sourceforge.phpeclipse.wizards.NewProjectCreationWizard"
107                         project="true"
108                         id="net.sourceforge.phpeclipse.wizards.NewWizardProjectCreation">
109                  <description>
110                         Create a new PHP project.
111                  </description>
112           </wizard>
113
114           <wizard
115                         name="%newWizardPHPFile.name"
116                         icon="icons/obj16/phpedit.gif"
117                         category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
118                         class="net.sourceforge.phpeclipse.wizards.PHPFileWizard"
119                         id="net.sourceforge.phpeclipse.wizards.PHPFileWizard">
120                  <description>
121                         Create a basic PHP file.
122                  </description>
123           </wizard>
124           <wizard
125                         name="%newWizardHTMLFile.name"
126                         icon="icons/obj16/htmledit.gif"
127                         category="net.sourceforge.phpeclipse.wizards.NewWizardCategoryPHP"
128                         class="net.sourceforge.phpeclipse.wizards.HTMLFileWizard"
129                         id="net.sourceforge.phpeclipse.wizards.HTMLFileWizard">
130                  <description>
131                         Create a basic HTML file.
132                  </description>
133           </wizard>
134    </extension>
135
136    <extension
137                  point="org.eclipse.ui.actionSetPartAssociations">
138           <actionSetPartAssociation
139                         targetID="net.sourceforge.phpeclipse.ui.CodingActionSet">
140                  <part id="net.sourceforge.phpeclipse.PHPUnitEditor" />
141           </actionSetPartAssociation>
142    </extension>
143
144 <!-- =========================================================================== -->
145 <!-- PHP Editor Action Definition IDs -->
146 <!-- =========================================================================== -->
147
148         <!-- FIXME: there is too much duplication of contributions pointing to the same action. we should find a better way-->
149    <extension
150                  point="org.eclipse.ui.popupMenus">
151           <!-- php, phpc,php3,php4,php5,phpt-->
152           <objectContribution
153                         objectClass="org.eclipse.core.resources.IFile"
154                         nameFilter="*.php*"
155                         id="net.sourceforge.phpeclipse.actions.popupShowAction.phpS">
156                  <action
157                            label="Open PHP Browser"
158                            class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
159                            menubarPath="additions"
160                            id="net.sourceforge.phpeclipse.actions.showAction">
161                  </action>
162           </objectContribution>
163
164           <!-- cake PHP support -->
165           <objectContribution
166                         objectClass="org.eclipse.core.resources.IFile"
167                         nameFilter="*.ctp"
168                         id="net.sourceforge.phpeclipse.actions.popupShowAction.ctp">
169                  <action
170                            label="Open PHP Browser"
171                            class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
172                            menubarPath="additions"
173                            id="net.sourceforge.phpeclipse.actions.showAction">
174                  </action>
175           </objectContribution>
176           <objectContribution
177                         objectClass="org.eclipse.core.resources.IFile"
178                         nameFilter="*.module"
179                         id="net.sourceforge.phpeclipse.actions.popupShowAction.module">
180                  <action
181                            label="Open PHP Browser"
182                            class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
183                            menubarPath="additions"
184                            id="net.sourceforge.phpeclipse.actions.showAction">
185                  </action>
186           </objectContribution>
187           <objectContribution
188                         objectClass="org.eclipse.core.resources.IFile"
189                         nameFilter="*.inc"
190                         id="net.sourceforge.phpeclipse.actions.popupShowAction.inc">
191                  <action
192                            label="Open PHP Browser"
193                            class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
194                            menubarPath="additions"
195                            id="net.sourceforge.phpeclipse.actions.showAction">
196                  </action>
197           </objectContribution>
198           <objectContribution
199                         objectClass="org.eclipse.core.resources.IFile"
200                         nameFilter="*.phtml"
201                         id="net.sourceforge.phpeclipse.actions.popupShowAction.phtml">
202                  <action
203                            label="Open PHP Browser"
204                            class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
205                            menubarPath="additions"
206                            id="net.sourceforge.phpeclipse.actions.showAction">
207                  </action>
208           </objectContribution>
209           <objectContribution
210                         objectClass="org.eclipse.core.resources.IFile"
211                         nameFilter="*.htm*"
212                         id="net.sourceforge.phpeclipse.actions.popupShowAction.html">
213                  <action
214                            label="Open PHP Browser"
215                            class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
216                            menubarPath="additions"
217                            id="net.sourceforge.phpeclipse.actions.showAction">
218                  </action>
219           </objectContribution>
220           <objectContribution
221                         objectClass="org.eclipse.core.resources.IFile"
222                         nameFilter="*.xml"
223                         id="net.sourceforge.phpeclipse.actions.popupShowAction.xml">
224                  <action
225                            label="Open PHP Browser"
226                            class="net.sourceforge.phpeclipse.actions.PHPEclipseShowAction"
227                            menubarPath="additions"
228                            id="net.sourceforge.phpeclipse.actions.showAction">
229                  </action>
230           </objectContribution>
231
232           <!-- Viewers -->
233           <viewerContribution
234                         targetID="#PHPEditorContext"
235                         id="net.sourceforge.phpeclipse.actions.popupHTMLWizard">
236                  <action
237                            label="Insert HTML (dl,ul,ol,table)"
238                            class="net.sourceforge.phpeclipse.wizards.html.InsertHTMLElementAction"
239                            menubarPath="additions"
240                            id="net.sourceforge.phpeclipse.actions.wizards.html">
241                  </action>
242           </viewerContribution>
243           <viewerContribution
244                         targetID="#PHPEditorContext"
245                         id="net.sourceforge.phpeclipse.actions.popupOpenAllIncludes">
246                  <action
247                            label="Open Included Files List"
248                            class="net.sourceforge.phpeclipse.actions.PHPOpenAllIncludesEditorAction"
249                            menubarPath="additions"
250                            id="net.sourceforge.phpeclipse.actions.openallincludes">
251                  </action>
252           </viewerContribution>
253           <viewerContribution
254                         targetID="#PHPEditorContext"
255                         id="net.sourceforge.phpeclipse.actions.popupOpenDeclaration">
256                  <action
257                            label="%OpenDeclaration"
258                            class="net.sourceforge.phpeclipse.actions.PHPOpenDeclarationEditorAction"
259                            menubarPath="additions"
260                            definitionId="net.sourceforge.phpeclipse.actions.opendeclaration"
261                            id="net.sourceforge.phpeclipse.actions.PHPOpenDeclarationEditorAction">
262                  </action>
263           </viewerContribution>
264           <viewerContribution
265                         targetID="#PHPRulerContext"
266                         id="net.sourceforge.phpdt.ui.PHPEditorPopupActions">
267                  <action
268                            label="%AddTask.label"
269                            helpContextId="org.eclipse.ui.AddTask_action_context"
270                            class="org.eclipse.ui.texteditor.TaskRulerAction"
271                            menubarPath="add"
272                            id="org.eclipse.ui.texteditor.TaskRulerAction">
273                  </action>
274                  <action
275                            label="%AddBookmark.label"
276                            helpContextId="org.eclipse.ui.bookmark_action_context"
277                            class="org.eclipse.ui.texteditor.BookmarkRulerAction"
278                            menubarPath="add"
279                            id="org.eclipse.ui.texteditor.BookmarkRulerAction">
280                  </action>
281           </viewerContribution>
282    </extension>
283
284    <extension point="org.eclipse.ui.exportWizards">
285          <wizard name="%ExportWizards.Obfuscator"
286                          icon="icons/ctool16/exportdir_wiz.gif"
287                          class="net.sourceforge.phpeclipse.obfuscator.export.ObfuscatorExportWizard"
288                          id="net.sourceforge.phpeclipse.obfuscator.export.ObfuscatorExportWizard">
289          <description>%ExportWizards.ObfuscatorDescription</description>
290          <selection class="org.eclipse.core.resources.IResource" />
291          </wizard>
292   </extension>
293    <extension
294                  point="org.eclipse.ui.ide.projectNatureImages">
295           <image
296                         icon="icons/ovr16/php_ovr2.gif"
297                         natureId="net.sourceforge.phpeclipse.phpnature"
298                         id="net.sourceforge.phpeclipse.ProjectNatureImagePHP">
299           </image>
300    </extension>
301    <extension
302                  point="org.eclipse.ui.propertyPages">
303           <page
304          class="net.sourceforge.phpdt.internal.ui.preferences.TodoTaskPropertyPage"
305          icon="icons/obj16/php.png"
306          id="net.sourceforge.phpdt.ui.propertyPages.TodoTaskPropertyPage"
307          name="%todoPageName"
308          objectClass="org.eclipse.core.resources.IProject">
309                  <filter
310                            name="nature"
311                            value="net.sourceforge.phpeclipse.phpnature">
312                  </filter>
313           </page>
314           <page
315          class="net.sourceforge.phpdt.internal.ui.preferences.TodoTaskPropertyPage"
316          icon="icons/obj16/php.png"
317          id="net.sourceforge.phpdt.ui.propertyPages.TodoTaskPropertyPage"
318          name="%todoPageName"
319          objectClass="net.sourceforge.phpdt.core.IJavaProject">
320                  <filter
321                            name="nature"
322                            value="net.sourceforge.phpeclipse.phpnature">
323                  </filter>
324           </page>
325                         <page
326          class="net.sourceforge.phpdt.internal.ui.preferences.CompilerPropertyPage"
327          icon="icons/obj16/php.png"
328          id="net.sourceforge.phpdt.ui.propertyPages.CompilerPropertyPage"
329          name="%compilerPageName"
330          objectClass="org.eclipse.core.resources.IProject">
331                  <filter
332                            name="nature"
333                            value="net.sourceforge.phpeclipse.phpnature">
334                  </filter>
335           </page>
336           <page
337          class="net.sourceforge.phpdt.internal.ui.preferences.CompilerPropertyPage"
338          icon="icons/obj16/php.png"
339          id="net.sourceforge.phpdt.ui.propertyPages.CompilerPropertyPage"
340          name="%compilerPageName"
341          objectClass="net.sourceforge.phpdt.core.IJavaProject">
342                  <filter
343                            name="nature"
344                            value="net.sourceforge.phpeclipse.phpnature">
345                  </filter>
346           </page>
347    </extension>
348
349    <extension
350                  point="org.eclipse.ui.actionSets">
351           <actionSet
352                         label="%OpenActionSet.label"
353                         description="%OpenActionSet.description"
354                         visible="false"
355                         id="net.sourceforge.phpeclipse.ui.A_OpenActionSet">
356                  <action
357                            definitionId="net.sourceforge.phpeclipse.ui.edit.text.java.open.editor"
358                            label="%OpenDeclaration"
359                            tooltip="%OpenDeclaration"
360                            retarget="true"
361                            menubarPath="navigate/open.ext"
362                            allowLabelUpdate="true"
363                            id="net.sourceforge.phpeclipse.ui.actions.Open">
364                  </action>
365           </actionSet>
366    </extension>
367    <extension
368                  point="org.eclipse.ui.editorActions">
369           <editorContribution
370                         id="org.eclipse.ui.texteditor.ruler.actions"
371                         targetID="net.sourceforge.phpeclipse.PHPUnitEditor">
372                 <action
373                         id="org.eclipse.ui.texteditor.BookmarkRulerAction"
374                         actionID="RulerDoubleClick"
375                         label="%Dummy.label"
376                         helpContextId="org.eclipse.ui.bookmark_action_context"
377                         class="org.eclipse.ui.texteditor.BookmarkRulerAction">
378                 </action>
379                 <action
380                         label="%Dummy.label"
381                         class="net.sourceforge.phpeclipse.phpeditor.JavaSelectRulerAction"
382                         actionID="RulerClick"
383                         id="net.sourceforge.phpeclipse.phpeditor.JavaSelectRulerAction">
384                 </action>
385           </editorContribution>
386           <editorContribution
387                         id="net.sourceforge.phpdt.editor.actions"
388                         targetID="net.sourceforge.phpeclipse.PHPUnitEditor">
389                  <action
390                            definitionId="net.sourceforge.phpeclipse.actions.opendeclaration"
391                            label="%OpenDeclaration"
392                            class="net.sourceforge.phpeclipse.actions.PHPOpenDeclarationEditorAction"
393                            id="net.sourceforge.phpeclipse.actions.PHPOpenDeclarationEditorAction">
394                  </action>
395           </editorContribution>
396    </extension>
397    <extension
398                  point="org.eclipse.ui.popupMenus">
399           <viewerContribution
400                         targetID="#CompilationUnitRulerContext"
401                         id="net.sourceforge.phpeclipse.phpeditor.QuickFixRulerMenuAction">
402                  <action
403                            label="%Dummy.label"
404                            helpContextId="net.sourceforge.phpeclipse.quick_fix_action"
405                            class="net.sourceforge.phpeclipse.phpeditor.JavaSelectRulerAction"
406                            menubarPath="additions"
407                            id="net.sourceforge.phpeclipse.phpeditor.JavaSelectRulerMenuAction">
408                  </action>
409           </viewerContribution>
410    </extension>
411    <extension
412                  point="org.eclipse.ui.popupMenus">
413           <viewerContribution
414                         targetID="#CompilationUnitRulerContext"
415                         id="net.sourceforge.phpdt.ui.CompilationUnitEditorPopupActions">
416                  <action
417                            label="%AddTask.label"
418                            helpContextId="org.eclipse.ui.AddTask_action_context"
419                            tooltip="%AddTask.tooltip"
420                            class="org.eclipse.ui.texteditor.TaskRulerAction"
421                            menubarPath="add"
422                            id="org.eclipse.ui.texteditor.TaskRulerAction">
423                  </action>
424                  <action
425                            label="%AddBookmark.label"
426                            helpContextId="org.eclipse.ui.bookmark_action_context"
427                            tooltip="%AddBookmark.tooltip"
428                            class="org.eclipse.ui.texteditor.BookmarkRulerAction"
429                            menubarPath="add"
430                            id="org.eclipse.ui.texteditor.BookmarkRulerAction">
431                  </action>
432                  <menu
433                         id="projection"
434                         label="%Folding.label"
435                         path="rest">
436                  </menu>
437                  <action
438                            label="%Dummy.label"
439                            tooltip="%Dummy.label"
440                            class="net.sourceforge.phpdt.internal.ui.actions.FoldingExpandAllRulerAction"
441                            menubarPath="projection/additions"
442                            definitionId="org.eclipse.ui.edit.text.folding.expand_all"
443                            id="net.sourceforge.phpdt.ui.folding.expandAll">
444                  </action>
445                  <action
446                            label="%Dummy.label"
447                            tooltip="%Dummy.label"
448                            class="net.sourceforge.phpdt.internal.ui.actions.FoldingToggleRulerAction"
449                            menubarPath="projection/additions"
450                            definitionId="org.eclipse.ui.edit.text.folding.toggle"
451                            id="net.sourceforge.phpdt.ui.folding.toggle">
452                  </action>
453           </viewerContribution>
454    </extension>
455
456
457
458  <!-- =========================================================================== -->
459 <!-- PHPDT/UI command definitions                                                   -->
460 <!-- =========================================================================== -->
461    <extension point="org.eclipse.ui.contexts">
462           <context name="%context.editingPHPSource.name"
463            description="%context.editingPHPSource.description"
464            parentId="org.eclipse.ui.textEditorScope"
465            id="net.sourceforge.phpdt.ui.phpEditorScope" />
466    </extension>
467    <extension
468                  point="org.eclipse.ui.commands">
469           <category
470                         name="%category.source.name"
471                         description="%category.source.description"
472                         id="net.sourceforge.phpeclipse.ui.category.source">
473           </category>
474
475  <!-- source -->
476           <command
477                         name="%ActionDefinition.comment.name"
478                         description="%ActionDefinition.comment.description"
479                         categoryId="net.sourceforge.phpeclipse.ui.category.source"
480                         id="net.sourceforge.phpeclipse.phpeditor.comment">
481           </command>
482           <command
483                         name="%ActionDefinition.uncomment.name"
484                         description="%ActionDefinition.uncomment.description"
485                         categoryId="net.sourceforge.phpeclipse.ui.category.source"
486                         id="net.sourceforge.phpeclipse.phpeditor.uncomment">
487           </command>
488           <command
489                         name="%ActionDefinition.toggleComment.name"
490                         description="%ActionDefinition.toggleComment.description"
491                         categoryId="net.sourceforge.phpeclipse.ui.category.source"
492                         id="net.sourceforge.phpeclipse.phpeditor.toggle.comment">
493           </command>
494
495           <command
496                         name="%ActionDefinition.addBlockComment.name"
497                         description="%ActionDefinition.addBlockComment.description"
498                         categoryId="net.sourceforge.phpeclipse.ui.category.source"
499                         id="net.sourceforge.phpeclipse.phpeditor.add.block.comment">
500           </command>
501           <command
502                         name="%ActionDefinition.removeBlockComment.name"
503                         description="%ActionDefinition.removeBlockComment.description"
504                         categoryId="net.sourceforge.phpeclipse.ui.category.source"
505                         id="net.sourceforge.phpeclipse.phpeditor.remove.block.comment">
506           </command>
507           <command
508                         name="%ActionDefinition.indent.name"
509                         description="%ActionDefinition.indent.description"
510                         categoryId="net.sourceforge.phpeclipse.ui.category.source"
511                         id="net.sourceforge.phpeclipse.phpeditor.indent">
512           </command>
513           <command
514                         name="%ActionDefinition.format.name"
515                         description="%ActionDefinition.format.description"
516                         categoryId="net.sourceforge.phpeclipse.ui.category.source"
517                         id="net.sourceforge.phpeclipse.phpeditor.format">
518           </command>
519
520           <!-- navigate -->
521           <command
522                         name="%ActionDefinition.gotoNextMember.name"
523                         description="%ActionDefinition.gotoNextMember.description"
524                         categoryId="org.eclipse.ui.category.navigate"
525                         id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.next.member">
526           </command>
527           <command
528                         name="%ActionDefinition.gotoPreviousMember.name"
529                         description="%ActionDefinition.gotoPreviousMember.description"
530                         categoryId="org.eclipse.ui.category.navigate"
531                         id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.previous.member">
532           </command>
533           <command
534                         name="%ActionDefinition.gotoMatchingBracket.name"
535                         description="%ActionDefinition.gotoMatchingBracket.description"
536                         categoryId="org.eclipse.ui.category.navigate"
537                         id="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket">
538           </command>
539           <command
540                         name="%OpenDeclaration"
541                         description="%OpenDeclaration"
542                         categoryId="net.sourceforge.phpeclipse.ui.category.source"
543                         id="net.sourceforge.phpeclipse.actions.opendeclaration">
544           </command>
545    </extension>
546
547
548    <extension
549                  point="org.eclipse.ui.preferencePages">
550           <page name="PHP"
551                         category="net.sourceforge.phpeclipse.ui.preferencePage"
552                         class="net.sourceforge.phpdt.internal.ui.preferences.JavaEditorPreferencePage"
553                         id="net.sourceforge.phpeclipse.preferences.PHPPreferencePage">
554           </page>
555           <page
556                         name="Code Templates"
557                         category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
558                         class="net.sourceforge.phpdt.internal.ui.preferences.CodeTemplatePreferencePage"
559                         id="net.sourceforge.phpeclipse.preference.CodeTemplatePreferencePage">
560           </page>
561           <page
562                         name="%compilerOptionsPrefName"
563                         category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
564                         class="net.sourceforge.phpdt.internal.ui.preferences.CompilerPreferencePage"
565                         id="net.sourceforge.phpeclipse.preference.CompilerPreferencePage">
566           </page>
567           <page
568                         name="%todoTaskPrefName"
569                         category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
570                         class="net.sourceforge.phpdt.internal.ui.preferences.TodoTaskPreferencePage"
571                         id="net.sourceforge.phpeclipse.preference.TodoTaskPreferencePage">
572           </page>
573           <page
574                         name="Formatter"
575                         category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
576                         class="net.sourceforge.phpdt.internal.ui.preferences.CodeFormatterPreferencePage"
577                         id="net.sourceforge.phpeclipse.preference.CodeFormatterPreferencePage">
578           </page>
579           <page name="%codeAssistPageName"
580                         category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
581                         class="net.sourceforge.phpdt.internal.ui.preferences.CodeAssistPreferencePage"
582                         id="net.sourceforge.phpdt.internal.ui.preferences.CodeAssistPreferencePage">
583           </page>
584       <page name="%editorPageName"
585             category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
586             class="net.sourceforge.phpdt.internal.ui.preferences.EditorPreferencePage"
587             id="net.sourceforge.phpdt.internal.ui.preferences.EditorPreferencePage">
588       </page>
589       <page
590                         name="%templatePageName"
591                         category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
592                         class="net.sourceforge.phpdt.internal.ui.preferences.JavaTemplatePreferencePage"
593                         id="net.sourceforge.phpeclipse.preference.TemplatePreferencePage">
594           </page>
595           <page
596                         name="%spellingPrefName"
597                         category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
598                         class="net.sourceforge.phpdt.internal.ui.preferences.SpellingPreferencePage"
599                         id = "net.sourceforge.phpdt.internal.ui.preferences.SpellingPreferencePage">
600           </page>
601           <page
602                         name="%editorMarkOccurrencesPage"
603                         category="net.sourceforge.phpeclipse.preferences.PHPPreferencePage"
604                         class="net.sourceforge.phpdt.internal.ui.preferences.MarkOccurrencesPreferencePage"
605                         id="net.sourceforge.phpdt.internal.ui.preferences.MarkOccurrencesPreferencePage">
606           </page>
607    </extension>
608
609
610
611 <!-- Extensions -->
612
613         <extension
614                 point= "net.sourceforge.phpeclipse.foldingStructureProviders">
615                 <provider
616                         id="net.sourceforge.phpdt.ui.text.defaultFoldingProvider"
617                         name= "%defaultFoldingStructureProviderName"
618                         class="net.sourceforge.phpdt.internal.ui.text.folding.DefaultJavaFoldingStructureProvider"
619                         preferencesClass="net.sourceforge.phpdt.internal.ui.text.folding.DefaultJavaFoldingPreferenceBlock">
620                 </provider>
621         </extension>
622
623 <!-- =========================================================================== -->
624 <!-- Filter Support                                                              -->
625 <!-- =========================================================================== -->
626    <extension
627                  point="net.sourceforge.phpeclipse.phpElementFilters">
628 <!-- Outline Page -->
629           <filter
630                         targetId="net.sourceforge.phpeclipse.JavaOutlinePage"
631                         name="%HideImportDeclaration.label"
632                         enabled="false"
633                         description="%HideImportDeclaration.description"
634                         class="net.sourceforge.phpdt.internal.ui.filters.ImportDeclarationFilter"
635                         id="net.sourceforge.phpeclipse.JavaOutlinePage.ImportDeclarationFilter">
636           </filter>
637    </extension>
638
639 <!-- =========================================================================== -->
640 <!-- Templates                                                                   -->
641 <!-- =========================================================================== -->
642    <extension
643                  point="org.eclipse.ui.editors.templates">
644           <contextType
645                         name="%templates.php.contextType.name"
646                         class="net.sourceforge.phpdt.internal.corext.template.php.JavaContextType"
647                         id="java">
648           </contextType>
649           <contextType
650                         name="%templates.phpdoc.contextType.name"
651                         class="net.sourceforge.phpdt.internal.corext.template.php.JavaDocContextType"
652                         id="javadoc">
653           </contextType>
654           <contextType
655                         name="%templates.html.contextType.name"
656                         class="net.sourceforge.phpdt.internal.corext.template.php.HTMLContextType"
657                         id="javadoc">
658           </contextType>
659           <include
660                           file="templates/default-templates.xml"
661                           translations="templates/default-templates.properties">
662           </include>
663           <include
664                           file="templates/default-templates-html.xml"
665                           translations="templates/default-templates-html.properties">
666           </include>
667           <include
668                           file="templates/default-codetemplates.xml"
669                           translations="templates/default-templates-html.properties">
670           </include>
671    </extension>
672    <extension
673                  point="org.eclipse.ui.bindings">
674           <key
675                         sequence="Ctrl+Shift+C"
676                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
677                         commandId="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
678                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
679           </key>
680           <key
681                         sequence="Ctrl+/"
682                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
683                         commandId="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
684                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
685           </key>
686           <key
687                            sequence="Ctrl+7"
688                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
689                         commandId="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
690                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
691           </key>
692           <key
693                         platform="carbon"
694                         sequence="Ctrl+Shift+C"
695                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
696                         commandId=""
697                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
698           </key>
699           <key
700                         platform="carbon"
701                         sequence="Command+Shift+C"
702                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
703                         commandId="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
704                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
705           </key>
706           <key
707                         platform="carbon"
708                         sequence="Ctrl+/"
709                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
710                         commandId="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
711                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
712           </key>
713           <key
714                         platform="carbon"
715                         sequence="Command+/"
716                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
717                         commandId="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
718                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
719           </key>
720           <key
721                         platform="carbon"
722                         sequence="Ctrl+7"
723                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
724                         commandId=""
725                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
726           </key>
727           <key
728                         platform="carbon"
729                         sequence="Command+7"
730                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
731                         commandId="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
732                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
733           </key>
734           <key
735                         platform="gtk"
736                         sequence="Ctrl+Shift+C"
737                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
738                         commandId=""
739                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
740           </key>
741           <key
742                         platform="gtk"
743                         sequence="Esc Ctrl+C"
744                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
745                         commandId="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
746                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
747           </key>
748           <key
749                         sequence="Ctrl+Shift+/"
750                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
751                         commandId="net.sourceforge.phpeclipse.phpeditor.add.block.comment"
752                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
753           </key>
754           <key
755                         platform="carbon"
756                         sequence="Ctrl+Shift+/"
757                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
758                         commandId=""
759                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
760           </key>
761           <key
762                         platform="carbon"
763                         sequence="Command+Shift+/"
764                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
765                         commandId="net.sourceforge.phpeclipse.phpeditor.add.block.comment"
766                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
767           </key>
768           <key
769                         sequence="Ctrl+Shift+\"
770                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
771                         commandId="net.sourceforge.phpeclipse.phpeditor.remove.block.comment"
772                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
773           </key>
774           <key
775                         platform="carbon"
776                         sequence="Ctrl+Shift+\"
777                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
778                         commandId=""
779                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
780           </key>
781           <key
782                         platform="carbon"
783                         sequence="Command+Shift+\"
784                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
785                         commandId="net.sourceforge.phpeclipse.phpeditor.remove.block.comment"
786                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
787           </key>
788           <key
789                         sequence="Ctrl+I"
790                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
791                         commandId="net.sourceforge.phpeclipse.phpeditor.indent"
792                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
793           </key>
794           <key
795                         sequence="Ctrl+Shift+F"
796                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
797                         commandId="net.sourceforge.phpeclipse.phpeditor.format"
798                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
799           </key>
800           <key
801                         platform="carbon"
802                         sequence="Ctrl+Shift+F"
803                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
804                         commandId=""
805                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
806           </key>
807           <key
808                         platform="carbon"
809                         sequence="Command+Shift+F"
810                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
811                         commandId="net.sourceforge.phpeclipse.phpeditor.format"
812                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
813           </key>
814           <key
815                         platform="gtk"
816                         sequence="Ctrl+Shift+F"
817                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
818                         commandId=""
819                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
820           </key>
821           <key
822                         platform="gtk"
823                         sequence="Esc Ctrl+F"
824                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
825                         commandId="net.sourceforge.phpeclipse.phpeditor.format"
826                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
827           </key>
828           <key
829                         sequence="Ctrl+Shift+ARROW_DOWN"
830                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
831                         commandId="net.sourceforge.phpeclipse.ui.edit.text.php.goto.next.member"
832                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
833           </key>
834           <key
835                         platform="carbon"
836                         sequence="Ctrl+Shift+ARROW_DOWN"
837                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
838                         commandId=""
839                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
840           </key>
841           <key
842                         platform="carbon"
843                         sequence="Command+Shift+ARROW_DOWN"
844                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
845                         commandId="net.sourceforge.phpeclipse.ui.edit.text.php.goto.next.member"
846                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
847           </key>
848           <key
849                         sequence="Ctrl+Shift+ARROW_UP"
850                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
851                         commandId="net.sourceforge.phpeclipse.ui.edit.text.php.goto.previous.member"
852                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
853           </key>
854           <key
855                         platform="carbon"
856                         sequence="Ctrl+Shift+ARROW_UP"
857                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
858                         commandId=""
859                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
860           </key>
861           <key
862                         platform="carbon"
863                         sequence="Command+Shift+ARROW_UP"
864                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
865                         commandId="net.sourceforge.phpeclipse.ui.edit.text.php.goto.previous.member"
866                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
867           </key>
868           <key
869                         sequence="Ctrl+Shift+P"
870                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
871                         commandId="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket"
872                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
873           </key>
874           <key
875                         platform="carbon"
876                         sequence="Ctrl+Shift+P"
877                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
878                         commandId=""
879                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
880           </key>
881           <key
882                         platform="carbon"
883                         sequence="Command+Shift+P"
884                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
885                         commandId="net.sourceforge.phpeclipse.ui.edit.text.php.goto.matching.bracket"
886                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
887           </key>
888           <key
889                         sequence="F3"
890                         contextId="net.sourceforge.phpdt.ui.phpEditorScope"
891                         commandId="net.sourceforge.phpeclipse.actions.opendeclaration"
892                         schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
893           </key>
894    </extension>
895
896
897
898           <extension
899                  point="org.eclipse.ui.fontDefinitions">
900           <fontDefinition
901                         label="%phpEditorFontDefiniton.label"
902                         defaultsTo="org.eclipse.jface.textfont"
903                         id="net.sourceforge.phpdt.ui.editors.textfont">
904                  <description>
905                         %phpEditorFontDefintion.description
906                  </description>
907           </fontDefinition>
908    </extension>
909    <extension
910                  point="org.eclipse.ui.editors.annotationTypes">
911           <type
912                  name="net.sourceforge.phpdt.ui.error"
913                  super="org.eclipse.ui.workbench.texteditor.error"
914                  markerType="net.sourceforge.phpeclipse.problem"
915                  markerSeverity="2">
916           </type>
917           <type
918                  name="net.sourceforge.phpdt.ui.warning"
919                  super="org.eclipse.ui.workbench.texteditor.warning"
920                  markerType="net.sourceforge.phpeclipse.problem"
921                  markerSeverity="1">
922           </type>
923           <type
924                  name="net.sourceforge.phpdt.ui.info"
925                  super="org.eclipse.ui.workbench.texteditor.info"
926                  markerType="net.sourceforge.phpeclipse.problem"
927                  markerSeverity="0">
928           </type>
929           <type
930                  name="net.sourceforge.phpdt.ui.occurrences">
931           </type>
932    </extension>
933    <extension
934                  point="org.eclipse.ui.editors.markerAnnotationSpecification">
935           <specification
936                         annotationType="net.sourceforge.phpdt.ui.error"
937                         annotationImageProvider="net.sourceforge.phpeclipse.phpeditor.JavaAnnotationImageProvider">
938           </specification>
939           <specification
940                         annotationType="net.sourceforge.phpdt.ui.warning"
941                         annotationImageProvider="net.sourceforge.phpeclipse.phpeditor.JavaAnnotationImageProvider">
942           </specification>
943           <specification
944                         annotationType="net.sourceforge.phpdt.ui.info"
945                         annotationImageProvider="net.sourceforge.phpeclipse.phpeditor.JavaAnnotationImageProvider">
946           </specification>
947           <specification
948                         annotationType="net.sourceforge.phpdt.ui.occurrences"
949                         label="%OccurrenceAnnotation.label"
950                         icon="icons/obj16/searchm_obj.gif"
951                         textPreferenceKey="occurrenceIndication"
952                         textPreferenceValue="false"
953                         highlightPreferenceKey="occurrenceHighlighting"
954                         highlightPreferenceValue="true"
955                         overviewRulerPreferenceKey="occurrenceIndicationInOverviewRuler"
956                         overviewRulerPreferenceValue="true"
957                         verticalRulerPreferenceKey="occurrenceIndicationInVerticalRuler"
958                         verticalRulerPreferenceValue="false"
959                         colorPreferenceKey="occurrenceIndicationColor"
960                         colorPreferenceValue="180,207,205"
961                         presentationLayer="3"
962                         showInNextPrevDropdownToolbarActionKey="showOccurrenceInNextPrevDropdownToolbarAction"
963                         showInNextPrevDropdownToolbarAction="true"
964                         isGoToNextNavigationTargetKey="isOccurrenceGoToNextNavigationTarget"
965                         isGoToNextNavigationTarget="false"
966                         isGoToPreviousNavigationTargetKey="isOccurrenceGoToPreviousNavigationTarget"
967                         isGoToPreviousNavigationTarget="false">
968           </specification>
969         </extension>
970
971
972
973   <extension
974         point="org.eclipse.ui.decorators">
975         <decorator
976                 label="%ProblemsLabelDecorator.label"
977                 state="true"
978                 lightweight="true"
979                 location="BOTTOM_LEFT"
980                 class="net.sourceforge.phpdt.ui.ProblemsLabelDecorator"
981                 id="net.sourceforge.phpdt.ui.problem.decorator">
982                 <description>
983                         %ProblemsLabelDecorator.description
984                 </description>
985                 <enablement>
986                         <or>
987                                 <objectClass
988                                         name="org.eclipse.core.resources.IResource">
989                                 </objectClass>
990                                 <objectClass
991                                         name="net.sourceforge.phpdt.core.IJavaElement">
992                                 </objectClass>
993                         </or>
994                 </enablement>
995         </decorator>
996         <decorator
997                 label="%OverrideIndicatorLabelDecorator.label"
998                 lightweight="true"
999                 location="BOTTOM_RIGHT"
1000                 state="true"
1001                 class="net.sourceforge.phpdt.ui.OverrideIndicatorLabelDecorator"
1002                 id="net.sourceforge.phpdt.ui.override.decorator">
1003                 <description>
1004                         %OverrideIndicatorLabelDecorator.description
1005                 </description>
1006                 <enablement>
1007                         <objectClass
1008                                 name="net.sourceforge.phpdt.core.IMethod">
1009                         </objectClass>
1010                 </enablement>
1011         </decorator>
1012   </extension>
1013
1014
1015
1016
1017
1018
1019
1020
1021    <extension
1022                  point="org.eclipse.ui.actionSets">
1023           <actionSet
1024                         label="%CodingActionSet.label"
1025                         description="%CodingActionSet.description"
1026                         visible="false"
1027                         id="net.sourceforge.phpeclipse.ui.CodingActionSet">
1028 <!-- =========================================================================== -->
1029 <!-- Source Menu                                                                 -->
1030 <!-- =========================================================================== -->
1031                  <menu
1032                            label="%SourceMenu.label"
1033                            path="edit/editEnd"
1034                            id="net.sourceforge.phpeclipse.ui.source.menu">
1035                          <separator
1036                                    name="editGroup">
1037                          </separator>
1038                  </menu>
1039                  <action
1040                            definitionId="net.sourceforge.phpeclipse.phpeditor.format"
1041                            label="%FormatAction.label"
1042                            retarget="true"
1043                            menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/editGroup"
1044                            id="net.sourceforge.phpeclipse.phpeditor.Format">
1045                  </action>
1046                  <action
1047                            label="%ShiftLeftAction.label"
1048                            retarget="true"
1049                            menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/editGroup"
1050                            id="net.sourceforge.phpeclipse.phpeditor.ShiftLeft">
1051                  </action>
1052                  <action
1053                            label="%ShiftRightAction.label"
1054                            retarget="true"
1055                            menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/editGroup"
1056                            id="net.sourceforge.phpeclipse.phpeditor.ShiftRight">
1057                  </action>
1058                  <action
1059                            definitionId="net.sourceforge.phpeclipse.phpeditor.remove.block.comment"
1060                            label="%RemoveBlockCommentAction.label"
1061                            retarget="true"
1062                            menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/editGroup"
1063                            id="net.sourceforge.phpeclipse.ui.actions.RemoveBlockComment">
1064                  </action>
1065                  <action
1066                            definitionId="net.sourceforge.phpeclipse.phpeditor.add.block.comment"
1067                            label="%AddBlockCommentAction.label"
1068                            retarget="true"
1069                            menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/editGroup"
1070                            id="net.sourceforge.phpeclipse.ui.actions.AddBlockComment">
1071                  </action>
1072                  <action
1073                            definitionId="net.sourceforge.phpeclipse.phpeditor.toggle.comment"
1074                            label="%ToggleCommentAction.label"
1075                            retarget="true"
1076                            menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/editGroup"
1077                            id="net.sourceforge.phpeclipse.ui.actions.ToggleComment">
1078                  </action>
1079                  <action
1080                            definitionId="net.sourceforge.phpeclipse.phpeditor.uncomment"
1081                            label="%UncommentAction.label"
1082                            retarget="true"
1083                            menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/editGroup"
1084                            id="net.sourceforge.phpeclipse.phpeditor.Uncomment">
1085                  </action>
1086                  <action
1087                            definitionId="net.sourceforge.phpeclipse.phpeditor.comment"
1088                            label="%CommentAction.label"
1089                            retarget="true"
1090                            menubarPath="edit/net.sourceforge.phpeclipse.ui.source.menu/editGroup"
1091                            id="net.sourceforge.phpeclipse.phpeditor.Comment">
1092                  </action>
1093           </actionSet>
1094    </extension>
1095
1096
1097
1098
1099
1100
1101
1102    <extension
1103                  point="org.eclipse.ui.popupMenus">
1104          <viewerContribution
1105                 targetID="#PHPEditorContext"
1106                 id="net.sourceforge.phpdt.ltk.renameLocalVariable">
1107                 <action label="Rename Local Variable in Functions/Methods"
1108                                 class="net.sourceforge.phpdt.ltk.ui.actions.RenameLocalVariable"
1109                                 menubarPath="additions"
1110                                 id="net.sourceforge.phpdt.ltk.ui.actions.RenameLocalVariable"/>
1111           </viewerContribution>
1112    </extension>
1113
1114
1115    <extension
1116          point="org.eclipse.ui.preferencePages">
1117       <page
1118             name="%preferencePageName"
1119             class="net.sourceforge.phpeclipse.ui.preferences.EmptyPreferencePage"
1120             id="net.sourceforge.phpeclipse.ui.preferencePage">
1121       </page>
1122       <page
1123             category="net.sourceforge.phpeclipse.ui.preferencePage"
1124             name="Project Defaults"
1125             class="net.sourceforge.phpeclipse.ui.preferences.PHPMiscProjectPreferences"
1126             id="net.sourceforge.phpeclipse.ui.preferences.PHPMiscProjectPreferences">
1127       </page>
1128       <page
1129             category="net.sourceforge.phpeclipse.ui.preferencePage"
1130             name="Browser Preview Defaults"
1131             class="net.sourceforge.phpeclipse.ui.preferences.PHPPreviewProjectPreferences"
1132             id="net.sourceforge.phpeclipse.ui.preferences.PHPPreviewProjectPreferences">
1133       </page>
1134    </extension>
1135       <extension
1136          point="org.eclipse.ui.propertyPages">
1137       <page
1138             class="net.sourceforge.phpeclipse.ui.preferences.PHPMiscProjectPreferences"
1139             icon="icons/full/obj16/php.png"
1140             id="net.sourceforge.phpeclipse.ui.preferences.project.PHPMiscProjectPreferences"
1141             name="PHP Project Settings"
1142             objectClass="org.eclipse.core.resources.IProject">
1143          <filter
1144                name="nature"
1145                value="net.sourceforge.phpeclipse.phpnature">
1146          </filter>
1147       </page>
1148       <page
1149             class="net.sourceforge.phpeclipse.ui.preferences.PHPPreviewProjectPreferences"
1150             id="net.sourceforge.phpeclipse.ui.preferences.PHPPreviewProjectPreferences"
1151             name="PHP Browser Preview"
1152             objectClass="org.eclipse.core.resources.IFile">
1153       </page>
1154    </extension>
1155
1156    <extension
1157          point="org.eclipse.ui.editors.templates">
1158       <contextType
1159             name="%templates.contextType.xml"
1160             class="net.sourceforge.phpeclipse.ui.templates.template.XMLTemplateContextType"
1161             id="xml">
1162       </contextType>
1163       <contextType
1164             name="%templates.contextType.html"
1165             class="net.sourceforge.phpeclipse.ui.templates.template.HTMLTemplateContextType"
1166             id="html">
1167       </contextType>
1168       <contextType
1169             name="%templates.contextType.javascript"
1170             class="net.sourceforge.phpeclipse.ui.templates.template.JSTemplateContextType"
1171             id="javascript">
1172       </contextType>
1173       <contextType
1174             name="%templates.contextType.smarty"
1175             class="net.sourceforge.phpeclipse.ui.templates.template.SmartyTemplateContextType"
1176             id="smarty">
1177       </contextType>
1178       <include
1179                 file="templates/default-templates-html.xml"
1180                 translations="templates/default-templates-html.properties">
1181       </include>
1182    </extension>
1183 </plugin>