<commit_before><?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>

    <extension point="org.eclipse.ui.views">
        <category id="org.mwc.debrief.core.DebriefCategory" name="Debrief"/>
    </extension>

    <extension point="org.eclipse.ui.editors">
        <editor class="org.mwc.debrief.core.editors.PlotEditor"
            contributorClass="org.mwc.debrief.core.editors.PlotEditorActionBarContributor"
            icon="icons/16/plot_file.png" id="org.mwc.debrief.PlotEditor" name="Debrief Plot Editor">
            <contentTypeBinding contentTypeId="org.mwc.debrief.contenttype.DebriefPlot"> </contentTypeBinding>
            <contentTypeBinding contentTypeId="org.mwc.debrief.contenttype.DebriefPlotGPX"
            > </contentTypeBinding>
        </editor>
    </extension>

    <extension point="org.eclipse.ui.editors">
        <editor class="org.mwc.debrief.core.editors.PlotEditor"
            contributorClass="org.mwc.debrief.core.editors.PlotEditorActionBarContributor"
            icon="icons/16/track_file.png" id="org.mwc.debrief.TrackEditor"
            name="Debrief Plot Editor">
            <contentTypeBinding contentTypeId="org.mwc.debrief.contenttype.ReplayTrackFile"/>
            <contentTypeBinding contentTypeId="org.mwc.debrief.contenttype.KMZTrackFile"/>
            <contentTypeBinding contentTypeId="org.mwc.debrief.contenttype.LogTrackFile"/>
            <contentTypeBinding contentTypeId="org.mwc.debrief.contenttype.KMZTrackArchive"/>
            <contentTypeBinding contentTypeId="org.mwc.debrief.contenttype.AISTrackFile"/>
            <contentTypeBinding contentTypeId="org.mwc.debrief.contenttype.SATCTrackFile"/>
        </editor>
    </extension>

    <extension point="org.eclipse.ui.editors">
        <editor class="org.mwc.debrief.core.editors.PlotEditor"
            contributorClass="org.mwc.debrief.core.editors.PlotEditorActionBarContributor"
            icon="icons/16/sensor_file.png" id="org.mwc.debrief.SensorEditor"
            name="Debrief Plot Editor">
            <contentTypeBinding contentTypeId="org.mwc.debrief.contenttype.ReplaySensorFile"
            > </contentTypeBinding>
        </editor>
    </extension>

    <extension point="org.eclipse.core.contenttype.contentTypes">
        <content-type base-type="org.eclipse.core.runtime.xml" file-extensions="xml,dpf"
            id="org.mwc.debrief.contenttype.DebriefPlot" name="Debrief Plot File" priority="normal">
            <describer class="org.eclipse.core.runtime.content.XMLRootElementContentDescriber">
                <parameter name="element" value="plot"> </parameter>
            </describer>
        </content-type>
        <content-type base-type="org.eclipse.core.runtime.xml" file-extensions="gpx"
            id="org.mwc.debrief.contenttype.DebriefPlotGPX" name="Debrief GPX File"
            priority="normal">
            <describer class="org.eclipse.core.runtime.content.XMLRootElementContentDescriber">
                <parameter name="element" value="gpx"> </parameter>
            </describer>
        </content-type>
        <content-type id="org.mwc.debrief.contenttype.ReplayTrackFile" file-extensions="rep"
            name="Replay Track File" priority="normal"> </content-type>
        <content-type base-type="org.eclipse.core.runtime.text"
            id="org.mwc.debrief.contenttype.ReplaySensorFile" file-extensions="dsf"
            name="Debrief Sensor File" priority="normal"> </content-type>
        <content-type base-type="org.eclipse.core.runtime.text"
            id="org.mwc.debrief.contenttype.INPFile" file-extensions="inp"
            name="DIS Simulation input file" priority="normal"> </content-type>
        <content-type id="org.mwc.debrief.contenttype.WorldImageFile" file-extensions="tif"
            name="World Image (Electronic Chart) File" priority="normal"> </content-type>
        <content-type id="org.mwc.debrief.contenttype.KMZTrackArchive" file-extensions="kmz"
            name="KMZ Track Archive" priority="normal"> </content-type>
        <content-type id="org.mwc.debrief.contenttype.KMZTrackFile" file-extensions="kml"
            name="KMZ Track File" priority="normal"> </content-type>
        <content-type id="org.mwc.debrief.contenttype.LogTrackFile" file-extensions="csv"
            name="S2087 Context Track File (Log)" priority="normal"> </content-type>
        <content-type id="org.mwc.debrief.contenttype.AISTrackFile"
            file-extensions="txt"
            name="AIS track file" priority="high">
            <describer class="org.mwc.debrief.core.contenttype.AISContentDescriber"/>
        </content-type>
        <content-type id="org.mwc.debrief.contenttype.SATCTrackFile"
            file-extensions="txt"
            name="SATC export file" priority="high">
            <describer class="org.mwc.debrief.core.contenttype.SATCContentDescriber"/>
        </content-type>
    </extension>

    <extension-point id="DebriefPlotLoader" name="Plot Loader"
        schema="schema/DebriefPlotLoader.exsd"/>
    <extension-point id="XMLLayerHandler" name="XMLLayerHandler"
        schema="schema/XMLLayerHandler.exsd"/>
    <extension point="org.mwc.debrief.core.DebriefPlotLoader">
        <loader class="org.mwc.debrief.core.loaders.ReplayLoader" extensions="rep;dsf;dtf"
            name="ReplayLoader"/>
    </extension>
    <extension point="org.mwc.debrief.core.DebriefPlotLoader">
        <loader class="org.mwc.debrief.core.loaders.XMLLoader" extensions="xml;dpf"
            name="Debrief XML Loader"/>
    </extension>
    <extension point="org.mwc.debrief.core.DebriefPlotLoader">
        <loader class="org.mwc.debrief.core.loaders.KMLLoader" extensions="kml"
            name="KML Track File"/>
    </extension>
    <extension point="org.mwc.debrief.core.DebriefPlotLoader">
        <loader class="org.mwc.debrief.core.loaders.KMLLoader" extensions="kmz"
            name="KML Track Archive"/>
    </extension>
    <extension point="org.mwc.debrief.core.DebriefPlotLoader">
        <loader class="org.mwc.debrief.core.loaders.LogTrackLoader" extensions="csv"
            name="S2087 Context Track File (.csv)"/>
    </extension>
    <extension point="org.mwc.debrief.core.DebriefPlotLoader">
        <loader class="org.mwc.debrief.core.loaders.GPXLoader" extensions="gpx" name="GPX Plot File"
        />
    </extension>
    <extension point="org.mwc.debrief.core.DebriefPlotLoader">
        <loader class="org.mwc.debrief.core.loaders.AISLoader" extensions="txt" first_line="!AIVDM" name="AIS Track File"        
        />
    </extension>
    <extension point="org.mwc.debrief.core.DebriefPlotLoader">
        <loader class="org.mwc.debrief.core.loaders.SATCLoader" extensions="txt" first_line="//X, Y, Time"  name="SATC Track File"        
        />
    </extension>
    <extension point="org.mwc.debrief.core.DebriefPlotLoader">
        <loader class="org.mwc.debrief.core.loaders.TifLoader" extensions="tif;tiff"
            name="GeoTIF Image File"/>
    </extension>
    <extension point="org.mwc.debrief.core.DebriefPlotLoader">
        <loader class="org.mwc.debrief.core.loaders.ShapeLoader" extensions="shp"
            name="ShapeFile File"/>
    </extension>
    <extension point="org.mwc.debrief.core.DebriefPlotLoader">
        <loader class="org.mwc.debrief.core.loaders.MsDocLoader" extensions="doc"
            name="MS Word Document"/>
    </extension>

    <extension point="org.eclipse.ui.menus">
        <menuContribution locationURI="toolbar:org.eclipse.ui.main.toolbar?before=group.file">
            <toolbar id="org.mwc.debrief.core.save" label="Save">
                <separator name="features" visible="true"/>
                <separator name="sep3" visible="true"/>
                <separator name="additions" visible="true"/>
            </toolbar>
            <toolbar id="org.mwc.debrief.core.createProject" label="Create Project">
                <separator name="features" visible="true"/>
                <separator name="sep3" visible="true"/>
                <separator name="additions" visible="true"/>
            </toolbar>
            <toolbar
                  id="org.mwc.debrief.core.undoRedo"
                  label="Undo Redo">
               <separator
                     name="features"
                     visible="true">
               </separator>
               <separator
                     name="sep3"
                     visible="true">
               </separator>
               <separator
                     name="additions"
                     visible="true">
               </separator>
            </toolbar>
            <toolbar id="org.mwc.debrief.core.EditorFeatures" label="Add Features">
                <separator name="features" visible="true"/>
                <separator name="sep3" visible="true"/>
                <separator name="additions" visible="true"/>
            </toolbar>
            <toolbar id="org.mwc.debrief.core.EditorShapes" label="Insert Shapes">
                <separator name="shapes" visible="true"/>
                <separator name="sep2" visible="true"/>
                <separator name="additions" visible="true"/>
            </toolbar>
            <toolbar id="org.mwc.debrief.core.ChartFeatures" label="Chart Features">
                <separator name="charts" visible="true"/>
                <separator name="sep2" visible="true"/>
                <separator name="additions" visible="true"/>
            </toolbar>
            <toolbar id="org.mwc.debrief.core.EditorView" label="View Mode">
                <separator name="viewRadio" visible="true"/>
                <separator name="view" visible="true"/>
                <separator name="sep1" visible="true"/>
                <separator name="additions" visible="true"/>
            </toolbar>
        </menuContribution>

        <menuContribution locationURI="menu:org.eclipse.ui.main.menu?after=additions">
            <menu id="org.mwc.debrief.core.EditorFeatures" label="&amp;Chart Features"/>
            <menu id="org.mwc.debrief.core.EditorShapes" label="&amp;Drawing"/>
            <menu id="org.mwc.debrief.core.EditorView" label="&amp;View"/>
        </menuContribution>
        <menuContribution locationURI="menu:org.mwc.debrief.core.EditorView">
            <separator name="viewRadio" visible="true"/>
            <separator name="view" visible="true"/>
            <separator name="sep4" visible="true"/>
            <separator name="additions" visible="true"/>
        </menuContribution>
        <menuContribution locationURI="menu:org.mwc.debrief.core.EditorShapes">
            <separator name="shapes" visible="true"/>
            <separator name="sep5" visible="true"/>
            <separator name="additions" visible="true"/>
        </menuContribution>
        <menuContribution locationURI="menu:org.mwc.debrief.core.EditorFeatures">
            <separator name="features" visible="true"/>
            <separator name="sep6" visible="true"/>
            <separator name="additions" visible="true"/>
        </menuContribution>

        <menuContribution locationURI="menu:org.mwc.debrief.core.EditorView?after=viewRadio">
            <command commandId="org.mwc.debrief.core.RadioHandler" icon="icons/16/SelectSegment.png"
                label="Drag &amp;TMA Segment" style="radio" id="org.mwc.debrief.core.DragSegment">
                <parameter name="org.eclipse.ui.commands.radioStateParameter" value="DragSegment"> </parameter>
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.RadioHandler"
                icon="icons/16/SelectComponent.png" label="Drag &amp;Component" style="radio"
                id="org.mwc.debrief.core.DragComponent">
                <parameter name="org.eclipse.ui.commands.radioStateParameter" value="DragComponent"> </parameter>
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.RadioHandler" icon="icons/16/SelectFeature.png"
                label="&amp;Drag Whole Feature" style="radio" id="org.mwc.debrief.core.DragFeature">
                <parameter name="org.eclipse.ui.commands.radioStateParameter" value="DragFeature"> </parameter>
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.RadioHandler" icon="icons/16/rng_brg.png"
                label="Measure range &amp;bearing" style="radio"
                id="org.mwc.debrief.core.RangeBearing">
                <parameter name="org.eclipse.ui.commands.radioStateParameter" value="RangeBearing"> </parameter>
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.RadioHandler" icon="icons/16/hand.png"
                label="&amp;Pan" style="radio" id="org.mwc.debrief.core.Pan">
                <parameter name="org.eclipse.ui.commands.radioStateParameter" value="Pan"> </parameter>
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activeCorePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.RadioHandler" icon="icons/16/zoomin.png"
                label="Zoom &amp;In" style="radio" id="org.mwc.debrief.core.ZoomIn">
                <parameter name="org.eclipse.ui.commands.radioStateParameter" value="ZoomIn"> </parameter>
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activeCorePlotEditor"> </reference>
                </visibleWhen>
            </command>
        </menuContribution>

        <menuContribution locationURI="toolbar:org.mwc.debrief.core.save?before=additions">
            <command commandId="org.eclipse.ui.file.save" icon="icons/24/save.png" label="Save"
                tooltip="Save" style="push" id="org.mwc.debrief.core.save"> </command>
        </menuContribution>

        <menuContribution locationURI="toolbar:org.mwc.debrief.core.createProject?before=additions">
            <command commandId="org.mwc.debrief.core.createProject"
                icon="icons/24/create_project.png" label="Create Project"
                tooltip="Create folders to contain your Debrief working files" style="push"
                id="org.mwc.debrief.core.createProject"> </command>
        </menuContribution>
        <menuContribution
              locationURI="toolbar:org.mwc.debrief.core.undoRedo?before=additions">
           <command
                 commandId="org.eclipse.ui.edit.undo"
                 icon="icons/24/undo.png"
                 id="undoredo.undo"
                 style="push">
           </command>
           <command
                 commandId="org.eclipse.ui.edit.redo"
                 icon="icons/24/redo.png"
                 id="undoredo.redo"
                 style="push">
           </command>
        </menuContribution>

        <menuContribution locationURI="toolbar:org.mwc.debrief.core.EditorView?after=viewRadio">
            <command commandId="org.mwc.debrief.core.RadioHandler" icon="icons/24/SelectSegment.png"
                label="Drag &amp;Track Segment" tooltip="Drag Track Segment" style="radio"
                id="org.mwc.debrief.core.DragSegment">
                <parameter name="org.eclipse.ui.commands.radioStateParameter" value="DragSegment"> </parameter>
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.RadioHandler"
                icon="icons/24/SelectComponent.png" label="Drag &amp;Component"
                tooltip="Drag Component" style="radio" id="org.mwc.debrief.core.DragComponent">
                <parameter name="org.eclipse.ui.commands.radioStateParameter" value="DragComponent"> </parameter>
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.RadioHandler" icon="icons/24/SelectFeature.png"
                label="&amp;Drag Whole Feature" tooltip="Drag Whole Feature" style="radio"
                id="org.mwc.debrief.core.DragFeature">
                <parameter name="org.eclipse.ui.commands.radioStateParameter" value="DragFeature"> </parameter>
                <visibleWhen checkEnabled="false">
                    <with variable="activeEditorId">
                        <or>
                            <equals value="org.mwc.debrief.PlotEditor"> </equals>
                            <equals value="org.mwc.debrief.TrackEditor"> </equals>
                            <equals value="org.mwc.debrief.SensorEditor"> </equals>
                        </or>
                    </with>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.RadioHandler" icon="icons/24/rng_brg.png"
                label="Measure range &amp;bearing" tooltip="Measure range bearing" style="radio"
                id="org.mwc.debrief.core.RangeBearing">
                <parameter name="org.eclipse.ui.commands.radioStateParameter" value="RangeBearing"> </parameter>
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.RadioHandler" icon="icons/24/hand.png"
                label="&amp;Pan" tooltip="Pan" style="radio" id="org.mwc.debrief.core.Pan">
                <parameter name="org.eclipse.ui.commands.radioStateParameter" value="Pan"> </parameter>
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activeCorePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.RadioHandler" icon="icons/24/zoomin.png"
                style="radio" tooltip="Zoom In" id="org.mwc.debrief.core.ZoomIn">
                <parameter name="org.eclipse.ui.commands.radioStateParameter" value="ZoomIn"> </parameter>
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activeCorePlotEditor"> </reference>
                </visibleWhen>
            </command>
        </menuContribution>

        <menuContribution locationURI="menu:org.mwc.debrief.core.EditorView?after=additions">
            <command commandId="org.mwc.debrief.core.ZoomOut" icon="icons/16/zoomout.png"
                style="push" id="org.mwc.debrief.core.ZoomOut">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activeCorePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.FitToWindow" icon="icons/16/fit_to_win.png"
                style="push" id="org.mwc.debrief.core.FitToWindow">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activeCorePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.Redraw" icon="icons/16/repaint.png"
                style="push" id="org.mwc.debrief.core.Redraw">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activeCorePlotEditor"> </reference>
                </visibleWhen>
            </command>

        </menuContribution>

        <menuContribution locationURI="toolbar:org.mwc.debrief.core.EditorView?after=view">
            <separator name="org.mwc.debrief.core.separator8"> </separator>
            <command commandId="org.mwc.debrief.core.ZoomOut" icon="icons/24/zoomout.png"
                style="push" id="org.mwc.debrief.core.ZoomOut">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activeCorePlotEditor"> </reference>
                </visibleWhen>
            </command>
        </menuContribution>

        <menuContribution locationURI="toolbar:org.mwc.debrief.core.EditorView?after=additions">
            <command commandId="org.mwc.debrief.core.FitToWindow" icon="icons/24/fit_to_win.png"
                style="push" id="org.mwc.debrief.core.FitToWindow">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activeCorePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.Redraw" icon="icons/24/repaint.png"
                style="push" id="org.mwc.debrief.core.Redraw">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activeCorePlotEditor"> </reference>
                </visibleWhen>
            </command>

        </menuContribution>
        <menuContribution locationURI="menu:org.mwc.debrief.core.EditorFeatures?after=features">
            <command commandId="org.mwc.debrief.core.creators.chartFeatures.InsertScale"
                icon="icons/16/scale.png" style="push"
                id="org.mwc.debrief.core.creators.chartFeatures.InsertScale">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            
            <command commandId="org.mwc.debrief.core.creators.chartFeatures.InsertTimeDisplayAbsolute"
                icon="icons/16/clock.png" style="push"
                id="org.mwc.debrief.core.creators.chartFeatures.InsertTimeDisplayAbsolute">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

			<command commandId="org.mwc.debrief.core.creators.chartFeatures.InsertTimeDisplayRelative"
                icon="icons/16/stopwatch.png" style="push"
                id="org.mwc.debrief.core.creators.chartFeatures.InsertTimeDisplayRelative">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            
            <command commandId="org.mwc.debrief.core.creators.chartFeatures.Insert4WGrid"
                icon="icons/16/grid4w.png" style="push"
                id="org.mwc.debrief.core.creators.chartFeatures.Insert4WGrid">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.creators.chartFeatures.InsertGrid"
                icon="icons/16/grid.png" style="push"
                id="org.mwc.debrief.core.creators.chartFeatures.InsertGrid">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.creators.chartFeatures.InsertLocalGrid"
                icon="icons/16/local_grid.png" style="push"
                id="org.mwc.debrief.core.creators.chartFeatures.InsertLocalGrid">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.creators.chartFeatures.InsertCoastline"
                icon="icons/16/coast.png" style="push"
                id="org.mwc.debrief.core.creators.chartFeatures.InsertCoastline">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.creators.chartFeatures.InsertETOPO"
                icon="icons/16/etopo.png" style="push"
                id="org.mwc.debrief.core.creators.chartFeatures.InsertETOPO">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.creators.chartFeatures.InsertChartLibrary"
                icon="icons/16/library.png" style="push"
                id="org.mwc.debrief.core.creators.chartFeatures.InsertChartLibrary">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.creators.chartFeatures.InsertVPFLayers"
                icon="icons/16/vpf.png" style="push"
                id="org.mwc.debrief.core.creators.chartFeatures.InsertVPFLayers">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
        </menuContribution>
        <menuContribution locationURI="menu:org.mwc.debrief.core.EditorShapes?after=shapes">
            <command commandId="org.mwc.debrief.core.creators.shapes.AutoSelectTarget"
                icon="icons/16/auto_layer.png" style="toggle"
                id="org.mwc.debrief.core.creators.shapes.AutoSelectTarget">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertEllipse"
                icon="icons/16/ellipse.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertEllipse">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertPolygon"
                icon="icons/16/polygon.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.Insertploygon">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertLine"
                icon="icons/16/line.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertLine">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertRectangle"
                icon="icons/16/rectangle.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertRectangle">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertWheel"
                icon="icons/16/wheel.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertWheel">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertCircle"
                icon="icons/16/circle.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertCircle">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertArc"
                icon="icons/16/arc.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertArc">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertLabel"
                icon="icons/16/label.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertLabel">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertFurthestOnCircles"
                icon="icons/16/furthest_circles.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertFurthestOnCircles">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertRangeRings"
                icon="icons/16/range_rings.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertRangeRings">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.chartFeatures.InsertTrackSegment"
                icon="icons/16/track_segment.png" style="push"
                id="org.mwc.debrief.core.creators.chartFeatures.InsertTrackSegment">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertVector"
                icon="icons/16/vector.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertVector">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
        </menuContribution>

        <menuContribution locationURI="toolbar:org.mwc.debrief.core.EditorShapes?after=shapes">
            <command commandId="org.mwc.debrief.core.creators.shapes.AutoSelectTarget"
                icon="icons/24/auto_layer.png" style="toggle"
                id="org.mwc.debrief.core.creators.shapes.AutoSelectTarget">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertEllipse"
                icon="icons/24/ellipse.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertEllipse">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertPolygon"
                icon="icons/24/polygon.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.Insertploygon">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertLine"
                icon="icons/24/line.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertLine">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertRectangle"
                icon="icons/24/rectangle.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertRectangle">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertWheel"
                icon="icons/24/wheel.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertWheel">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertCircle"
                icon="icons/24/circle.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertCircle">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertArc"
                icon="icons/24/arc.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertArc">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertLabel"
                icon="icons/24/label.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertLabel">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertFurthestOnCircles"
                icon="icons/24/furthest_circles.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertFurthestOnCircles">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertRangeRings"
                icon="icons/24/range_rings.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertRangeRings">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.chartFeatures.InsertTrackSegment"
                icon="icons/24/track_segment.png" style="push"
                id="org.mwc.debrief.core.creators.chartFeatures.InsertTrackSegment">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertVector"
                icon="icons/24/vector.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertVector">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
        </menuContribution>

        <menuContribution locationURI="menu:file?after=additions">
            <command commandId="org.mwc.debrief.core.operations.ExportGPX"
                icon="icons/16/export_gpx.png" style="push"
                id="org.mwc.debrief.core.operations.ExportGPX">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.cmap.plotViewer.actions.ExportWMF"
                icon="icons/16/photo_scenery.png" style="push"
                id="org.mwc.cmap.plotViewer.actions.ExportWMF">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.cmap.plotViewer.actions.ExportWMFToClipboard"
                icon="icons/16/photo_scenery.png" style="push"
                id="org.mwc.cmap.plotViewer.actions.ExportWMFToClipboard">
                <visibleWhen checkEnabled="false">
                    <and>
               			<systemTest
                     		property="osgi.os"
                     		value="win32">
               			</systemTest>
            			<systemTest
                     		property="osgi.arch"
                     		value="x86">
               			</systemTest>
                    	<reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                    </and>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.exportAsRTF" icon="icons/16/Ex_2word_256_1.png"
                style="push" id="org.mwc.debrief.core.exportAsRTF">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

        </menuContribution>
    </extension>

    <extension point="org.eclipse.core.expressions.definitions">
        <definition id="org.mwc.debrief.activePlotEditor">
            <with variable="activeEditorId">
                <or>
                    <equals value="org.mwc.debrief.PlotEditor"> </equals>
                    <equals value="org.mwc.debrief.TrackEditor"> </equals>
                    <equals value="org.mwc.debrief.SensorEditor"> </equals>
                </or>
            </with>
        </definition>
    </extension>

    <extension point="org.eclipse.core.expressions.definitions">
        <definition id="org.mwc.debrief.activeCorePlotEditor">
            <with variable="activeEditorId">
                <or>
                    <equals value="org.mwc.debrief.PlotEditor"> </equals>
                    <equals value="org.mwc.asset.ASSETPlotEditor"> </equals>
                    <equals value="org.mwc.debrief.TrackEditor"> </equals>
                    <equals value="org.mwc.debrief.SensorEditor"> </equals>
                </or>
            </with>
        </definition>
    </extension>

    <extension point="org.eclipse.ui.commands">
        <command defaultHandler="org.mwc.debrief.core.actions.ExportAsRTFHandler"
            id="org.mwc.debrief.core.exportAsRTF" name="Export image as WMF embedded in RTF"> </command>

        <command defaultHandler="org.mwc.debrief.core.actions.CreateProjectHandler"
            id="org.mwc.debrief.core.createProject" name="Create Project"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.chartFeatures.InsertScale"
            id="org.mwc.debrief.core.creators.chartFeatures.InsertScale" name="&amp;Scale"> </command>

		<command defaultHandler="org.mwc.debrief.core.creators.chartFeatures.InsertTimeDisplayAbsolute"
            id="org.mwc.debrief.core.creators.chartFeatures.InsertTimeDisplayAbsolute" name="&amp;Time Display (Absolute)"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.chartFeatures.InsertTimeDisplayRelative"
            id="org.mwc.debrief.core.creators.chartFeatures.InsertTimeDisplayRelative" name="&amp;Time Display (Relative)"> </command>
        
        <command defaultHandler="org.mwc.debrief.core.creators.chartFeatures.Insert4WGrid"
            id="org.mwc.debrief.core.creators.chartFeatures.Insert4WGrid" name="&amp;4W Grid"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.chartFeatures.InsertGrid"
            id="org.mwc.debrief.core.creators.chartFeatures.InsertGrid" name="&amp;Grid"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.chartFeatures.InsertLocalGrid"
            id="org.mwc.debrief.core.creators.chartFeatures.InsertLocalGrid" name="&amp;Local Grid"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.chartFeatures.InsertCoastline"
            id="org.mwc.debrief.core.creators.chartFeatures.InsertCoastline" name="&amp;CoastLine"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.chartFeatures.InsertETOPO"
            id="org.mwc.debrief.core.creators.chartFeatures.InsertETOPO" name="&amp;ETOPO"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.chartFeatures.InsertChartLibrary"
            id="org.mwc.debrief.core.creators.chartFeatures.InsertChartLibrary"
            name="C&amp;hart Library"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.chartFeatures.InsertVPFLayers"
            id="org.mwc.debrief.core.creators.chartFeatures.InsertVPFLayers" name="&amp;VPF Layers"> </command>


        <command defaultHandler="org.mwc.cmap.plotViewer.actions.ZoomOut"
            id="org.mwc.debrief.core.ZoomOut" name="Zoom &amp;Out"> </command>

        <command defaultHandler="org.mwc.cmap.plotViewer.actions.FitToWindow"
            id="org.mwc.debrief.core.FitToWindow" name="&amp;Fit to window"> </command>

        <command defaultHandler="org.mwc.cmap.plotViewer.actions.Redraw"
            id="org.mwc.debrief.core.Redraw" name="&amp;Redraw"> </command>

        <command defaultHandler="org.mwc.debrief.core.actions.RadioHandler"
            id="org.mwc.debrief.core.RadioHandler" name="Radio">
            <commandParameter id="org.eclipse.ui.commands.radioStateParameter" name="Radio Name"
                optional="false"> </commandParameter>
            <state id="org.eclipse.ui.commands.radioState">
                <class class="org.eclipse.ui.handlers.RadioState">
                    <parameter name="default" value="ZoomIn"> </parameter>
                    <parameter name="persisted" value="false"> </parameter>
                </class>
            </state>
        </command>

        <command defaultHandler="org.mwc.debrief.core.creators.shapes.AutoSelectTarget"
            id="org.mwc.debrief.core.creators.shapes.AutoSelectTarget"
            name="&amp;Manually select target layer">
            <state class="org.eclipse.ui.handlers.RegistryToggleState:true"
                id="org.eclipse.ui.commands.toggleState"> </state>
        </command>

        <command defaultHandler="org.mwc.debrief.core.creators.shapes.InsertArc"
            id="org.mwc.debrief.core.creators.shapes.InsertArc" name="&amp;Arc"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.shapes.InsertCircle"
            id="org.mwc.debrief.core.creators.shapes.InsertCircle" name="&amp;Circle"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.shapes.InsertWheel"
            id="org.mwc.debrief.core.creators.shapes.InsertWheel" name="&amp;Wheel"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.shapes.InsertRangeRings"
            id="org.mwc.debrief.core.creators.shapes.InsertRangeRings" name="&amp;Range Rings"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.shapes.InsertFurthestOnCircles"
            id="org.mwc.debrief.core.creators.shapes.InsertFurthestOnCircles"
            name="&amp;Furthest On Circles"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.shapes.InsertPolygon"
            id="org.mwc.debrief.core.creators.shapes.InsertPolygon" name="&amp;Polygon"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.shapes.InsertEllipse"
            id="org.mwc.debrief.core.creators.shapes.InsertEllipse" name="&amp;Ellipse"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.shapes.InsertRectangle"
            id="org.mwc.debrief.core.creators.shapes.InsertRectangle" name="Recta&amp;ngle"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.shapes.InsertLabel"
            id="org.mwc.debrief.core.creators.shapes.InsertLabel" name="La&amp;bel"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.shapes.InsertLine"
            id="org.mwc.debrief.core.creators.shapes.InsertLine" name="&amp;Line"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.shapes.InsertVector"
            id="org.mwc.debrief.core.creators.shapes.InsertVector" name="&amp;Vector"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.chartFeatures.InsertTrackSegment"
            id="org.mwc.debrief.core.creators.chartFeatures.InsertTrackSegment"
            name="&amp;Track Segment"> </command>

        <command defaultHandler="org.mwc.cmap.plotViewer.actions.ExportWMF"
            id="org.mwc.cmap.plotViewer.actions.ExportWMF" name="Export WMF"> </command>
        
        <command defaultHandler="org.mwc.cmap.plotViewer.actions.ExportWMFToClipboard"
            id="org.mwc.cmap.plotViewer.actions.ExportWMFToClipboard" name="Export WMF to clipboard">
        </command>

        <command defaultHandler="org.mwc.debrief.core.operations.ExportGPX"
            id="org.mwc.debrief.core.operations.ExportGPX" name="Export GPX"> </command>
    </extension>

    <extension point="org.eclipse.ui.newWizards">
        <wizard category="org.mwc.cmap.core" class="org.mwc.debrief.core.wizards.NewPlotWizard"
            icon="icons/16/plot_file.png" id="org.mwc.debrief.core.wizards.NewPlotWizard"
            name="Debrief Plot"/>
    </extension>
    <extension id="Debrief" point="org.eclipse.core.runtime.products">
        <product application="org.eclipse.ui.ide.workbench"
            description="Debrief Maritime Analysis Software" name="DebriefNG">
            <property name="appName" value="DebriefNG"/>
            <property name="preferenceCustomization" value="plugin_customization.ini"/>
            <property name="introTitle" value="Welcome to DebriefNG (with Charts)"/>
            <property name="introBrandingImage" value="product:icons/icon.png"/>
            <property name="introBrandingImageText"
                value="Debrief, from the Maritime Warfare Centre"/>
            <property name="aboutImage" value="icons/DebriefNGlogoSmall.png"/>
            <property name="windowImages" value="icons/icon.png,icons/48/icon_48.png"/>
            <property name="startupForegroundColor" value="000000"/>
            <property name="startupMessageRect" value="0,0,0,0"/>
            <property name="startupProgressRect" value="0,0,0,0"/>
            <property name="applicationXMI" value="org.eclipse.platform/LegacyIDE.e4xmi"/>
            <property name="cssTheme" value="org.eclipse.e4.ui.css.theme.e4_default"/>
            <property name="applicationCSSResources"
                value="platform:/plugin/org.eclipse.platform/images/"/>
            <property name="aboutText" value="%aboutText"> </property>
        </product>
    </extension>

    <extension point="org.eclipse.ui.perspectives">
        <perspective class="org.mwc.debrief.core.DebriefPerspectiveFactory"
            icon="icons/16/debrief_icon.png" id="org.mwc.debrief.core.Perspective"
            name="Tactical Analysis"/>
    </extension>

    <extension point="org.eclipse.ui.perspectiveExtensions">
        <perspectiveExtension targetID="org.mwc.debrief.core.Perspective"><commit_msg>#1680- make sure dock/taskbar icons has correct resolution. contribute via product file than plugin.xml<commit_after><?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>

    <extension point="org.eclipse.ui.views">
        <category id="org.mwc.debrief.core.DebriefCategory" name="Debrief"/>
    </extension>

    <extension point="org.eclipse.ui.editors">
        <editor class="org.mwc.debrief.core.editors.PlotEditor"
            contributorClass="org.mwc.debrief.core.editors.PlotEditorActionBarContributor"
            icon="icons/16/plot_file.png" id="org.mwc.debrief.PlotEditor" name="Debrief Plot Editor">
            <contentTypeBinding contentTypeId="org.mwc.debrief.contenttype.DebriefPlot"> </contentTypeBinding>
            <contentTypeBinding contentTypeId="org.mwc.debrief.contenttype.DebriefPlotGPX"
            > </contentTypeBinding>
        </editor>
    </extension>

    <extension point="org.eclipse.ui.editors">
        <editor class="org.mwc.debrief.core.editors.PlotEditor"
            contributorClass="org.mwc.debrief.core.editors.PlotEditorActionBarContributor"
            icon="icons/16/track_file.png" id="org.mwc.debrief.TrackEditor"
            name="Debrief Plot Editor">
            <contentTypeBinding contentTypeId="org.mwc.debrief.contenttype.ReplayTrackFile"/>
            <contentTypeBinding contentTypeId="org.mwc.debrief.contenttype.KMZTrackFile"/>
            <contentTypeBinding contentTypeId="org.mwc.debrief.contenttype.LogTrackFile"/>
            <contentTypeBinding contentTypeId="org.mwc.debrief.contenttype.KMZTrackArchive"/>
            <contentTypeBinding contentTypeId="org.mwc.debrief.contenttype.AISTrackFile"/>
            <contentTypeBinding contentTypeId="org.mwc.debrief.contenttype.SATCTrackFile"/>
        </editor>
    </extension>

    <extension point="org.eclipse.ui.editors">
        <editor class="org.mwc.debrief.core.editors.PlotEditor"
            contributorClass="org.mwc.debrief.core.editors.PlotEditorActionBarContributor"
            icon="icons/16/sensor_file.png" id="org.mwc.debrief.SensorEditor"
            name="Debrief Plot Editor">
            <contentTypeBinding contentTypeId="org.mwc.debrief.contenttype.ReplaySensorFile"
            > </contentTypeBinding>
        </editor>
    </extension>

    <extension point="org.eclipse.core.contenttype.contentTypes">
        <content-type base-type="org.eclipse.core.runtime.xml" file-extensions="xml,dpf"
            id="org.mwc.debrief.contenttype.DebriefPlot" name="Debrief Plot File" priority="normal">
            <describer class="org.eclipse.core.runtime.content.XMLRootElementContentDescriber">
                <parameter name="element" value="plot"> </parameter>
            </describer>
        </content-type>
        <content-type base-type="org.eclipse.core.runtime.xml" file-extensions="gpx"
            id="org.mwc.debrief.contenttype.DebriefPlotGPX" name="Debrief GPX File"
            priority="normal">
            <describer class="org.eclipse.core.runtime.content.XMLRootElementContentDescriber">
                <parameter name="element" value="gpx"> </parameter>
            </describer>
        </content-type>
        <content-type id="org.mwc.debrief.contenttype.ReplayTrackFile" file-extensions="rep"
            name="Replay Track File" priority="normal"> </content-type>
        <content-type base-type="org.eclipse.core.runtime.text"
            id="org.mwc.debrief.contenttype.ReplaySensorFile" file-extensions="dsf"
            name="Debrief Sensor File" priority="normal"> </content-type>
        <content-type base-type="org.eclipse.core.runtime.text"
            id="org.mwc.debrief.contenttype.INPFile" file-extensions="inp"
            name="DIS Simulation input file" priority="normal"> </content-type>
        <content-type id="org.mwc.debrief.contenttype.WorldImageFile" file-extensions="tif"
            name="World Image (Electronic Chart) File" priority="normal"> </content-type>
        <content-type id="org.mwc.debrief.contenttype.KMZTrackArchive" file-extensions="kmz"
            name="KMZ Track Archive" priority="normal"> </content-type>
        <content-type id="org.mwc.debrief.contenttype.KMZTrackFile" file-extensions="kml"
            name="KMZ Track File" priority="normal"> </content-type>
        <content-type id="org.mwc.debrief.contenttype.LogTrackFile" file-extensions="csv"
            name="S2087 Context Track File (Log)" priority="normal"> </content-type>
        <content-type id="org.mwc.debrief.contenttype.AISTrackFile"
            file-extensions="txt"
            name="AIS track file" priority="high">
            <describer class="org.mwc.debrief.core.contenttype.AISContentDescriber"/>
        </content-type>
        <content-type id="org.mwc.debrief.contenttype.SATCTrackFile"
            file-extensions="txt"
            name="SATC export file" priority="high">
            <describer class="org.mwc.debrief.core.contenttype.SATCContentDescriber"/>
        </content-type>
    </extension>

    <extension-point id="DebriefPlotLoader" name="Plot Loader"
        schema="schema/DebriefPlotLoader.exsd"/>
    <extension-point id="XMLLayerHandler" name="XMLLayerHandler"
        schema="schema/XMLLayerHandler.exsd"/>
    <extension point="org.mwc.debrief.core.DebriefPlotLoader">
        <loader class="org.mwc.debrief.core.loaders.ReplayLoader" extensions="rep;dsf;dtf"
            name="ReplayLoader"/>
    </extension>
    <extension point="org.mwc.debrief.core.DebriefPlotLoader">
        <loader class="org.mwc.debrief.core.loaders.XMLLoader" extensions="xml;dpf"
            name="Debrief XML Loader"/>
    </extension>
    <extension point="org.mwc.debrief.core.DebriefPlotLoader">
        <loader class="org.mwc.debrief.core.loaders.KMLLoader" extensions="kml"
            name="KML Track File"/>
    </extension>
    <extension point="org.mwc.debrief.core.DebriefPlotLoader">
        <loader class="org.mwc.debrief.core.loaders.KMLLoader" extensions="kmz"
            name="KML Track Archive"/>
    </extension>
    <extension point="org.mwc.debrief.core.DebriefPlotLoader">
        <loader class="org.mwc.debrief.core.loaders.LogTrackLoader" extensions="csv"
            name="S2087 Context Track File (.csv)"/>
    </extension>
    <extension point="org.mwc.debrief.core.DebriefPlotLoader">
        <loader class="org.mwc.debrief.core.loaders.GPXLoader" extensions="gpx" name="GPX Plot File"
        />
    </extension>
    <extension point="org.mwc.debrief.core.DebriefPlotLoader">
        <loader class="org.mwc.debrief.core.loaders.AISLoader" extensions="txt" first_line="!AIVDM" name="AIS Track File"        
        />
    </extension>
    <extension point="org.mwc.debrief.core.DebriefPlotLoader">
        <loader class="org.mwc.debrief.core.loaders.SATCLoader" extensions="txt" first_line="//X, Y, Time"  name="SATC Track File"        
        />
    </extension>
    <extension point="org.mwc.debrief.core.DebriefPlotLoader">
        <loader class="org.mwc.debrief.core.loaders.TifLoader" extensions="tif;tiff"
            name="GeoTIF Image File"/>
    </extension>
    <extension point="org.mwc.debrief.core.DebriefPlotLoader">
        <loader class="org.mwc.debrief.core.loaders.ShapeLoader" extensions="shp"
            name="ShapeFile File"/>
    </extension>
    <extension point="org.mwc.debrief.core.DebriefPlotLoader">
        <loader class="org.mwc.debrief.core.loaders.MsDocLoader" extensions="doc"
            name="MS Word Document"/>
    </extension>

    <extension point="org.eclipse.ui.menus">
        <menuContribution locationURI="toolbar:org.eclipse.ui.main.toolbar?before=group.file">
            <toolbar id="org.mwc.debrief.core.save" label="Save">
                <separator name="features" visible="true"/>
                <separator name="sep3" visible="true"/>
                <separator name="additions" visible="true"/>
            </toolbar>
            <toolbar id="org.mwc.debrief.core.createProject" label="Create Project">
                <separator name="features" visible="true"/>
                <separator name="sep3" visible="true"/>
                <separator name="additions" visible="true"/>
            </toolbar>
            <toolbar
                  id="org.mwc.debrief.core.undoRedo"
                  label="Undo Redo">
               <separator
                     name="features"
                     visible="true">
               </separator>
               <separator
                     name="sep3"
                     visible="true">
               </separator>
               <separator
                     name="additions"
                     visible="true">
               </separator>
            </toolbar>
            <toolbar id="org.mwc.debrief.core.EditorFeatures" label="Add Features">
                <separator name="features" visible="true"/>
                <separator name="sep3" visible="true"/>
                <separator name="additions" visible="true"/>
            </toolbar>
            <toolbar id="org.mwc.debrief.core.EditorShapes" label="Insert Shapes">
                <separator name="shapes" visible="true"/>
                <separator name="sep2" visible="true"/>
                <separator name="additions" visible="true"/>
            </toolbar>
            <toolbar id="org.mwc.debrief.core.ChartFeatures" label="Chart Features">
                <separator name="charts" visible="true"/>
                <separator name="sep2" visible="true"/>
                <separator name="additions" visible="true"/>
            </toolbar>
            <toolbar id="org.mwc.debrief.core.EditorView" label="View Mode">
                <separator name="viewRadio" visible="true"/>
                <separator name="view" visible="true"/>
                <separator name="sep1" visible="true"/>
                <separator name="additions" visible="true"/>
            </toolbar>
        </menuContribution>

        <menuContribution locationURI="menu:org.eclipse.ui.main.menu?after=additions">
            <menu id="org.mwc.debrief.core.EditorFeatures" label="&amp;Chart Features"/>
            <menu id="org.mwc.debrief.core.EditorShapes" label="&amp;Drawing"/>
            <menu id="org.mwc.debrief.core.EditorView" label="&amp;View"/>
        </menuContribution>
        <menuContribution locationURI="menu:org.mwc.debrief.core.EditorView">
            <separator name="viewRadio" visible="true"/>
            <separator name="view" visible="true"/>
            <separator name="sep4" visible="true"/>
            <separator name="additions" visible="true"/>
        </menuContribution>
        <menuContribution locationURI="menu:org.mwc.debrief.core.EditorShapes">
            <separator name="shapes" visible="true"/>
            <separator name="sep5" visible="true"/>
            <separator name="additions" visible="true"/>
        </menuContribution>
        <menuContribution locationURI="menu:org.mwc.debrief.core.EditorFeatures">
            <separator name="features" visible="true"/>
            <separator name="sep6" visible="true"/>
            <separator name="additions" visible="true"/>
        </menuContribution>

        <menuContribution locationURI="menu:org.mwc.debrief.core.EditorView?after=viewRadio">
            <command commandId="org.mwc.debrief.core.RadioHandler" icon="icons/16/SelectSegment.png"
                label="Drag &amp;TMA Segment" style="radio" id="org.mwc.debrief.core.DragSegment">
                <parameter name="org.eclipse.ui.commands.radioStateParameter" value="DragSegment"> </parameter>
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.RadioHandler"
                icon="icons/16/SelectComponent.png" label="Drag &amp;Component" style="radio"
                id="org.mwc.debrief.core.DragComponent">
                <parameter name="org.eclipse.ui.commands.radioStateParameter" value="DragComponent"> </parameter>
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.RadioHandler" icon="icons/16/SelectFeature.png"
                label="&amp;Drag Whole Feature" style="radio" id="org.mwc.debrief.core.DragFeature">
                <parameter name="org.eclipse.ui.commands.radioStateParameter" value="DragFeature"> </parameter>
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.RadioHandler" icon="icons/16/rng_brg.png"
                label="Measure range &amp;bearing" style="radio"
                id="org.mwc.debrief.core.RangeBearing">
                <parameter name="org.eclipse.ui.commands.radioStateParameter" value="RangeBearing"> </parameter>
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.RadioHandler" icon="icons/16/hand.png"
                label="&amp;Pan" style="radio" id="org.mwc.debrief.core.Pan">
                <parameter name="org.eclipse.ui.commands.radioStateParameter" value="Pan"> </parameter>
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activeCorePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.RadioHandler" icon="icons/16/zoomin.png"
                label="Zoom &amp;In" style="radio" id="org.mwc.debrief.core.ZoomIn">
                <parameter name="org.eclipse.ui.commands.radioStateParameter" value="ZoomIn"> </parameter>
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activeCorePlotEditor"> </reference>
                </visibleWhen>
            </command>
        </menuContribution>

        <menuContribution locationURI="toolbar:org.mwc.debrief.core.save?before=additions">
            <command commandId="org.eclipse.ui.file.save" icon="icons/24/save.png" label="Save"
                tooltip="Save" style="push" id="org.mwc.debrief.core.save"> </command>
        </menuContribution>

        <menuContribution locationURI="toolbar:org.mwc.debrief.core.createProject?before=additions">
            <command commandId="org.mwc.debrief.core.createProject"
                icon="icons/24/create_project.png" label="Create Project"
                tooltip="Create folders to contain your Debrief working files" style="push"
                id="org.mwc.debrief.core.createProject"> </command>
        </menuContribution>
        <menuContribution
              locationURI="toolbar:org.mwc.debrief.core.undoRedo?before=additions">
           <command
                 commandId="org.eclipse.ui.edit.undo"
                 icon="icons/24/undo.png"
                 id="undoredo.undo"
                 style="push">
           </command>
           <command
                 commandId="org.eclipse.ui.edit.redo"
                 icon="icons/24/redo.png"
                 id="undoredo.redo"
                 style="push">
           </command>
        </menuContribution>

        <menuContribution locationURI="toolbar:org.mwc.debrief.core.EditorView?after=viewRadio">
            <command commandId="org.mwc.debrief.core.RadioHandler" icon="icons/24/SelectSegment.png"
                label="Drag &amp;Track Segment" tooltip="Drag Track Segment" style="radio"
                id="org.mwc.debrief.core.DragSegment">
                <parameter name="org.eclipse.ui.commands.radioStateParameter" value="DragSegment"> </parameter>
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.RadioHandler"
                icon="icons/24/SelectComponent.png" label="Drag &amp;Component"
                tooltip="Drag Component" style="radio" id="org.mwc.debrief.core.DragComponent">
                <parameter name="org.eclipse.ui.commands.radioStateParameter" value="DragComponent"> </parameter>
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.RadioHandler" icon="icons/24/SelectFeature.png"
                label="&amp;Drag Whole Feature" tooltip="Drag Whole Feature" style="radio"
                id="org.mwc.debrief.core.DragFeature">
                <parameter name="org.eclipse.ui.commands.radioStateParameter" value="DragFeature"> </parameter>
                <visibleWhen checkEnabled="false">
                    <with variable="activeEditorId">
                        <or>
                            <equals value="org.mwc.debrief.PlotEditor"> </equals>
                            <equals value="org.mwc.debrief.TrackEditor"> </equals>
                            <equals value="org.mwc.debrief.SensorEditor"> </equals>
                        </or>
                    </with>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.RadioHandler" icon="icons/24/rng_brg.png"
                label="Measure range &amp;bearing" tooltip="Measure range bearing" style="radio"
                id="org.mwc.debrief.core.RangeBearing">
                <parameter name="org.eclipse.ui.commands.radioStateParameter" value="RangeBearing"> </parameter>
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.RadioHandler" icon="icons/24/hand.png"
                label="&amp;Pan" tooltip="Pan" style="radio" id="org.mwc.debrief.core.Pan">
                <parameter name="org.eclipse.ui.commands.radioStateParameter" value="Pan"> </parameter>
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activeCorePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.RadioHandler" icon="icons/24/zoomin.png"
                style="radio" tooltip="Zoom In" id="org.mwc.debrief.core.ZoomIn">
                <parameter name="org.eclipse.ui.commands.radioStateParameter" value="ZoomIn"> </parameter>
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activeCorePlotEditor"> </reference>
                </visibleWhen>
            </command>
        </menuContribution>

        <menuContribution locationURI="menu:org.mwc.debrief.core.EditorView?after=additions">
            <command commandId="org.mwc.debrief.core.ZoomOut" icon="icons/16/zoomout.png"
                style="push" id="org.mwc.debrief.core.ZoomOut">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activeCorePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.FitToWindow" icon="icons/16/fit_to_win.png"
                style="push" id="org.mwc.debrief.core.FitToWindow">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activeCorePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.Redraw" icon="icons/16/repaint.png"
                style="push" id="org.mwc.debrief.core.Redraw">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activeCorePlotEditor"> </reference>
                </visibleWhen>
            </command>

        </menuContribution>

        <menuContribution locationURI="toolbar:org.mwc.debrief.core.EditorView?after=view">
            <separator name="org.mwc.debrief.core.separator8"> </separator>
            <command commandId="org.mwc.debrief.core.ZoomOut" icon="icons/24/zoomout.png"
                style="push" id="org.mwc.debrief.core.ZoomOut">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activeCorePlotEditor"> </reference>
                </visibleWhen>
            </command>
        </menuContribution>

        <menuContribution locationURI="toolbar:org.mwc.debrief.core.EditorView?after=additions">
            <command commandId="org.mwc.debrief.core.FitToWindow" icon="icons/24/fit_to_win.png"
                style="push" id="org.mwc.debrief.core.FitToWindow">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activeCorePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.Redraw" icon="icons/24/repaint.png"
                style="push" id="org.mwc.debrief.core.Redraw">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activeCorePlotEditor"> </reference>
                </visibleWhen>
            </command>

        </menuContribution>
        <menuContribution locationURI="menu:org.mwc.debrief.core.EditorFeatures?after=features">
            <command commandId="org.mwc.debrief.core.creators.chartFeatures.InsertScale"
                icon="icons/16/scale.png" style="push"
                id="org.mwc.debrief.core.creators.chartFeatures.InsertScale">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            
            <command commandId="org.mwc.debrief.core.creators.chartFeatures.InsertTimeDisplayAbsolute"
                icon="icons/16/clock.png" style="push"
                id="org.mwc.debrief.core.creators.chartFeatures.InsertTimeDisplayAbsolute">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

			<command commandId="org.mwc.debrief.core.creators.chartFeatures.InsertTimeDisplayRelative"
                icon="icons/16/stopwatch.png" style="push"
                id="org.mwc.debrief.core.creators.chartFeatures.InsertTimeDisplayRelative">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            
            <command commandId="org.mwc.debrief.core.creators.chartFeatures.Insert4WGrid"
                icon="icons/16/grid4w.png" style="push"
                id="org.mwc.debrief.core.creators.chartFeatures.Insert4WGrid">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.creators.chartFeatures.InsertGrid"
                icon="icons/16/grid.png" style="push"
                id="org.mwc.debrief.core.creators.chartFeatures.InsertGrid">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.creators.chartFeatures.InsertLocalGrid"
                icon="icons/16/local_grid.png" style="push"
                id="org.mwc.debrief.core.creators.chartFeatures.InsertLocalGrid">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.creators.chartFeatures.InsertCoastline"
                icon="icons/16/coast.png" style="push"
                id="org.mwc.debrief.core.creators.chartFeatures.InsertCoastline">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.creators.chartFeatures.InsertETOPO"
                icon="icons/16/etopo.png" style="push"
                id="org.mwc.debrief.core.creators.chartFeatures.InsertETOPO">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.creators.chartFeatures.InsertChartLibrary"
                icon="icons/16/library.png" style="push"
                id="org.mwc.debrief.core.creators.chartFeatures.InsertChartLibrary">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.creators.chartFeatures.InsertVPFLayers"
                icon="icons/16/vpf.png" style="push"
                id="org.mwc.debrief.core.creators.chartFeatures.InsertVPFLayers">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
        </menuContribution>
        <menuContribution locationURI="menu:org.mwc.debrief.core.EditorShapes?after=shapes">
            <command commandId="org.mwc.debrief.core.creators.shapes.AutoSelectTarget"
                icon="icons/16/auto_layer.png" style="toggle"
                id="org.mwc.debrief.core.creators.shapes.AutoSelectTarget">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertEllipse"
                icon="icons/16/ellipse.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertEllipse">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertPolygon"
                icon="icons/16/polygon.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.Insertploygon">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertLine"
                icon="icons/16/line.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertLine">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertRectangle"
                icon="icons/16/rectangle.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertRectangle">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertWheel"
                icon="icons/16/wheel.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertWheel">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertCircle"
                icon="icons/16/circle.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertCircle">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertArc"
                icon="icons/16/arc.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertArc">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertLabel"
                icon="icons/16/label.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertLabel">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertFurthestOnCircles"
                icon="icons/16/furthest_circles.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertFurthestOnCircles">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertRangeRings"
                icon="icons/16/range_rings.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertRangeRings">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.chartFeatures.InsertTrackSegment"
                icon="icons/16/track_segment.png" style="push"
                id="org.mwc.debrief.core.creators.chartFeatures.InsertTrackSegment">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertVector"
                icon="icons/16/vector.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertVector">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
        </menuContribution>

        <menuContribution locationURI="toolbar:org.mwc.debrief.core.EditorShapes?after=shapes">
            <command commandId="org.mwc.debrief.core.creators.shapes.AutoSelectTarget"
                icon="icons/24/auto_layer.png" style="toggle"
                id="org.mwc.debrief.core.creators.shapes.AutoSelectTarget">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertEllipse"
                icon="icons/24/ellipse.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertEllipse">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertPolygon"
                icon="icons/24/polygon.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.Insertploygon">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertLine"
                icon="icons/24/line.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertLine">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertRectangle"
                icon="icons/24/rectangle.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertRectangle">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertWheel"
                icon="icons/24/wheel.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertWheel">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertCircle"
                icon="icons/24/circle.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertCircle">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertArc"
                icon="icons/24/arc.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertArc">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertLabel"
                icon="icons/24/label.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertLabel">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertFurthestOnCircles"
                icon="icons/24/furthest_circles.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertFurthestOnCircles">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertRangeRings"
                icon="icons/24/range_rings.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertRangeRings">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.chartFeatures.InsertTrackSegment"
                icon="icons/24/track_segment.png" style="push"
                id="org.mwc.debrief.core.creators.chartFeatures.InsertTrackSegment">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.debrief.core.creators.shapes.InsertVector"
                icon="icons/24/vector.png" style="push"
                id="org.mwc.debrief.core.creators.shapes.InsertVector">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
        </menuContribution>

        <menuContribution locationURI="menu:file?after=additions">
            <command commandId="org.mwc.debrief.core.operations.ExportGPX"
                icon="icons/16/export_gpx.png" style="push"
                id="org.mwc.debrief.core.operations.ExportGPX">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.cmap.plotViewer.actions.ExportWMF"
                icon="icons/16/photo_scenery.png" style="push"
                id="org.mwc.cmap.plotViewer.actions.ExportWMF">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>
            <command commandId="org.mwc.cmap.plotViewer.actions.ExportWMFToClipboard"
                icon="icons/16/photo_scenery.png" style="push"
                id="org.mwc.cmap.plotViewer.actions.ExportWMFToClipboard">
                <visibleWhen checkEnabled="false">
                    <and>
               			<systemTest
                     		property="osgi.os"
                     		value="win32">
               			</systemTest>
            			<systemTest
                     		property="osgi.arch"
                     		value="x86">
               			</systemTest>
                    	<reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                    </and>
                </visibleWhen>
            </command>

            <command commandId="org.mwc.debrief.core.exportAsRTF" icon="icons/16/Ex_2word_256_1.png"
                style="push" id="org.mwc.debrief.core.exportAsRTF">
                <visibleWhen checkEnabled="false">
                    <reference definitionId="org.mwc.debrief.activePlotEditor"> </reference>
                </visibleWhen>
            </command>

        </menuContribution>
    </extension>

    <extension point="org.eclipse.core.expressions.definitions">
        <definition id="org.mwc.debrief.activePlotEditor">
            <with variable="activeEditorId">
                <or>
                    <equals value="org.mwc.debrief.PlotEditor"> </equals>
                    <equals value="org.mwc.debrief.TrackEditor"> </equals>
                    <equals value="org.mwc.debrief.SensorEditor"> </equals>
                </or>
            </with>
        </definition>
    </extension>

    <extension point="org.eclipse.core.expressions.definitions">
        <definition id="org.mwc.debrief.activeCorePlotEditor">
            <with variable="activeEditorId">
                <or>
                    <equals value="org.mwc.debrief.PlotEditor"> </equals>
                    <equals value="org.mwc.asset.ASSETPlotEditor"> </equals>
                    <equals value="org.mwc.debrief.TrackEditor"> </equals>
                    <equals value="org.mwc.debrief.SensorEditor"> </equals>
                </or>
            </with>
        </definition>
    </extension>

    <extension point="org.eclipse.ui.commands">
        <command defaultHandler="org.mwc.debrief.core.actions.ExportAsRTFHandler"
            id="org.mwc.debrief.core.exportAsRTF" name="Export image as WMF embedded in RTF"> </command>

        <command defaultHandler="org.mwc.debrief.core.actions.CreateProjectHandler"
            id="org.mwc.debrief.core.createProject" name="Create Project"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.chartFeatures.InsertScale"
            id="org.mwc.debrief.core.creators.chartFeatures.InsertScale" name="&amp;Scale"> </command>

		<command defaultHandler="org.mwc.debrief.core.creators.chartFeatures.InsertTimeDisplayAbsolute"
            id="org.mwc.debrief.core.creators.chartFeatures.InsertTimeDisplayAbsolute" name="&amp;Time Display (Absolute)"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.chartFeatures.InsertTimeDisplayRelative"
            id="org.mwc.debrief.core.creators.chartFeatures.InsertTimeDisplayRelative" name="&amp;Time Display (Relative)"> </command>
        
        <command defaultHandler="org.mwc.debrief.core.creators.chartFeatures.Insert4WGrid"
            id="org.mwc.debrief.core.creators.chartFeatures.Insert4WGrid" name="&amp;4W Grid"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.chartFeatures.InsertGrid"
            id="org.mwc.debrief.core.creators.chartFeatures.InsertGrid" name="&amp;Grid"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.chartFeatures.InsertLocalGrid"
            id="org.mwc.debrief.core.creators.chartFeatures.InsertLocalGrid" name="&amp;Local Grid"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.chartFeatures.InsertCoastline"
            id="org.mwc.debrief.core.creators.chartFeatures.InsertCoastline" name="&amp;CoastLine"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.chartFeatures.InsertETOPO"
            id="org.mwc.debrief.core.creators.chartFeatures.InsertETOPO" name="&amp;ETOPO"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.chartFeatures.InsertChartLibrary"
            id="org.mwc.debrief.core.creators.chartFeatures.InsertChartLibrary"
            name="C&amp;hart Library"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.chartFeatures.InsertVPFLayers"
            id="org.mwc.debrief.core.creators.chartFeatures.InsertVPFLayers" name="&amp;VPF Layers"> </command>


        <command defaultHandler="org.mwc.cmap.plotViewer.actions.ZoomOut"
            id="org.mwc.debrief.core.ZoomOut" name="Zoom &amp;Out"> </command>

        <command defaultHandler="org.mwc.cmap.plotViewer.actions.FitToWindow"
            id="org.mwc.debrief.core.FitToWindow" name="&amp;Fit to window"> </command>

        <command defaultHandler="org.mwc.cmap.plotViewer.actions.Redraw"
            id="org.mwc.debrief.core.Redraw" name="&amp;Redraw"> </command>

        <command defaultHandler="org.mwc.debrief.core.actions.RadioHandler"
            id="org.mwc.debrief.core.RadioHandler" name="Radio">
            <commandParameter id="org.eclipse.ui.commands.radioStateParameter" name="Radio Name"
                optional="false"> </commandParameter>
            <state id="org.eclipse.ui.commands.radioState">
                <class class="org.eclipse.ui.handlers.RadioState">
                    <parameter name="default" value="ZoomIn"> </parameter>
                    <parameter name="persisted" value="false"> </parameter>
                </class>
            </state>
        </command>

        <command defaultHandler="org.mwc.debrief.core.creators.shapes.AutoSelectTarget"
            id="org.mwc.debrief.core.creators.shapes.AutoSelectTarget"
            name="&amp;Manually select target layer">
            <state class="org.eclipse.ui.handlers.RegistryToggleState:true"
                id="org.eclipse.ui.commands.toggleState"> </state>
        </command>

        <command defaultHandler="org.mwc.debrief.core.creators.shapes.InsertArc"
            id="org.mwc.debrief.core.creators.shapes.InsertArc" name="&amp;Arc"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.shapes.InsertCircle"
            id="org.mwc.debrief.core.creators.shapes.InsertCircle" name="&amp;Circle"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.shapes.InsertWheel"
            id="org.mwc.debrief.core.creators.shapes.InsertWheel" name="&amp;Wheel"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.shapes.InsertRangeRings"
            id="org.mwc.debrief.core.creators.shapes.InsertRangeRings" name="&amp;Range Rings"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.shapes.InsertFurthestOnCircles"
            id="org.mwc.debrief.core.creators.shapes.InsertFurthestOnCircles"
            name="&amp;Furthest On Circles"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.shapes.InsertPolygon"
            id="org.mwc.debrief.core.creators.shapes.InsertPolygon" name="&amp;Polygon"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.shapes.InsertEllipse"
            id="org.mwc.debrief.core.creators.shapes.InsertEllipse" name="&amp;Ellipse"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.shapes.InsertRectangle"
            id="org.mwc.debrief.core.creators.shapes.InsertRectangle" name="Recta&amp;ngle"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.shapes.InsertLabel"
            id="org.mwc.debrief.core.creators.shapes.InsertLabel" name="La&amp;bel"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.shapes.InsertLine"
            id="org.mwc.debrief.core.creators.shapes.InsertLine" name="&amp;Line"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.shapes.InsertVector"
            id="org.mwc.debrief.core.creators.shapes.InsertVector" name="&amp;Vector"> </command>

        <command defaultHandler="org.mwc.debrief.core.creators.chartFeatures.InsertTrackSegment"
            id="org.mwc.debrief.core.creators.chartFeatures.InsertTrackSegment"
            name="&amp;Track Segment"> </command>

        <command defaultHandler="org.mwc.cmap.plotViewer.actions.ExportWMF"
            id="org.mwc.cmap.plotViewer.actions.ExportWMF" name="Export WMF"> </command>
        
        <command defaultHandler="org.mwc.cmap.plotViewer.actions.ExportWMFToClipboard"
            id="org.mwc.cmap.plotViewer.actions.ExportWMFToClipboard" name="Export WMF to clipboard">
        </command>

        <command defaultHandler="org.mwc.debrief.core.operations.ExportGPX"
            id="org.mwc.debrief.core.operations.ExportGPX" name="Export GPX"> </command>
    </extension>

    <extension point="org.eclipse.ui.newWizards">
        <wizard category="org.mwc.cmap.core" class="org.mwc.debrief.core.wizards.NewPlotWizard"
            icon="icons/16/plot_file.png" id="org.mwc.debrief.core.wizards.NewPlotWizard"
            name="Debrief Plot"/>
    </extension>
    <extension id="Debrief" point="org.eclipse.core.runtime.products">
        <product application="org.eclipse.ui.ide.workbench"
            description="Debrief Maritime Analysis Software" name="DebriefNG">
            <property name="appName" value="DebriefNG"/>
            <property name="preferenceCustomization" value="plugin_customization.ini"/>
            <property name="introTitle" value="Welcome to DebriefNG (with Charts)"/>
            <property name="introBrandingImage" value="product:icons/icon.png"/>
            <property name="introBrandingImageText"
                value="Debrief, from the Maritime Warfare Centre"/>
            <property name="aboutImage" value="icons/DebriefNGlogoSmall.png"/>
            <property name="startupForegroundColor" value="000000"/>
            <property name="startupMessageRect" value="0,0,0,0"/>
            <property name="startupProgressRect" value="0,0,0,0"/>
            <property name="applicationXMI" value="org.eclipse.platform/LegacyIDE.e4xmi"/>
            <property name="cssTheme" value="org.eclipse.e4.ui.css.theme.e4_default"/>
            <property name="applicationCSSResources"
                value="platform:/plugin/org.eclipse.platform/images/"/>
            <property name="aboutText" value="%aboutText"> </property>
        </product>
    </extension>

    <extension point="org.eclipse.ui.perspectives">
        <perspective class="org.mwc.debrief.core.DebriefPerspectiveFactory"
            icon="icons/16/debrief_icon.png" id="org.mwc.debrief.core.Perspective"
            name="Tactical Analysis"/>
    </extension>

    <extension point="org.eclipse.ui.perspectiveExtensions">
        <perspectiveExtension targetID="org.mwc.debrief.core.Perspective">
{'fraction_non_alphanumeric': 0.1309581712062257, 'fraction_numerical': 0.003931582360570687, 'mean_word_length': 2.3319490867348662, 'pattern_counts': {'":': 0, '<': 1438, '<?xml version=': 2, '>': 1438, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 11}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7367989', 'n_tokens_mistral': 28846, 'n_tokens_neox': 27294, 'n_words': 3381}