Commit 62713fce authored by Dennis Hendriks's avatar Dennis Hendriks
Browse files

#344 Associate an editor and icon with .dsm files.

parent 8152d19f
......@@ -12,5 +12,6 @@ Require-Bundle: org.eclipse.escet.common.dsm;bundle-version="0.6.0",
org.eclipse.escet.common.app.framework;bundle-version="0.6.0",
org.apache.commons.math3;bundle-version="3.6.1",
org.eclipse.core.resources;bundle-version="3.15.0",
org.eclipse.escet.common.eclipse.ui;bundle-version="0.6.0"
org.eclipse.escet.common.eclipse.ui;bundle-version="0.6.0",
org.eclipse.ui.editors;bundle-version="3.14.100"
Export-Package: org.eclipse.escet.common.dsm.app
......@@ -41,7 +41,7 @@
<menuContribution locationURI="popup:org.eclipse.ui.popup.any">
<command
commandId="org.eclipse.escet.common.dsm.app.DsmAppCommandHandler"
icon="icons/cluster_dsm.png"
icon="icons/dsm.png"
label="&amp;Cluster a DSM">
<visibleWhen>
<or>
......@@ -56,4 +56,15 @@
</command>
</menuContribution>
</extension>
<extension point="org.eclipse.ui.editors">
<editor
name="Design Structure Matrix Text Editor"
class="org.eclipse.ui.editors.text.TextEditor"
id="org.eclipse.escet.common.dsm.app.DsmTextEditor"
contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor"
default="true"
extensions="dsm"
icon="icons/dsm.png">
</editor>
</extension>
</plugin>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment