Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2020-02-12 14:51:05 +0000
committerAlexander Kurtakov2020-02-12 15:24:26 +0000
commitba5aa3034ec224e090086b37ccc2558acb0949c1 (patch)
treee3487c8782ae7e6b7fcad6cde8ff47407ab487cc
parent932c6095358ec0eca5bd16d591c1174ae7f2df36 (diff)
downloadeclipse.platform.team-I20200215-0600.tar.gz
eclipse.platform.team-I20200215-0600.tar.xz
eclipse.platform.team-I20200215-0600.zip
Bind patch and diff files to generic editor. Change-Id: I7236fafd158d6b8cd6181f1a0b7c7d8cc3776c76 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--bundles/org.eclipse.team.genericeditor.diff.extension/META-INF/MANIFEST.MF5
-rw-r--r--bundles/org.eclipse.team.genericeditor.diff.extension/plugin.xml8
-rw-r--r--bundles/org.eclipse.team.genericeditor.diff.extension/pom.xml2
3 files changed, 11 insertions, 4 deletions
diff --git a/bundles/org.eclipse.team.genericeditor.diff.extension/META-INF/MANIFEST.MF b/bundles/org.eclipse.team.genericeditor.diff.extension/META-INF/MANIFEST.MF
index 89e3b109b..1c1d71ea4 100644
--- a/bundles/org.eclipse.team.genericeditor.diff.extension/META-INF/MANIFEST.MF
+++ b/bundles/org.eclipse.team.genericeditor.diff.extension/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.team.genericeditor.diff.extension;singleton:=true
-Bundle-Version: 1.0.500.qualifier
+Bundle-Version: 1.0.600.qualifier
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
@@ -11,7 +11,8 @@ Require-Bundle: org.eclipse.ui.workbench.texteditor;bundle-version="[3.10.100,4.
org.eclipse.core.filebuffers,
org.eclipse.jface.text;bundle-version="[3.11.100,4.0.0)",
org.eclipse.ui;bundle-version="[3.109.0,4.0.0)",
- org.eclipse.core.contenttype
+ org.eclipse.core.contenttype,
+ org.eclipse.ui.genericeditor
Export-Package: org.eclipse.team.internal.genericeditor.diff.extension.partitioner;x-internal:=true,
org.eclipse.team.internal.genericeditor.diff.extension.presentation;x-internal:=true,
org.eclipse.team.internal.genericeditor.diff.extension.rules;x-internal:=true
diff --git a/bundles/org.eclipse.team.genericeditor.diff.extension/plugin.xml b/bundles/org.eclipse.team.genericeditor.diff.extension/plugin.xml
index 12013bcf1..ddb35fef1 100644
--- a/bundles/org.eclipse.team.genericeditor.diff.extension/plugin.xml
+++ b/bundles/org.eclipse.team.genericeditor.diff.extension/plugin.xml
@@ -19,6 +19,12 @@
contentType="org.eclipse.team.genericeditor.diff.extension.patch">
</presentationReconciler>
</extension>
+ <extension point="org.eclipse.ui.editors">
+ <editorContentTypeBinding
+ contentTypeId="org.eclipse.team.genericeditor.diff.extension.patch"
+ editorId="org.eclipse.ui.genericeditor.GenericEditor">
+ </editorContentTypeBinding>
+ </extension>
<extension
point="org.eclipse.core.filebuffers.documentSetup">
<participant
@@ -31,7 +37,7 @@
point="org.eclipse.core.contenttype.contentTypes">
<content-type
base-type="org.eclipse.core.runtime.text"
- file-extensions="diff,patch"
+ file-extensions="patch,diff"
id="org.eclipse.team.genericeditor.diff.extension.patch"
name="%patch_ContentTypeName"
priority="normal">
diff --git a/bundles/org.eclipse.team.genericeditor.diff.extension/pom.xml b/bundles/org.eclipse.team.genericeditor.diff.extension/pom.xml
index 45e399a60..3a1fe5fd1 100644
--- a/bundles/org.eclipse.team.genericeditor.diff.extension/pom.xml
+++ b/bundles/org.eclipse.team.genericeditor.diff.extension/pom.xml
@@ -19,6 +19,6 @@
</parent>
<groupId>org.eclipse.team</groupId>
<artifactId>org.eclipse.team.genericeditor.diff.extension</artifactId>
- <version>1.0.500-SNAPSHOT</version>
+ <version>1.0.600-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>

Back to the top