Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornitind2008-01-17 05:24:43 +0000
committernitind2008-01-17 05:24:43 +0000
commit4ebb3c3e48119737e0e0aa964fb589216fcaefd2 (patch)
treeef7d140b6bddb06c92ab3b0ff8dbb6768b343f29
parent187c1657b57d9ce97e2c6320186d76c71fa7025e (diff)
downloadwebtools.sourceediting-4ebb3c3e48119737e0e0aa964fb589216fcaefd2.tar.gz
webtools.sourceediting-4ebb3c3e48119737e0e0aa964fb589216fcaefd2.tar.xz
webtools.sourceediting-4ebb3c3e48119737e0e0aa964fb589216fcaefd2.zip
[215614] Support custom task marker types for each language
-rw-r--r--bundles/org.eclipse.jst.jsp.core/plugin.properties1
-rw-r--r--bundles/org.eclipse.jst.jsp.core/plugin.xml9
2 files changed, 9 insertions, 1 deletions
diff --git a/bundles/org.eclipse.jst.jsp.core/plugin.properties b/bundles/org.eclipse.jst.jsp.core/plugin.properties
index d52809e15f..f6fdf1e85b 100644
--- a/bundles/org.eclipse.jst.jsp.core/plugin.properties
+++ b/bundles/org.eclipse.jst.jsp.core/plugin.properties
@@ -22,6 +22,7 @@ EL_Syntax_Validator.name=EL Syntax Validator
JSP_Content_Validator.name=JSP Content Validator
Structured_JSP_Document_Setup_participant.name=Structured JSP Document Setup Participant
_validationMarker.name=JSP Problem
+_taskMarker.name=JSP Task
extension-point.name.0 = JSP EL Translator
diff --git a/bundles/org.eclipse.jst.jsp.core/plugin.xml b/bundles/org.eclipse.jst.jsp.core/plugin.xml
index 144e2f8d9a..1e35f85da7 100644
--- a/bundles/org.eclipse.jst.jsp.core/plugin.xml
+++ b/bundles/org.eclipse.jst.jsp.core/plugin.xml
@@ -31,9 +31,16 @@
<extension point="org.eclipse.wst.sse.core.taskscanner">
<scanner
id="org.eclipse.jst.jsp.core.internal.tasks.JSPFileTaskScanner"
- class="org.eclipse.jst.jsp.core.internal.tasks.JSPFileTaskScanner"
+ class="org.eclipse.jst.jsp.core.internal.tasks.JSPFileTaskScanner:org.eclipse.jst.jsp.core.taskMarker"
contentTypeIds="org.eclipse.jst.jsp.core.jspsource" />
</extension>
+ <extension
+ id="taskMarker"
+ name="%_taskMarker.name"
+ point="org.eclipse.core.resources.markers">
+ <super type="org.eclipse.wst.sse.core.task"/>
+ <persistent value="true"/>
+ </extension>
<extension
point="org.eclipse.core.filebuffers.documentCreation"

Back to the top