adding project save as also to context popup menu
[udig:udig-platform.git] / plugins / net.refractions.udig.project.ui / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.0"?>
3 <plugin>
4
5    <extension-point id="editorInputs" name="%editorInputs.point" schema="schema/editorInputs.exsd"/>
6    <extension-point id="itemProviderAdapterFactories" name="%adapterFactories.name" schema="schema/itemProviderAdapterFactories.exsd"/>
7    <extension-point id="tool" name="%tool.point" schema="schema/tool.exsd"/>
8    <extension-point id="featureEditor" name="%featureEditor.point" schema="schema/featureEditor.exsd"/>
9    <extension-point id="toolManagers" name="toolManagers" schema="schema/toolManagers.exsd"/>
10    <extension-point id="pdfTemplates" name="PDF Templates" schema="schema/pdfTemplates.exsd"/>
11    <extension-point id="featurePanel" name="%featurePanel.point" schema="schema/featurePanel.exsd"/>
12    
13         <extension
14          point="org.eclipse.ui.popupMenus">
15       <objectContribution
16             objectClass="net.refractions.udig.catalog.IGeoResource"
17             adaptable="true"
18             id="net.refractions.udig.project.ui.GeoResourceContributions">
19          <action
20                label="%addToNewMap.label"
21                icon="icons/etool16/newmap_wiz.gif"
22                tooltip="%addToNewMap.tooltip"
23                class="net.refractions.udig.project.ui.internal.actions.AddToNewMap"
24                id="net.refractions.udig.project.ui.AddGeoToNewMap">
25          </action>
26          <action
27                label="%addToCurrentMap.label"
28                icon="icons/etool16/addlayer_wiz.gif"
29                tooltip="%addToCurrentMap.tooltip"
30                class="net.refractions.udig.project.ui.internal.actions.AddToCurrentMap"
31                menubarPath="additions"
32                id="net.refractions.udig.project.ui.AddGeoToCurrentMap">
33          </action>
34       </objectContribution>      
35       <objectContribution
36             objectClass="net.refractions.udig.project.IProject"
37             adaptable="true"
38             id="net.refractions.udig.project.ui.ProjectContributions">
39        <!--  <action
40                class="net.refractions.udig.project.ui.internal.actions.ConsolidateAction"
41                enablesFor="1"
42                id="net.refractions.udig.project.ui.action1"
43                label="%consolidate.action"
44                menubarPath="additions"
45                style="push">
46          </action> -->
47          <action
48                enablesFor="1"
49                label="%rename.label"
50                tooltip="%rename.tooltip"
51                class="net.refractions.udig.project.ui.internal.actions.Rename"
52                id="net.refractions.udig.project.ui.actionRename"/>
53          <action
54                class="net.refractions.udig.project.ui.internal.actions.AddToNewMap"
55                enablesFor="1"
56                icon="icons/etool16/newmap_wiz.gif"
57                id="net.refractions.udig.project.ui.newMap"
58                label="%map.new.label"/>
59          <action
60                  class="net.refractions.udig.project.ui.internal.actions.SaveAsProject"
61                  enablesFor="1"
62                  icon="icons/obj16/project_save.gif"
63                  id="net.refractions.udig.project.ui.saveAsProject"
64                  label="%project.action.save.name"
65                  tooltip="%project.action.save.tooltip">
66          </action>
67          <action
68                class="net.refractions.udig.project.ui.internal.actions.OpenMapAction"
69                enablesFor="+"
70                icon="icons/obj16/project_obj.gif"
71                id="net.refractions.udig.project.ui.action2"
72                label="%map.action.open.name">
73          </action>
74       </objectContribution>
75      <objectContribution
76             adaptable="true"
77             objectClass="net.refractions.udig.project.ILayer"
78             id="net.refractions.udig.project.ui.LayerContribution">
79          <action
80                enablesFor="1"
81                label="%rename.label"
82                tooltip="%rename.tooltip"
83                class="net.refractions.udig.project.ui.internal.actions.Rename"
84                id="net.refractions.udig.project.ui.actionRename"/>
85          <!--action
86                label="%delete.label"
87                definitionId="org.eclipse.ui.edit.delete"
88                tooltip="%delete.tooltip"
89                class="net.refractions.udig.project.ui.internal.actions.Delete"
90                icon="icons/etool16/delete.gif"
91                id="net.refractions.udig.project.ui.deleteLayer"/-->
92          <action
93                label="%zoomToLayer.label"
94                icon="icons/elcl16/zoom_layer_co.gif"
95                tooltip="%zoomToLayer.tooltip"
96                class="net.refractions.udig.project.ui.internal.actions.ZoomToLayer"
97                style="push"
98                id="net.refractions.udig.project.ui.zoomTo"/>
99       </objectContribution>
100       <objectContribution
101             adaptable="false"
102             objectClass="net.refractions.udig.catalog.IService"
103             id="net.refractions.udig.project.ui.IServiceContribution">
104          <action
105                label="%addToCurrentMap.label"
106                tooltip="%addToCurrentMap.label"
107                icon="icons/etool16/addlayer_wiz.gif"
108                class="net.refractions.udig.project.ui.internal.actions.AddToCurrentMap"
109                menubarPath="additions"
110                id="net.refractions.udig.project.ui.AddIServToCurrentMap"/>
111          <action
112                label="%addToNewMap.label"
113                tooltip="%addToNewMap.tooltip"
114                icon="icons/etool16/newmap_wiz.gif"
115                class="net.refractions.udig.project.ui.internal.actions.AddToNewMap"
116                id="net.refractions.udig.project.ui.AddIServToNewMap"/>
117       </objectContribution>
118       <objectContribution
119             adaptable="false"
120             objectClass="net.refractions.udig.project.internal.Map"
121             id="net.refractions.udig.project.ui.MapContribution">
122          <action
123                label="%add.label"
124                tooltip="%add.tooltip"
125                icon="icons/etool16/addlayer_wiz.gif"
126                definitionId="net.refractions.udig.project.ui.addLayerCommand"
127                class="net.refractions.udig.project.ui.internal.actions.AddLayersAction"
128                style="push"
129                id="net.refractions.udig.project.ui.map.AddLayerAction"/>
130       </objectContribution>
131       <objectContribution
132             adaptable="true"
133             id="net.refractions.udig.project.ui.projectElementContribution"
134             objectClass="net.refractions.udig.project.IProjectElement">
135          <action
136                class="net.refractions.udig.project.ui.internal.actions.Rename"
137                enablesFor="1"
138                id="net.refractions.udig.project.ui.rename"
139                label="%rename.label"
140                menubarPath="additions"/>
141       </objectContribution>
142    </extension>
143
144    <extension
145          point="org.eclipse.ui.perspectiveExtensions">
146       <perspectiveExtension
147             targetID="net.refractions.udig.ui.mapPerspective">
148          <viewShortcut
149                id="net.refractions.udig.project.ui.projectExplorer">
150          </viewShortcut>
151          <viewShortcut
152                id="net.refractions.udig.project.ui.layerManager">
153          </viewShortcut>
154          <newWizardShortcut
155                id="net.refractions.udig.project.ui.wizard.newMap">
156          </newWizardShortcut>
157          <newWizardShortcut
158                id="net.refractions.udig.project.ui.wizards.newProject">
159          </newWizardShortcut>
160          <newWizardShortcut
161                id="net.refractions.udig.project.ui.wizard.newLayer">
162          </newWizardShortcut>
163          <perspectiveShortcut
164                id="net.refractions.udig.ui.mapPerspective">
165          </perspectiveShortcut>
166          <actionSet id="net.refractions.udig.project.ui.LayerActions"/>
167          <actionSet id="net.refractions.udig.project.ui.renameSet"/>
168          <actionSet id="net.refractions.udig.project.ui.OpenProjectSet"/>
169       </perspectiveExtension>
170       <perspectiveExtension targetID="net.refractions.udig.ui.stylePerspective">
171          <actionSet id="net.refractions.udig.project.ui.LayerActions"/>
172          <actionSet id="net.refractions.udig.project.ui.renameSet"/>
173          <actionSet id="net.refractions.udig.project.ui.OpenProjectSet"/>
174       </perspectiveExtension>
175    </extension>
176    <extension
177          id="net.refractions.udig.ui.new"
178          point="org.eclipse.ui.newWizards">
179       <category
180             name="%NewMap.category"
181             id="net.refractions.udig.project.ui.new.map">
182       </category>
183       <category
184             name="%NewProject.category"
185             id="net.refractions.udig.project.ui.new">
186       </category>
187       <primaryWizard
188             id="net.refractions.udig.project.ui.wizards.newProject">
189       </primaryWizard>
190       <wizard
191             name="%NewProjectWizard.name"
192             id="net.refractions.udig.project.ui.wizards.newProject"
193             category="net.refractions.udig.project.ui.new"
194             class="net.refractions.udig.project.ui.internal.wizard.NewProjectWizard"
195             icon="icons/etool16/newprj_wiz.gif"
196             finalPerspective="net.refractions.udig.ui.mapPerspective"
197             project="false"
198             helpHref="New Project wizard.html"
199             preferredPerspectives="net.refractions.udig.ui.mapPerspective">
200          <description>
201             %NewProjectWizard.description
202          </description>
203       </wizard>
204    </extension>
205    <extension
206          point="org.eclipse.ui.propertyPages">
207       <page
208             class="net.refractions.udig.project.ui.internal.property.pages.MapSummary"
209             id="net.refractions.udig.configuration.property.map.summary"
210             name="%MapSummary.name"
211             objectClass="net.refractions.udig.project.IMap"/>
212       <page
213             class="net.refractions.udig.project.ui.internal.property.pages.MapCRSPropertyPage"
214             id="net.refractions.udig.project.ui.page1"
215             name="%crs.page.name"
216             objectClass="net.refractions.udig.project.IMap"/>
217       <page
218             class="net.refractions.udig.project.ui.internal.PalettePropertyPage"
219             icon="icons/obj16/style_obj.gif"
220             id="net.refractions.udig.project.ui.palettePropertyPage"
221             name="%Palette.name"
222             objectClass="net.refractions.udig.project.IMap"/>
223       <page
224             class="net.refractions.udig.project.ui.internal.property.pages.LayerSummary"
225             id="net.refractions.udig.configuration.property.layer.summary"
226             name="%LayerSummary.name"
227             objectClass="net.refractions.udig.project.ILayer"/>
228       <page
229             class="net.refractions.udig.project.ui.internal.property.pages.LayerCRSPropertyPage"
230             id="net.refractions.udig.project.ui.layer.crs"
231             name="%layer.crs.propertypage"
232             objectClass="net.refractions.udig.project.internal.Layer">
233       </page>
234    </extension>
235
236       <extension
237             id="net.refractions.udig.project.ui.adapters"
238             point="org.eclipse.core.runtime.adapters">
239      <factory
240            class="net.refractions.udig.project.ui.internal.adapters.FeatureAdapterFactory"
241            adaptableType="org.opengis.feature.Feature">
242         <adapter type="org.eclipse.ui.views.properties.IPropertySource"/>
243         <adapter type="org.eclipse.ui.views.properties.IPropertySource2"/>
244         <adapter type="org.eclipse.jface.viewers.ITreeContentProvider"/>
245         <adapter type="org.eclipse.jface.viewers.IStructuredContentProvider"/>
246         <adapter type="org.eclipse.jface.viewers.IContentProvider"/>
247         <adapter type="org.eclipse.jface.viewers.ILabelProvider"/>
248         <adapter type="org.eclipse.jface.viewers.ITableColorProvider"/>       
249         <adapter type="org.eclipse.jface.viewers.ITableLabelProvider"/>   
250         <adapter type="net.refractions.udig.project.ui.internal.adapters.FeatureTableProvider"/>
251         <adapter type="org.eclipse.core.runtime.IAdaptable"/>
252      </factory>
253      <factory
254            class="net.refractions.udig.project.ui.internal.adapters.FeatureAdapterFactory"
255            adaptableType="com.vividsolutions.jts.geom.Geometry">
256         <adapter type="org.eclipse.ui.views.properties.IPropertySource"/>
257         <adapter type="org.eclipse.ui.views.properties.IPropertySource2"/>
258         <adapter type="org.eclipse.jface.viewers.ITreeContentProvider"/>
259         <adapter type="org.eclipse.jface.viewers.IStructuredContentProvider"/>
260         <adapter type="org.eclipse.jface.viewers.IContentProvider"/>
261         <adapter type="org.eclipse.jface.viewers.ILabelProvider"/>   
262         <adapter type="org.eclipse.jface.viewers.ITableColorProvider"/>       
263         <adapter type="org.eclipse.jface.viewers.ITableLabelProvider"/>   
264         <adapter type="net.refractions.udig.project.ui.internal.adapters.FeatureTableProvider"/>
265         </factory>
266      <factory
267            class="net.refractions.udig.project.ui.internal.adapters.FeatureAdapterFactory"
268            adaptableType="com.vividsolutions.jts.geom.Coordinate">
269         <adapter type="org.eclipse.ui.views.properties.IPropertySource"/>
270         <adapter type="org.eclipse.ui.views.properties.IPropertySource2"/>
271         <adapter type="org.eclipse.jface.viewers.ITreeContentProvider"/>
272         <adapter type="org.eclipse.jface.viewers.IStructuredContentProvider"/>
273         <adapter type="org.eclipse.jface.viewers.IContentProvider"/>
274         <adapter type="org.eclipse.jface.viewers.ILabelProvider"/>
275         <adapter type="org.eclipse.jface.viewers.ITableColorProvider"/>       
276         <adapter type="org.eclipse.jface.viewers.ITableLabelProvider"/>   
277         <adapter type="net.refractions.udig.project.ui.internal.adapters.FeatureTableProvider"/>
278      </factory>
279      <factory
280            class="net.refractions.udig.project.ui.internal.adapters.FeatureAdapterFactory"
281            adaptableType="com.vividsolutions.jts.geom.Coordinate">
282         <adapter type="org.eclipse.jface.viewers.ITreeContentProvider"/>
283         <adapter type="org.eclipse.jface.viewers.IStructuredContentProvider"/>
284         <adapter type="org.eclipse.jface.viewers.IContentProvider"/>
285         <adapter type="org.eclipse.jface.viewers.ILabelProvider"/>
286         <adapter type="org.eclipse.jface.viewers.ITableColorProvider"/>       
287         <adapter type="org.eclipse.jface.viewers.ITableLabelProvider"/>   
288         <adapter type="net.refractions.udig.project.ui.internal.adapters.FeatureTableProvider"/>
289      </factory>
290      <factory
291            class="net.refractions.udig.project.ui.internal.adapters.FeatureAdapterFactory"
292            adaptableType="net.refractions.udig.catalog.IService">
293         <adapter type="org.eclipse.ui.views.properties.IPropertySource"/>
294         <adapter type="org.eclipse.ui.views.properties.IPropertySource2"/>
295         <adapter type="org.eclipse.jface.viewers.ITreeContentProvider"/>
296         <adapter type="org.eclipse.jface.viewers.IStructuredContentProvider"/>
297         <adapter type="org.eclipse.jface.viewers.IContentProvider"/>
298         <adapter type="org.eclipse.jface.viewers.ILabelProvider"/>
299         <adapter type="org.eclipse.jface.viewers.ITableColorProvider"/>       
300         <adapter type="net.refractions.udig.project.ui.internal.adapters.FeatureTableProvider"/>
301      </factory>
302   </extension>
303       <extension
304             point="org.eclipse.ui.viewActions">
305          <viewContribution
306                targetID="net.refractions.udig.project.ui.layerManager"
307                id="net.refractions.udig.project.ui.layersContributor">
308             <action
309                   disabledIcon="icons/dlcl16/zoom_layer_co.gif"
310                   enablesFor="+"
311                   toolbarPath="additions"
312                   label="%zoomToMultipleLayers.label"
313                   class="net.refractions.udig.project.ui.internal.actions.ZoomToLayer"
314                   icon="icons/elcl16/zoom_layer_co.gif"
315                   tooltip="%zoomToMultipleLayers.tooltip"
316                   style="push"
317                   id="net.refractions.udig.project.ui.zoomToLayerViewAction">
318                <enablement>
319                   <objectClass name="net.refractions.udig.project.ILayer"/>
320                </enablement>
321             </action>
322             <action
323                   class="net.refractions.udig.project.ui.internal.actions.MylarAction"
324                   enablesFor="+"
325                   icon="icons/elcl16/mylar_mode.gif"
326                   id="net.refractions.udig.project.ui.mylar"
327                   label="%mylarAction.label"
328                   style="toggle"
329                   tooltip="%mylarAction.tooltip"
330                   toolbarPath="additions">
331                <enablement>
332                   <objectClass name="net.refractions.udig.project.ILayer"/>
333                </enablement>
334             </action>
335          </viewContribution>
336       </extension>
337       <extension
338             id="net.refractions.udig.ui.layerDecorators"
339             name="%layerDecorators.name"
340             point="org.eclipse.ui.decorators">      
341          <decorator
342                lightweight="false"
343                adaptable="false"
344                label="%layerGlyph.label"
345                class="net.refractions.udig.project.ui.internal.LayerGeneratedGlyphDecorator"
346                state="true"
347                id="net.refractions.udig.project.ui.layerGeneratedGlyph">
348            <description>
349               %layerGlyph.description
350            </description>
351             <enablement>
352                <objectClass name="net.refractions.udig.project.ILayer"/>
353             </enablement>
354         </decorator>
355         <decorator
356               class="net.refractions.udig.project.ui.internal.LayerStatusDecorator"
357               id="net.refractions.udig.project.ui.layerStatus"
358               label="%layerStatus.label"
359               lightweight="true"
360               location="BOTTOM_LEFT"
361               objectClass="net.refractions.udig.project.ILayer"
362               state="true">
363             <description>
364                                 %layerStatus.description
365             </description>
366             <enablement>
367                <objectClass name="net.refractions.udig.project.ILayer"/>
368             </enablement>
369          </decorator>
370         <decorator
371               adaptable="false"
372               class="net.refractions.udig.project.ui.internal.TemporaryLayerDecorator"
373               id="net.refractions.udig.project.ui.decorator.temporary.layer"
374               label="Temporary Layer"
375               lightweight="true"
376               location="TOP_RIGHT"
377               objectClass="net.refractions.udig.project.ILayer"
378               state="true"/>
379      </extension>
380       <extension
381             point="org.eclipse.ui.contexts">
382          <context
383                description="%context.tool.description"
384                id="net.refractions.udig.project.ui.tool"
385                name="%Tools"
386                parentId="org.eclipse.ui.contexts.window"/>
387       </extension>
388       
389         <extension
390        point="net.refractions.udig.ui.dropAction">
391             <action
392            class="net.refractions.udig.project.ui.internal.actions.MapDropAction"
393            enablesFor="+"
394            name="%MapDropAction.name">
395                <acceptedType class="java.net.URL"/>
396                <acceptedType class="java.lang.String"/>
397                <acceptedType class="java.io.File"/>
398                <destination class="org.eclipse.ui.IEditorPart"/>
399            <destination
400                  class="net.refractions.udig.project.ui.internal.LayersView"/>
401            <acceptedType
402                  adapt="true"
403                  class="net.refractions.udig.catalog.IResolve"/>
404            <destination class="net.refractions.udig.project.ILayer"/>
405            <destination class="net.refractions.udig.project.IMap"/>
406             </action>
407      <action
408            class="net.refractions.udig.project.ui.internal.actions.SLDDropAction"
409            name="%SLDDrop.name">
410         <destination class="net.refractions.udig.project.ILayer"/>
411         <acceptedType class="java.io.File"/>
412         <acceptedType class="java.net.URL"/>
413         <acceptedType class="java.lang.String"/>
414         <destination class="net.refractions.udig.project.internal.Map"/>
415      </action>
416      <action
417            class="net.refractions.udig.project.ui.internal.actions.LayerDropAction"
418            enablesFor="+"
419            name="%LayerDropAction.name">
420         <destination class="net.refractions.udig.project.ILayer"/>
421         <acceptedType class="net.refractions.udig.project.ILayer"/>
422      </action>
423      <action
424            class="net.refractions.udig.project.ui.internal.dragdrop.DropFilterAction"
425            name="%FilterDropAction.name">
426         <destination
427               adapt="true"
428               class="net.refractions.udig.project.ILayer"/>
429         <acceptedType
430               adapt="true"
431               class="org.opengis.filter.Filter"/>
432         <acceptedType class="org.opengis.feature.Feature"/>
433         <destination
434               adapt="true"
435               class="net.refractions.udig.project.IMap"/>
436      </action>
437      <action
438            class="net.refractions.udig.project.ui.internal.actions.DropMap"
439            name="%OpenMapAction.name">
440         <destination class="org.eclipse.ui.IEditorPart"/>
441         <acceptedType class="net.refractions.udig.project.IMap"/>
442         <acceptedType class="java.lang.String"/>
443         <destination class="net.refractions.udig.project.ui.internal.LayersView"/>
444         <acceptedType class="java.net.URL"/>
445         <destination class="net.refractions.udig.project.ILayer"/>
446         <acceptedType
447               adapt="false"
448               class="org.eclipse.emf.ecore.EObject"/>
449         <description>
450            %OpenMapAction.desc
451         </description>
452      </action>
453      <action
454            class="net.refractions.udig.project.ui.internal.actions.OnProjectDropAction"
455            enablesFor="+"
456            name="%drop.project.name">
457         <destination
458               adapt="true"
459               class="net.refractions.udig.project.internal.Project"/>
460         <description>
461            %ProjectDropAction.desc
462         </description>
463         <acceptedType
464               adapt="true"
465               class="net.refractions.udig.catalog.IGeoResource"/>
466         <acceptedType
467                   adapt="true"
468                   class="net.refractions.udig.catalog.IResolveFolder"/>
469         <acceptedType
470               adapt="true"
471               class="net.refractions.udig.catalog.IService"/>
472         <acceptedType
473               adapt="true"
474               class="java.lang.String"/>
475               <acceptedType
476               adapt="true"
477               class="java.io.File"/>
478      </action>
479      <action
480            class="net.refractions.udig.project.ui.internal.dragdrop.MoveLayerDropAction"
481            enablesFor="+"
482            name="%MoveLayerAction.name">
483         <destination
484               adapt="false"
485               class="net.refractions.udig.project.internal.Map"/>
486         <acceptedType
487               adapt="false"
488               class="net.refractions.udig.project.ILayer"/>
489         <description>
490            %MoveLayerAction.desc
491         </description>
492         <destination class="net.refractions.udig.project.ui.internal.LayersView"/>
493         <acceptedType
494               adapt="false"
495               class="net.refractions.udig.project.ui.internal.MapEditor"/>
496      </action>
497      <action
498            class="net.refractions.udig.project.ui.internal.dragdrop.MoveLayerDropActionLayer"
499            enablesFor="+"
500            name="%MoveLayerAction.name">
501         <destination
502               adapt="false"
503               class="net.refractions.udig.project.internal.Layer"/>
504         <acceptedType
505               adapt="false"
506               class="net.refractions.udig.project.internal.Layer"/>
507         <description>
508            %MoveLayerAction.desc
509         </description>
510      </action>
511      <action
512            class="net.refractions.udig.project.ui.internal.dragdrop.MoveProjectElement"
513            enablesFor="+"
514            name="%MoveMapAction.name">
515         <destination
516               adapt="false"
517               class="net.refractions.udig.project.internal.Project"/>
518         <acceptedType
519               adapt="false"
520               class="org.eclipse.emf.ecore.EObject"/>
521         <description>
522            %MoveMapAction.desc
523         </description>
524      </action>
525          </extension>
526    <extension
527          point="net.refractions.udig.project.ui.tool">
528       <category
529             commandId="net.refractions.udig.tools.renderingCategoryCommand"
530             id="net.refractions.udig.tool.category.render"
531             name="%rendering.tools.name"/>
532       <category
533             commandId="net.refractions.udig.tools.ZoomCommand"
534             id="net.refractions.udig.tool.category.zoom"
535             name="%zoom.tools.name"/>
536       <category
537             commandId="net.refractions.udig.tools.PanCommand"
538             id="net.refractions.udig.tool.category.pan"
539             name="%pan.tools.name"/>
540        <category
541              commandId="net.refractions.udig.tools.selectionCommand"
542              id="net.refractions.udig.tool.category.selection"
543              name="%selection.tools.name"
544              selectionProvider="net.refractions.udig.project.ui.tool.selection.provider.FilterSelectionProvider"/>
545       <category
546             commandId="net.refractions.udig.tools.infoCommand"
547             id="net.refractions.udig.tool.category.info"
548             name="%info.tools.name"/>
549
550     </extension>
551    <extension
552          point="org.eclipse.ui.commands">
553       <category
554             description="%category.description"
555             name="%category.name"
556             id="net.refractions.udig.tools.toolCategory"/>
557       <command
558             categoryId="net.refractions.udig.tools.toolCategory"
559             name="%zoom.category.name"
560             id="net.refractions.udig.tools.ZoomCommand"/>
561       <command
562             categoryId="net.refractions.udig.tools.toolCategory"
563             name="%pan.category.name"
564             id="net.refractions.udig.tools.PanCommand"/>
565       <command
566             categoryId="net.refractions.udig.tools.toolCategory"
567             name="%selection.category.name"
568             id="net.refractions.udig.tools.selectionCommand"/>
569       <command
570             categoryId="net.refractions.udig.tools.toolCategory"
571             name="%info.category.name"
572             id="net.refractions.udig.tools.infoCommand"/>
573       <command
574             categoryId="net.refractions.udig.tools.toolCategory"
575             name="%zoom.category.name"
576             id="net.refractions.udig.tools.editCommand"/>
577       <command
578             categoryId="net.refractions.udig.tools.toolCategory"
579             name="%rendering.category.name"
580             id="net.refractions.udig.tools.renderingCategoryCommand"/>
581       <command
582             categoryId="net.refractions.udig.project.ui.LayerCommands"
583             id="net.refractions.udig.project.ui.command.new.layer"
584             name="%new.command.name"/>
585       <category
586             id="net.refractions.udig.project.ui.LayerCommands"
587             name="%LayerCategory.name"/>
588       <command
589             categoryId="net.refractions.udig.project.ui.LayerCommands"
590             description="%command.open.description"
591             id="net.refractions.udig.project.ui.addLayerCommand"
592             name="%command.open.label"/>
593           <command
594             categoryId="org.eclipse.ui.category.file"
595             id="net.refractions.udig.project.ui.openProjectCommand"
596             name="%command.open.name"/>
597       <command
598             categoryId="net.refractions.udig.tools.toolCategory"
599             description="Rename action binding"
600             id="net.refractions.udig.project.ui.renameCommand"
601             name="%rename.label"/>
602       <command
603             description="%Map.properties.tooltip"
604             id="net.refractions.udig.project.ui.mapProperties"
605             name="%Map.properties.name"/>
606       <command
607             description="%Layer.properties.tooltip"
608             id="net.refractions.udig.project.ui.layerProperties"
609             name="%Layer.properties.name"/>
610    </extension>
611    <extension
612          point="org.eclipse.ui.bindings">
613          <key
614                commandId="net.refractions.udig.project.ui.addLayerCommand"
615                schemeId="net.refractions.udig.defaultUDIGKeyConfiguration"
616                    contextId="org.eclipse.ui.contexts.window"
617                sequence="M1+L A"/>
618          <key
619                commandId="net.refractions.udig.project.ui.openProjectCommand"
620                schemeId="net.refractions.udig.defaultUDIGKeyConfiguration"
621                contextId="org.eclipse.ui.contexts.window"
622                sequence="M1+O"/>
623      <key
624             commandId="net.refractions.udig.tools.renderingCategoryCommand"
625             contextId="net.refractions.udig.project.ui.tool"
626             sequence="R"
627             schemeId="net.refractions.udig.defaultUDIGKeyConfiguration"/>
628       <key
629             commandId="net.refractions.udig.tools.ZoomCommand"
630             contextId="net.refractions.udig.project.ui.tool"
631             sequence="Z"
632             schemeId="net.refractions.udig.defaultUDIGKeyConfiguration"/>
633       <key
634             commandId="net.refractions.udig.tools.PanCommand"
635             contextId="net.refractions.udig.project.ui.tool"
636             sequence="P"
637             schemeId="net.refractions.udig.defaultUDIGKeyConfiguration"/>
638       <key
639             commandId="net.refractions.udig.tools.selectionCommand"
640             contextId="net.refractions.udig.project.ui.tool"
641             sequence="S"
642             schemeId="net.refractions.udig.defaultUDIGKeyConfiguration"/>
643
644       <key
645             commandId="net.refractions.udig.tools.infoCommand"
646             contextId="net.refractions.udig.project.ui.tool"
647             sequence="I"
648             schemeId="net.refractions.udig.defaultUDIGKeyConfiguration"/>
649       <key
650             commandId="net.refractions.udig.project.ui.command.new.layer"
651             contextId="org.eclipse.ui.contexts.window"
652             schemeId="net.refractions.udig.defaultUDIGKeyConfiguration"
653             sequence="M1+L C"/>
654       <key
655             commandId="net.refractions.udig.project.ui.renameCommand"
656             contextId="org.eclipse.ui.contexts.window"
657             schemeId="net.refractions.udig.defaultUDIGKeyConfiguration"
658             sequence="F2"/>
659
660    </extension>
661
662    <extension
663          point="net.refractions.udig.catalog.ui.connectionFactory">
664       <factory class="net.refractions.udig.project.internal.ui.wizard.URLConnectionFactory"
665                         id = "net.refractions.udig.project.ui.import.url"/>
666    </extension>
667    <extension
668          point="net.refractions.udig.ui.objectProperty">
669       <object targetClass="net.refractions.udig.project.ILayer">
670          <property
671                id="GeometryType"
672                class="net.refractions.udig.project.ui.internal.tool.display.GeometryProperty"/>
673          <property
674                class="net.refractions.udig.project.ui.operations.LayerSelectionProperty"
675                id="hasSelection"/>
676       </object>
677       <object targetClass="java.lang.Object">
678          <property
679                id="OpenMap"
680                class="net.refractions.udig.project.ui.properties.OpenMap"/>
681       </object>
682    </extension>
683    <extension
684          point="org.eclipse.ui.preferencePages">
685       <page
686             class="net.refractions.udig.project.ui.preferences.RenderPreferences"
687             id="net.refractions.udig.project.ui.preferences.render"
688             name="%renderPref.name"/>
689       <page
690             category="net.refractions.udig.project.ui.preferences.project"
691             class="net.refractions.udig.project.ui.preferences.MapPreferencePage"
692             id="net.refractions.udig.project.ui.preferences.map"
693             name="%map.preferences.name"/>
694       <page
695             class="net.refractions.udig.project.ui.preferences.ProjectPreferencePage"
696             id="net.refractions.udig.project.ui.preferences.project"
697             name="%project.preferences.name"/>
698      <page
699            category="net.refractions.udig.project.ui.preferences.project"
700            class="net.refractions.udig.project.ui.preferences.LayerPreferencePage"
701            id="net.refractions.udig.project.ui.preferences.layer"
702            name="%layer.preferences.name"/>
703      <page
704            class="net.refractions.udig.project.ui.ToolPreferences"
705            id="net.refractions.udig.project.ui.preferences.tool"
706            name="%tool.preferences.name"/>
707      <page
708            category="net.refractions.udig.project.ui.preferences.project"
709            class="net.refractions.udig.project.ui.preferences.StylePreferencePage"
710            id="net.refractions.udig.project.ui.preferences.style"
711            name="%style.preferences.name"/>
712      <page
713            category="net.refractions.udig.project.ui.preferences.tool"
714            class="net.refractions.udig.project.ui.MousePreferences"
715            id="net.refractions.udig.project.ui.preferences.mouse"
716            name="%tool.mouse.preferences.name">
717      </page>
718    </extension>
719    <extension
720         point="org.eclipse.ui.exportWizards">
721       <wizard
722             class="net.refractions.udig.project.ui.wizard.export.image.ExportMapToImageWizard"
723             icon="icons/etool16/exportimage_wiz.gif"
724             id="net.refractions.udig.project.ui.export.image"
725             name="%exportToImage.name">
726          <description>
727             %exportToImage.desc
728          </description>
729       </wizard>     
730      <wizard
731            class="net.refractions.udig.project.ui.wizard.export.ExportFeatureSelection$FeatureSelectionExportWizard"
732            icon="icons/etool16/exportselection_wiz.gif"
733            id="net.refractions.udig.project.ui.dataExportWizard"
734            name="%selectionExport.name">
735         <description>
736            %selectionExport.desc
737         </description>
738      </wizard>
739      <wizard
740            class="net.refractions.udig.project.ui.wizard.export.project.ExportProjectWizard"
741            icon="icons/etool16/exportproject_wiz.png"
742            id="net.refractions.udig.project.ui.export.project"
743            name="%exportProject.name">
744         <description>
745            %exportProject.desc
746         </description>
747      </wizard>
748    </extension>
749    <extension
750          point="net.refractions.udig.project.ui.toolManagers">
751       <toolManager
752             class="net.refractions.udig.project.ui.internal.tool.display.ToolManager"
753             id="net.refractions.udig.project.ui.toolManager"/>
754    </extension>
755    <extension
756          point="org.eclipse.core.runtime.preferences">
757       <initializer class="net.refractions.udig.project.ui.preferences.PreferenceInitializer"/>
758    </extension>
759
760    <extension
761          point="org.eclipse.core.expressions.definitions">
762       <definition
763             id="net.refractions.udig.project.ui.contribution.inLayerQuerySet">
764          <with
765                variable="activeContexts">
766             <iterate
767                   operator="or">
768                <equals
769                      value="net.refractions.udig.project.ui.layerQuerySet">
770                </equals>
771             </iterate>
772          </with>
773       </definition>
774       <definition
775             id="net.refractions.udig.project.ui.contribution.inLayerModifySet">
776          <with
777                variable="activeContexts">
778             <iterate
779                   operator="or">
780                <equals
781                      value="net.refractions.udig.project.ui.layerModifySet">
782                </equals>
783             </iterate>
784          </with>
785       </definition>
786       <definition
787             id="net.refractions.udig.project.ui.contribution.inLayerStyleSet">
788          <with
789                variable="activeContexts">
790             <iterate
791                   operator="or">
792                <equals
793                      value="net.refractions.udig.project.ui.layer.StyleSet">
794                </equals>
795             </iterate>
796          </with>
797       </definition>
798       <definition
799             id="net.refractions.udig.project.ui.contribution.inMapMenu">
800          <with
801                variable="activeContexts">
802             <iterate
803                   operator="or">
804                <equals
805                      value="net.refractions.udig.project.ui.map.menu">
806                </equals>
807             </iterate>
808          </with>
809       </definition>
810       <definition
811             id="net.refractions.udig.project.ui.contribution.inLayerMenu">
812          <with
813                variable="activeContexts">
814             <iterate
815                   operator="or">
816                <equals
817                      value="net.refractions.udig.project.ui.layer.menu">
818                </equals>
819             </iterate>
820          </with>
821       </definition>
822       <definition
823             id="net.refractions.udig.project.ui.contribution.inLayerActions">
824          <with
825                variable="activeContexts">
826             <iterate
827                   operator="or">
828                <equals
829                      value="net.refractions.udig.project.ui.layerActions">
830                </equals>
831             </iterate>
832          </with>
833       </definition>
834    </extension>
835         
836         
837         <extension
838         point="net.refractions.udig.ui.operation"
839         id="net.refractions.udig.project.ui.op">
840                 <category
841                    context="Layer"
842                id="net.refractions.udig.project.ui.operation.addCategory"
843                name="%Add.Category">
844                </category> 
845          <operation
846                categoryId="net.refractions.udig.catalog.ui.operation.resourceCategory"
847                class="net.refractions.udig.project.ui.operations.example.MultiTargetOp"
848                id="net.refractions.udig.project.ui.resourceSummary"
849                name="%resourceSummary"
850                targetClass="net.refractions.udig.catalog.IGeoResource"/>      
851         </extension>
852       
853       <extension
854             id="net.refractions.udig.project.ui.op.map"
855             name="Map Operations"
856             point="net.refractions.udig.ui.operation">
857          <category
858                context="Map"
859                id="net.refractions.udig.project.ui.operation.mapCategory"
860                name="%Map.Name">
861          </category>
862          <category
863                context="Map"
864                id="net.refractions.udig.project.ui.operation.mapModifyCategory"
865                name="%Map.Modify">
866          </category>
867          <operation
868                categoryId="net.refractions.udig.project.ui.operation.mapCategory"
869                class="net.refractions.udig.project.ui.operations.example.FeaturesInView"
870                id="net.refractions.udig.project.ui.featuresInView"
871                name="%featuresView"
872                targetClass="net.refractions.udig.project.IMap"/>
873      </extension>
874      
875       <extension
876             id="net.refractions.udig.project.ui.op.layer"
877             name="Layer Operations"
878             point="net.refractions.udig.ui.operation">
879         <category
880                     id="net.refractions.udig.project.ui.operation.layerCategory"
881                     name="%Layer.Category">
882                     </category>             
883         <operation
884                categoryId="net.refractions.udig.project.ui.operation.layerCategory"
885                class="net.refractions.udig.project.ui.operations.SyncProjection"
886                enablesFor="1"
887                id="net.refractions.udig.project.ui.syncProjection"
888                name="%Layer.SetMapProjection"
889                targetClass="net.refractions.udig.project.ILayer">
890          </operation>      
891         </extension>
892                  
893       <extension
894             id="net.refractions.udig.project.ui.op.feature"
895             name="Feature Operations"
896             point="net.refractions.udig.ui.operation">
897                 <category
898                context="Feature"
899                id="net.refractions.udig.project.ui.operation.featureCategory"
900                name="%Feature.Category">
901         </category>
902         <category
903                context="Feature"
904                id="net.refractions.udig.project.ui.operation.featureModifyCategory"
905                name="%Feature.Modify.Category">
906         </category>
907         </extension> 
908         
909      <extension
910            id="net.refractions.udig.project.ui.op.selection"
911            name="Selection Operations"
912            point="net.refractions.udig.ui.operation">
913          <category
914                context="Selection"
915                id="net.refractions.udig.project.ui.operation.selectionCategory"
916                name="%Selection.Category">
917          </category>            
918          <category
919                context="Selection"
920                id="net.refractions.udig.project.ui.operation.selectionModifyCategory"
921                name="%Selection.Modify.Category">
922          </category>
923          <operation
924                categoryId="net.refractions.udig.project.ui.operation.selectionCategory"
925                class="net.refractions.udig.project.ui.operations.MakeHole"
926                enablesFor="1"
927                id="net.refractions.udig.project.ui.operations.MakeHole"
928                name="%Selection.MakeHole"
929                targetClass="net.refractions.udig.project.ILayer">
930          </operation>         
931          <!--operation
932                categoryId="net.refractions.udig.project.ui.operation.selectionCategory"
933                class="net.refractions.udig.project.ui.operations.CreateLayerView"
934                enablesFor="1"
935                id="net.refractions.udig.project.ui.createView"
936                name="Selection To Layer"
937                targetClass="net.refractions.udig.project.ILayer">
938             <enablement>
939                <and>
940                   <property
941                         expectedValue="true"
942                         propertyId="hasSelection">
943                   </property>
944                   <adaptsTo
945                         target="org.geotools.data.FeatureSource">
946                   </adaptsTo>
947                </and>
948             </enablement>
949          </operation-->
950       </extension>
951      <extension
952            point="org.eclipse.ui.handlers">
953         <handler
954               class="net.refractions.udig.project.ui.internal.handlers.MapPropertiesCommandHandler"
955               commandId="net.refractions.udig.project.ui.mapProperties">
956            <enabledWhen>
957               <iterate
958                     ifEmpty="false"
959                     operator="or">
960                  <adapt
961                        type="net.refractions.udig.project.IMap">
962                  </adapt>
963                  <instanceof
964                        value="net.refractions.udig.project.IMap">
965                  </instanceof>
966               </iterate>
967            </enabledWhen>
968         </handler>
969         <handler
970               class="net.refractions.udig.project.ui.internal.handlers.LayerPropertiesCommandHandler"
971               commandId="net.refractions.udig.project.ui.layerProperties">
972            <enabledWhen>
973               <iterate
974                     ifEmpty="false"
975                     operator="or">
976                  <adapt
977                        type="net.refractions.udig.project.ILayer">
978                  </adapt>
979                  <instanceof
980                        value="net.refractions.udig.project.ILayer">
981                  </instanceof>
982               </iterate>
983            </enabledWhen>
984         </handler>
985      </extension>
986      <extension
987            point="net.refractions.udig.catalog.ui.reshapePostAction">
988         <action
989                   id="reshape.addtomap"
990               class="net.refractions.udig.project.ui.internal.AddReshapedToMap"
991               name="%AddToMap">
992         </action>
993      </extension>
994      <extension
995            id="net.refractions.udig.project.ui.map"
996            point="org.eclipse.ui.actionSets">
997         <actionSet
998               id="net.refractions.udig.project.ui.OpenProjectSet"
999               label="%OpenProjectSet.label"
1000               visible="false">
1001            <action
1002                  class="net.refractions.udig.project.ui.internal.actions.OpenMapAction"
1003                  definitionId="net.refractions.udig.project.ui.openMapCommand"
1004                  icon="icons/obj16/project_obj.gif"
1005                  id="net.refractions.udig.project.ui.openMapAction"
1006                  label="%map.action.open.name"
1007                  menubarPath="file/project.ext"
1008                  style="push"
1009                  tooltip="%project.action.open.tooltip">
1010            </action>
1011            <action
1012                  allowLabelUpdate="true"
1013                  class="net.refractions.udig.project.ui.internal.actions.CloseProject"
1014                  enablesFor="+"
1015                  icon="icons/obj16/project_close.gif"
1016                  id="net.refractions.udig.project.ui.closeProject"
1017                  label="%project.close.label"
1018                  menubarPath="file/project.ext"
1019                  style="push"
1020                  tooltip="%project.close.tooltip">
1021               <enablement>
1022                  <objectClass
1023                        name="net.refractions.udig.project.IProject">
1024                  </objectClass>
1025               </enablement>
1026            </action>
1027            <action
1028                  allowLabelUpdate="true"
1029                  class="net.refractions.udig.project.ui.internal.actions.SaveAsProject"
1030                  enablesFor="1"
1031                  icon="icons/obj16/project_save.gif"
1032                  id="net.refractions.udig.project.ui.saveAsProject"
1033                  label="%project.action.save.name"
1034                  menubarPath="file/project.ext"
1035                  style="push"
1036                  tooltip="%project.action.save.tooltip">
1037               <enablement>
1038                  <objectClass
1039                        name="net.refractions.udig.project.IProject">
1040                  </objectClass>
1041               </enablement>
1042            </action>
1043            <action
1044                  class="net.refractions.udig.project.ui.internal.actions.OpenProject"
1045                  definitionId="net.refractions.udig.project.ui.openProjectCommand"
1046                  icon="icons/obj16/project_obj.gif"
1047                  id="net.refractions.udig.project.ui.openProject"
1048                  label="%project.action.open.name"
1049                  menubarPath="file/project.ext"
1050                  style="push"
1051                  tooltip="%project.action.open.tooltip">
1052            </action>
1053         </actionSet>
1054      </extension>
1055    </plugin>