blob: be043125cf41cef9d6cbd18af8087c91455cdc58 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<!--
Copyright (c) 2016, 2019 Chalmers | University of Gothenburg, rt-labs and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v20.html
SPDX-License-Identifier: EPL-2.0
Contributors:
Chalmers | University of Gothenburg and rt-labs - initial API and implementation and/or initial documentation
Chalmers | University of Gothenburg - additional features, updated API
-->
<plugin>
<extension
point="org.eclipse.ui.ide.markerResolution">
<markerResolutionGenerator
class="org.eclipse.capra.ui.notification.MarkerResolutionGenerator"
markerType="org.eclipse.capra.ui.notification.capraProblemMarker">
</markerResolutionGenerator>
</extension>
<extension
id="org.eclipse.capra.ui.notification.capraProblemMarker"
name="%extension.name"
point="org.eclipse.core.resources.markers">
<super
type="org.eclipse.core.resources.problemmarker">
</super>
<persistent
value="true">
</persistent>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
allPopups="false"
locationURI="toolbar:org.eclipse.ui.main.toolbar">
<toolbar
id="org.eclipse.capra.ui.notification.checkArtifactExistence"
label="Check if linked artifacts exist">
<command
commandId="org.eclipse.capra.ui.notification.command.checkArtifactExistence"
icon="icons/check_artifact_existence.png"
label="Check if linked artifacts exist"
style="push"
tooltip="Checks if the artifacts that are the origins or the targets of trace links exists. Creates problem markers for all links in which artifacts cannot be found.">
</command>
</toolbar>
</menuContribution>
</extension>
<extension
point="org.eclipse.ui.commands">
<command
categoryId="org.eclipse.capra.ui.commands.category"
defaultHandler="org.eclipse.capra.ui.notification.CheckArtifactExistenceHandler"
id="org.eclipse.capra.ui.notification.command.checkArtifactExistence"
name="Check if linked artifacts exist">
</command>
</extension>
</plugin>