Plugin_JCC/JavaCompilerPlugin/bundles/JavaCompilerPlugin.Plugin/plugin.xml

79 lines
3.1 KiB
XML
Raw Normal View History

2018-12-15 11:33:26 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
2018-12-19 09:38:18 +00:00
<!-- Jav-Editor: -->
2018-12-15 11:33:26 +00:00
<extension
point="org.eclipse.ui.editors">
<editor
class="typinferenzplugin.editor.JavEditor"
contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
default="true"
extensions="jav"
icon="icons/sample.gif"
id="typinferenzplugin.editors.XMLEditor"
name="Java-Typinferenz-Editor">
</editor>
</extension>
2018-12-19 09:38:18 +00:00
<!-- Marker
Tutorial dazu: http://cubussapiens.hu/2011/05/custom-markers-and-annotations-the-bright-side-of-eclipse/
-->
<extension
id="typinferenzplugin.replacemarker"
name="TypeReplaceMarker"
point="org.eclipse.core.resources.markers">
<super type="org.eclipse.core.resources.problemmarker" />
<super type="org.eclipse.core.resources.textmarker" />
</extension>
2018-12-15 11:33:26 +00:00
2018-12-19 09:38:18 +00:00
<!-- Src: http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fextension-points%2Forg_eclipse_ui_editors_annotationTypes.html -->
<extension
2018-12-15 11:33:26 +00:00
point="org.eclipse.ui.editors.annotationTypes">
<type
name="typinferenzplugin.annotation"
markerType="typinferenzplugin.replacemarker"
markerSeverity="1">
</type>
</extension>
<!-- Src: https://stackoverflow.com/questions/2888207/eclipse-plugin-custom-icon-for-a-marker
<extension point="org.eclipse.ui.editors.markerAnnotationSpecification">
<specification
annotationType="typinferenzplugin.annotation"
icon="icons/sample.gif"
verticalRulerPreferenceKey="myMarkerIndicationInVerticalRuler"
verticalRulerPreferenceValue="true"/>
</extension>
-->
<extension
point="org.eclipse.ui.editors.markerAnnotationSpecification">
<specification
annotationType="typinferenzplugin.annotation"
icon="icons/sample.gif"
colorPreferenceKey="org.eclipse.viatra2.slice.color"
colorPreferenceValue="192,255,192"
contributesToHeader="false"
highlightPreferenceKey="org.eclipse.viatra2.slice.highlight"
highlightPreferenceValue="true"
includeOnPreferencePage="true"
label="GTASM Slice Marker"
overviewRulerPreferenceKey="org.eclipse.viatra2.slice.overview"
overviewRulerPreferenceValue="true"
presentationLayer="0"
textPreferenceKey="org.eclipse.viatra2.slice.text"
textPreferenceValue="true"
textStylePreferenceValue="BOX"
verticalRulerPreferenceKey="org.eclipse.viatra2.slice.ruler"
verticalRulerPreferenceValue="true">
</specification>
</extension>
2018-12-19 09:38:18 +00:00
<!-- ExtensionPoint für die QuickFixes der ReplaceMarker Quelle: http://wiki.eclipse.org/FAQ_How_do_I_implement_Quick_Fixes_for_my_own_language%3F -->
<extension point="org.eclipse.ui.ide.markerResolution">
2018-12-15 11:33:26 +00:00
<markerResolutionGenerator
markerType="typinferenzplugin.replacemarker"
class="typinferenzplugin.marker.QuickFixer"/>
</extension>
</plugin>