Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael Istria2016-10-13 18:02:37 +0000
committerMickael Istria2016-10-14 08:24:01 +0000
commitda54f96015b05dab151abff845f23306c368605c (patch)
tree5bb4d01aa714b97088604e55ccabb80f33ce1bb3
parent4e0ccc65bc342e12a6b0de55d9b4bbca90ed5179 (diff)
downloadeclipse.platform.text-da54f96015b05dab151abff845f23306c368605c.tar.gz
eclipse.platform.text-da54f96015b05dab151abff845f23306c368605c.tar.xz
eclipse.platform.text-da54f96015b05dab151abff845f23306c368605c.zip
Bug 502837 - ext point allow binding existing editor and content-type
Example of usage. Change-Id: I6a3d4288ce614cdf87bcab5cf6bcf980f04ce285 Signed-off-by: Mickael Istria <mistria@redhat.com>
-rw-r--r--org.eclipse.ui.genericeditor.examples/plugin.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/org.eclipse.ui.genericeditor.examples/plugin.xml b/org.eclipse.ui.genericeditor.examples/plugin.xml
index 6f8a30a50..245f1019d 100644
--- a/org.eclipse.ui.genericeditor.examples/plugin.xml
+++ b/org.eclipse.ui.genericeditor.examples/plugin.xml
@@ -43,5 +43,12 @@
contentType="org.eclipse.ui.genericeditor.examples.dotproject">
</presentationReconciler>
</extension>
+ <extension
+ point="org.eclipse.ui.editors">
+ <editorContentTypeBinding
+ contentTypeId="org.eclipse.ui.genericeditor.examples.dotproject"
+ editorId="org.eclipse.ui.genericeditor.GenericEditor">
+ </editorContentTypeBinding>
+ </extension>
</plugin>

Back to the top