2014-07-31 04:56:12 -07:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2014-09-19 00:43:07 -07:00
|
|
|
<!--
|
|
|
|
Copyright 2014 Alexey Andreev.
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
2014-07-31 04:56:12 -07:00
|
|
|
<?eclipse version="3.0"?>
|
2014-07-31 09:01:56 -07:00
|
|
|
<plugin>
|
2014-07-31 04:56:12 -07:00
|
|
|
<extension point="org.eclipse.debug.core.launchConfigurationTypes">
|
|
|
|
<launchConfigurationType
|
2014-09-19 12:00:35 -07:00
|
|
|
sourceLocatorId="teavm-eclipse-plugin.debugger.sourceLookup"
|
2014-07-31 04:56:12 -07:00
|
|
|
name="TeaVM remote"
|
2014-09-19 12:00:35 -07:00
|
|
|
sourcePathComputerId="teavm-eclipse-plugin.debugger.sourcePath"
|
2014-07-31 04:56:12 -07:00
|
|
|
delegate="org.teavm.eclipse.debugger.TeaVMLaunchConfigurationDelegate"
|
|
|
|
modes="debug"
|
2014-09-19 12:00:35 -07:00
|
|
|
id="teavm-eclipse-plugin.debugger.launchConfig">
|
2014-07-31 04:56:12 -07:00
|
|
|
</launchConfigurationType>
|
|
|
|
</extension>
|
|
|
|
<extension point="org.eclipse.debug.core.sourceLocators">
|
|
|
|
<sourceLocator
|
|
|
|
name="TeaVM Source Lookup Director"
|
|
|
|
class="org.teavm.eclipse.debugger.TeaVMSourceLookupDirector"
|
2014-09-19 12:00:35 -07:00
|
|
|
id="teavm-eclipse-plugin.debugger.sourceLookup">
|
2014-07-31 04:56:12 -07:00
|
|
|
</sourceLocator>
|
|
|
|
</extension>
|
2014-07-31 09:01:56 -07:00
|
|
|
<extension point="org.eclipse.debug.core.sourcePathComputers">
|
|
|
|
<sourcePathComputer
|
|
|
|
class="org.teavm.eclipse.debugger.TeaVMSourcePathComputerDelegate"
|
2014-09-19 12:00:35 -07:00
|
|
|
id="teavm-eclipse-plugin.debugger.sourcePath">
|
2014-07-31 09:01:56 -07:00
|
|
|
</sourcePathComputer>
|
|
|
|
</extension>
|
2014-07-31 04:56:12 -07:00
|
|
|
<extension point="org.eclipse.debug.ui.launchConfigurationTabGroups">
|
|
|
|
<launchConfigurationTabGroup
|
2014-09-19 12:00:35 -07:00
|
|
|
type="teavm-eclipse-plugin.debugger.launchConfig"
|
2014-07-31 04:56:12 -07:00
|
|
|
description="Debug TeaVM program"
|
|
|
|
class="org.teavm.eclipse.debugger.ui.TeaVMTabGroup"
|
2014-09-19 12:00:35 -07:00
|
|
|
id="teavm-eclipse-plugin.debugger.ui.tabs">
|
2014-07-31 04:56:12 -07:00
|
|
|
</launchConfigurationTabGroup>
|
|
|
|
</extension>
|
2014-08-31 01:36:44 -07:00
|
|
|
<extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
|
|
|
|
<launchConfigurationTypeImage
|
2014-09-19 12:00:35 -07:00
|
|
|
id="teavm-eclipse-plugin.debugger.ui.launchConfigIcon"
|
|
|
|
configTypeID="teavm-eclipse-plugin.debugger.launchConfig"
|
2014-08-31 01:36:44 -07:00
|
|
|
icon="teavm-16.png">
|
|
|
|
</launchConfigurationTypeImage>
|
|
|
|
</extension>
|
2014-07-31 09:01:56 -07:00
|
|
|
<extension point="org.eclipse.debug.ui.debugModelPresentations">
|
|
|
|
<debugModelPresentation
|
2014-08-14 01:20:23 -07:00
|
|
|
class="org.teavm.eclipse.debugger.ui.TeaVMDebugModelPresentation"
|
2014-09-19 12:00:35 -07:00
|
|
|
id="teavm-eclipse-plugin.debugger">
|
2014-07-31 09:01:56 -07:00
|
|
|
</debugModelPresentation>
|
|
|
|
</extension>
|
2014-09-13 13:45:10 -07:00
|
|
|
|
|
|
|
<extension point="org.eclipse.core.resources.natures" id="nature" name="TeaVM nature">
|
|
|
|
<runtime>
|
|
|
|
<run class="org.teavm.eclipse.TeaVMProjectNature"/>
|
|
|
|
</runtime>
|
2014-09-19 12:00:35 -07:00
|
|
|
<builder id="teavm-eclipse-plugin.builder"/>
|
2014-09-13 13:45:10 -07:00
|
|
|
</extension>
|
|
|
|
<extension point="org.eclipse.ui.propertyPages">
|
2014-09-19 12:00:35 -07:00
|
|
|
<page id="teavm-eclipse-plugin.projectProperties" name="TeaVM" class="org.teavm.eclipse.ui.TeaVMProjectPropertyPage">
|
2014-09-14 09:08:31 -07:00
|
|
|
<enabledWhen>
|
|
|
|
<or>
|
|
|
|
<instanceof value="org.eclipse.core.resources.IProject"/>
|
|
|
|
<instanceof value="org.eclipse.jdt.core.IJavaProject"/>
|
|
|
|
</or>
|
|
|
|
</enabledWhen>
|
2014-09-13 13:45:10 -07:00
|
|
|
</page>
|
|
|
|
</extension>
|
2014-09-15 01:13:27 -07:00
|
|
|
<extension point="org.eclipse.core.resources.builders" id="builder" name="TeaVM builder">
|
|
|
|
<builder hasNature="true">
|
2014-09-17 13:02:44 -07:00
|
|
|
<run class="org.teavm.eclipse.TeaVMProjectBuilder"/>
|
2014-09-15 01:13:27 -07:00
|
|
|
</builder>
|
|
|
|
</extension>
|
2014-09-15 10:21:25 -07:00
|
|
|
|
2015-01-18 07:06:21 -08:00
|
|
|
<extension id="problemMarker" point="org.eclipse.core.resources.markers" name="TeaVM problem">
|
2014-09-15 10:21:25 -07:00
|
|
|
<super type="org.eclipse.core.resources.problemmarker"/>
|
2014-09-18 09:40:33 -07:00
|
|
|
<persistent value="true"/>
|
2014-09-15 10:21:25 -07:00
|
|
|
<attribute name="severity"/>
|
|
|
|
<attribute name="message"/>
|
|
|
|
<attribute name="lineNumber"/>
|
2015-01-18 07:06:21 -08:00
|
|
|
<attribute name="teavm-eclipse-plugin.problemMarker.project"/>
|
2015-01-18 07:20:42 -08:00
|
|
|
<attribute name="teavm-eclipse-plugin.problemMarker.profile"/>
|
2014-09-18 09:40:33 -07:00
|
|
|
</extension>
|
|
|
|
<extension id="configMarker" point="org.eclipse.core.resources.markers" name="TeaVM configuration problem">
|
|
|
|
<super type="org.eclipse.core.resources.problemmarker"/>
|
|
|
|
<persistent value="true"/>
|
|
|
|
<attribute name="severity"/>
|
|
|
|
<attribute name="message"/>
|
|
|
|
</extension>
|
2014-09-14 09:08:31 -07:00
|
|
|
</plugin>
|