Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael Istria2016-06-22 13:25:11 +0000
committerDani Megert2016-09-26 10:33:12 +0000
commitae146da17062d199167360e47eae3fab596e31f0 (patch)
treeaeded078a5854d06145edd6b6f561e74f36d3abe /org.eclipse.ui.genericeditor.examples/plugin.xml
parent5bcb7ac5045743f9ec17895a9a12318dd90ea4cb (diff)
downloadeclipse.platform.text-ae146da17062d199167360e47eae3fab596e31f0.tar.gz
eclipse.platform.text-ae146da17062d199167360e47eae3fab596e31f0.tar.xz
eclipse.platform.text-ae146da17062d199167360e47eae3fab596e31f0.zip
Bug 499811 - .project edition contributing to Generic Editor
This is an example of a usable and feature rich editor for .project files which contributes to the Generic Editor proposal. Bug: 499811 Bug: 497871 Signed-off-by: Mickael Istria <mistria@redhat.com> Signed-off-by: Sopot Cela <scela@redhat.com> Change-Id: I131e00cbca566e3dc2413c7b5db8c9d724b46bfb
Diffstat (limited to 'org.eclipse.ui.genericeditor.examples/plugin.xml')
-rw-r--r--org.eclipse.ui.genericeditor.examples/plugin.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/org.eclipse.ui.genericeditor.examples/plugin.xml b/org.eclipse.ui.genericeditor.examples/plugin.xml
new file mode 100644
index 000000000..2b809c171
--- /dev/null
+++ b/org.eclipse.ui.genericeditor.examples/plugin.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+ <extension
+ point="org.eclipse.core.contenttype.contentTypes">
+ <content-type
+ base-type="org.eclipse.core.runtime.text"
+ file-names=".project"
+ id="dotproject"
+ name="Eclipse .project"
+ priority="normal">
+ </content-type>
+ </extension>
+ <extension
+ point="org.eclipse.ui.genericeditor.contentAssistProcessors">
+ <contentAssistProcessor
+ class="org.eclipse.ui.genericeditor.examples.dotproject.NaturesAndProjectsContentAssistProcessor"
+ contentType="org.eclipse.ui.genericeditor.examples.dotproject">
+ </contentAssistProcessor>
+ </extension>
+ <extension
+ point="org.eclipse.ui.genericeditor.hoverProviders">
+ <hoverProvider
+ class="org.eclipse.ui.genericeditor.examples.dotproject.NatureLabelHoverProvider"
+ contentType="org.eclipse.ui.genericeditor.examples.dotproject"
+ id="natureLabelHoverProvider">
+ </hoverProvider>
+ </extension>
+ <extension
+ point="org.eclipse.ui.genericeditor.presentationReconcilers">
+ <presentationReconciler
+ class="org.eclipse.ui.genericeditor.examples.dotproject.BlueTagsPresentationReconciler"
+ contentType="org.eclipse.ui.genericeditor.examples.dotproject">
+ </presentationReconciler>
+ </extension>
+
+</plugin>

Back to the top