2012-01-06 08:55:05 -06:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<?eclipse version="3.2"?>
|
|
|
|
<plugin>
|
|
|
|
<extension
|
|
|
|
point="org.eclipse.ui.editors">
|
|
|
|
<editor
|
|
|
|
class="gov.noaa.nws.ncep.viz.ui.display.NCMapEditor"
|
|
|
|
default="true"
|
|
|
|
id="gov.noaa.nws.ncep.viz.ui.display.NCMapEditor"
|
|
|
|
name="Natl Cntrs Display Editor">
|
|
|
|
</editor>
|
|
|
|
</extension>
|
2013-01-11 16:12:09 -05:00
|
|
|
<extension
|
|
|
|
point="org.eclipse.ui.services">
|
|
|
|
<sourceProvider
|
|
|
|
provider="gov.noaa.nws.ncep.viz.ui.display.ZoomStateSourceProvider">
|
|
|
|
<variable
|
|
|
|
name="gov.noaa.nws.ncep.viz.tools.zoomState"
|
|
|
|
priorityLevel="workbench">
|
|
|
|
</variable>
|
|
|
|
</sourceProvider>
|
|
|
|
</extension>
|
|
|
|
|
|
|
|
<!-- Example Mouse actions from core/d2d
|
|
|
|
<extension
|
|
|
|
point="com.raytheon.uf.viz.ui.mouse.action">
|
|
|
|
<mouseAction
|
|
|
|
id="com.raytheon.viz.ui.input.pan"
|
|
|
|
default="Left Drag,Middle Drag"
|
|
|
|
description="Pan"
|
|
|
|
eventOptions="Left Drag,Middle Drag"
|
|
|
|
name="Panning"
|
|
|
|
category="Navigation">
|
|
|
|
</mouseAction>
|
|
|
|
<mouseAction
|
|
|
|
id="com.raytheon.viz.ui.input.zoomin"
|
|
|
|
default="Scroll Forward,Middle Click"
|
|
|
|
description="Zoom In"
|
|
|
|
eventOptions="Long Left Click,Long Middle Click,Left Click,Middle Click,Right Click,Scroll Forward,Scroll Back"
|
|
|
|
name="Zoom In"
|
|
|
|
category="Navigation">
|
|
|
|
</mouseAction>
|
|
|
|
<mouseAction
|
|
|
|
id="com.raytheon.viz.ui.input.zoomout"
|
|
|
|
default="Scroll Back"
|
|
|
|
description="Zoom out"
|
|
|
|
eventOptions="Long Left Click,Long Middle Click,Left Click,Middle Click,Right Click,Scroll Forward,Scroll Back"
|
|
|
|
name="Zoom Out"
|
|
|
|
category="Navigation">
|
|
|
|
</mouseAction>
|
|
|
|
<mouseAction
|
|
|
|
id="com.raytheon.viz.ui.input.inspect"
|
|
|
|
description="Sample loaded resources"
|
|
|
|
eventOptions="Left Click,Middle Click,Long Left Click,Long Middle Click"
|
|
|
|
name="Sample"
|
|
|
|
category="Editor Action">
|
|
|
|
</mouseAction>
|
|
|
|
<mouseAction
|
|
|
|
id="com.raytheon.viz.ui.clear"
|
|
|
|
description="Reset a map, removing all maps and resources"
|
|
|
|
eventOptions="Left Click,Middle Click,Right Click,Scroll Forward,Scroll Back"
|
|
|
|
name="Clear"
|
|
|
|
category="Editor Action">
|
|
|
|
</mouseAction>
|
|
|
|
<mouseAction
|
|
|
|
id="com.raytheon.viz.ui.input.resource.edit"
|
|
|
|
default="Middle Click"
|
|
|
|
description="Toggle Editable mode on editable resources"
|
|
|
|
eventOptions="Left Click,Middle Click"
|
|
|
|
name="Edit Resource"
|
|
|
|
category="Legend Interaction">
|
|
|
|
</mouseAction>
|
|
|
|
<mouseAction
|
|
|
|
id="com.raytheon.viz.ui.contextmenu"
|
|
|
|
default="Long Right Click"
|
|
|
|
description="Load Context Menu"
|
|
|
|
eventOptions="Right Click,Long Right Click"
|
|
|
|
name="Context Menu"
|
|
|
|
category="Editor Action">
|
|
|
|
</mouseAction>
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
point="com.raytheon.uf.viz.ui.mouse.action">
|
|
|
|
<mouseAction
|
|
|
|
id="com.raytheon.viz.d2d.ui.toggleLegend"
|
|
|
|
default="Right Click"
|
|
|
|
description="Switch which Legends are displayed"
|
|
|
|
eventOptions="Left Click,Middle Click,Right Click"
|
|
|
|
name="Toggle Legends"
|
|
|
|
category="Editor Action">
|
|
|
|
</mouseAction>
|
|
|
|
<mouseAction
|
|
|
|
id="com.raytheon.viz.d2d.ui.hide.resource"
|
|
|
|
default="Left Click"
|
|
|
|
description="Show/Hide a resource when a user clicks on the title in the legend"
|
|
|
|
eventOptions="Left Click,Middle Click"
|
|
|
|
name="Show/Hide Resource"
|
|
|
|
category="Legend Interaction">
|
|
|
|
</mouseAction>
|
|
|
|
</extension>
|
|
|
|
-->
|
|
|
|
|
2012-01-06 08:55:05 -06:00
|
|
|
<extension
|
|
|
|
point="org.eclipse.ui.contexts">
|
|
|
|
<context
|
|
|
|
description="The National Centers Map Editor Context"
|
|
|
|
id="gov.noaa.nws.ncep.viz.ui.display.NCMapContext"
|
|
|
|
name="Natl Centers Map Editor Context">
|
|
|
|
</context>
|
|
|
|
<context
|
|
|
|
description="The Natl Centers Product Genaration Context"
|
|
|
|
id="gov.noaa.nws.ncep.ui.pgen.pgenContext"
|
|
|
|
name="Natl Centers PGEN Context">
|
2012-09-11 16:00:38 -05:00
|
|
|
</context>
|
|
|
|
<context
|
|
|
|
description="The Natl Centers Perspective Context"
|
|
|
|
id="gov.noaa.nws.ncep.viz.ui.perspectives.NCPerspectiveContext"
|
|
|
|
name="Natl Centers Perspective Context">
|
2012-01-06 08:55:05 -06:00
|
|
|
</context>
|
2012-09-11 16:00:38 -05:00
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
point="com.raytheon.uf.viz.core.classContext">
|
|
|
|
<classContext
|
|
|
|
class="gov.noaa.nws.ncep.viz.ui.display.NCMapEditor">
|
|
|
|
<contextId
|
|
|
|
id="gov.noaa.nws.ncep.viz.ui.display.NCMapContext">
|
|
|
|
</contextId>
|
|
|
|
</classContext>
|
2012-01-06 08:55:05 -06:00
|
|
|
</extension>
|
|
|
|
<!--
|
|
|
|
<extension
|
|
|
|
|
|
|
|
point="com.raytheon.viz.ui.editorContext">
|
|
|
|
<editorContext
|
|
|
|
editorClass="gov.noaa.nws.ncep.viz.ui.display.NCMapEditor">
|
|
|
|
<contextId
|
|
|
|
id="gov.noaa.nws.ncep.viz.ui.display.NCMapContext">
|
|
|
|
</contextId>
|
|
|
|
</editorContext>
|
|
|
|
</extension>
|
|
|
|
-->
|
|
|
|
<!--
|
|
|
|
<extension
|
|
|
|
point="com.raytheon.uf.viz.core.graphicsTarget">
|
|
|
|
<graphicsTarget
|
|
|
|
class="gov.noaa.nws.ncep.viz.ui.display.NCGLTarget"
|
|
|
|
name="NC-2D">
|
|
|
|
</graphicsTarget>
|
|
|
|
</extension>
|
|
|
|
-->
|
|
|
|
</plugin>
|