blob: d36dee2a758ceb6c1207470d61033b2742e152fc [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
<extension point="org.eclipse.core.runtime.adapters">
<factory class="org.eclipse.qvtd.debug.ui.actions.QVTiRetargettableActionAdapterFactory"
adaptableType="org.eclipse.qvtd.xtext.qvtimperative.ui.QVTimperativeEditor">
<adapter type="org.eclipse.debug.ui.actions.IToggleBreakpointsTarget"/>
<adapter type="org.eclipse.debug.ui.actions.IRunToLineTarget"/>
</factory>
</extension>
<extension point="org.eclipse.ui.commands">
<command id="org.eclipse.qvtd.debug.ui.EnableDisableBreakpointCommand"
name="%EnableBreakpoint.label" description="%EnableBreakpoint.description"/>
<command id="org.eclipse.qvtd.debug.ui.AddRemoveBreakpointCommand"
name="%AddBreakpoint.label" description="%AddBreakpoint.description"/>
<command id="org.eclipse.qvtd.debug.ui.QVTiBreakpointPropertiesCommand"
name="%QVTiBreakpointProperties.label" description="%QVTiBreakpointProperties.description"/>
<!--command id="org.eclipse.qvtd.debug.ui.RunToLineCommand"
name="%RunToLine.label" description="%RunToLine.description"/-->
</extension>
<extension point="org.eclipse.ui.handlers">
<handler commandId="org.eclipse.qvtd.debug.ui.EnableDisableBreakpointCommand"
class="org.eclipse.ocl.examples.debug.vm.ui.actions.VMEnableDisableBreakpointHandler"/>
<handler commandId="org.eclipse.qvtd.debug.ui.AddRemoveBreakpointCommand"
class="org.eclipse.ocl.examples.debug.vm.ui.actions.VMToggleBreakpointHandler"/>
<handler commandId="org.eclipse.qvtd.debug.ui.QVTiBreakpointPropertiesCommand"
class="org.eclipse.ocl.examples.debug.vm.ui.actions.VMBreakpointPropertiesHandler"/>
<!--handler commandId="org.eclipse.qvtd.debug.ui.RunToLineCommand"
Since I have never used this for JDT, I cannot justofy spending time making it work for OCL
class="org.eclipse.ocl.examples.debug.vm.ui.actions.VMRunToLineHandler"/-->
</extension>
<extension point="org.eclipse.ui.menus">
<menuContribution locationURI="popup:#QVTcoreRulerContext?after=additions">
<command commandId="org.eclipse.qvtd.debug.ui.EnableDisableBreakpointCommand"
label="%EnableBreakpoint.label"/>
<command commandId="org.eclipse.qvtd.debug.ui.AddRemoveBreakpointCommand"
label="%AddBreakpoint.label" icon="icons/brkp_obj.gif"/>
<command commandId="org.eclipse.qvtd.debug.ui.QVTiBreakpointPropertiesCommand"
label="%QVTiBreakpointProperties.label"/>
</menuContribution>
<menuContribution locationURI="popup:#QVTimperativeRulerContext?after=additions">
<command commandId="org.eclipse.qvtd.debug.ui.EnableDisableBreakpointCommand"
label="%EnableBreakpoint.label"/>
<command commandId="org.eclipse.qvtd.debug.ui.AddRemoveBreakpointCommand"
label="%AddBreakpoint.label" icon="icons/brkp_obj.gif"/>
<command commandId="org.eclipse.qvtd.debug.ui.QVTiBreakpointPropertiesCommand"
label="%QVTiBreakpointProperties.label"/>
</menuContribution>
<menuContribution locationURI="popup:#QVTrelationRulerContext?after=additions">
<command commandId="org.eclipse.qvtd.debug.ui.EnableDisableBreakpointCommand"
label="%EnableBreakpoint.label"/>
<command commandId="org.eclipse.qvtd.debug.ui.AddRemoveBreakpointCommand"
label="%AddBreakpoint.label" icon="icons/brkp_obj.gif"/>
<command commandId="org.eclipse.qvtd.debug.ui.QVTiBreakpointPropertiesCommand"
label="%QVTiBreakpointProperties.label"/>
</menuContribution>
</extension>
<!--extension point="org.eclipse.ui.popupMenus">
<viewerContribution id="org.eclipse.qvtd.debug.ui.QVTiEditorRulerPopupActions"
targetID="#TextRulerContext">
<action id="org.eclipse.qvtd.debug.ui.RulerEnableDisableBreakpointActionDelegate"
label="%EnableBreakpoint.label"
class="org.eclipse.debug.ui.actions.RulerEnableDisableBreakpointActionDelegate"
menubarPath="debug"/>
<action id="org.eclipse.debug.ui.BreakpointRulerActionDelegate"
label="%AddBreakpoint.label"
class="org.eclipse.debug.ui.actions.RulerToggleBreakpointActionDelegate"
menubarPath="debug"
icon="icons/brkp_obj.gif"/>
<action id="org.eclipse.qvtd.debug.ui.QVTiBreakpointPropertiesRulerAction"
class="org.eclipse.qvtd.debug.ui.actions.QVTiBreakpointPropertiesRulerActionDelegate"
label="%QVTiBreakpointProperties.label"
menubarPath="group.properties"/>
</viewerContribution>
<viewerContribution id="org.eclipse.qvtd.debug.ui.QVTiEditorRunToLine"
targetID="#TextEditorContext">
<action id="org.eclipse.qvtd.debug.ui.actions.RunToLineAction"
class="org.eclipse.debug.ui.actions.RunToLineActionDelegate"
label="%RunToLine.label"
definitionId="org.eclipse.debug.ui.commands.RunToLine"
menubarPath="additions"/>
<visibility>
<systemProperty
name="org.eclipse.qvtd.debug.debuggerActive"
value="true"/>
</visibility>
</viewerContribution>
<viewerContribution
id="org.eclipse.qvtd.debug.ui.QVTiEditorWatch"
targetID="#TextEditorContext">
<action
class="org.eclipse.m2m.internal.qvt.oml.debug.ui.actions.QVTiWatchAction"
label="%watch"
enablesFor="+"
icon="icons/watch_exp_enabled.gif"
id="org.eclipse.qvtd.debug.ui.actions.WatchAction"
menubarPath="additions">
<enablement>
<and>
<systemProperty
name="org.eclipse.qvtd.debug.debuggerActive"
value="true"/>
<objectClass name="org.eclipse.jface.text.ITextSelection"/>
</and>
</enablement>
</action>
<visibility>
<and>
<systemProperty
name="org.eclipse.qvtd.debug.debuggerActive"
value="true"/>
<objectClass name="org.eclipse.jface.text.ITextSelection"/>
</and>
</visibility>
</viewerContribution>
<objectContribution id="org.eclipse.qvtd.debug.ui.QVTiBreakpointObjectActions"
objectClass="org.eclipse.qvtd.debug.QVTiBreakpoint">
<action id="org.eclipse.qvtd.debug.ui.actions.QVTiBreakpointProperties"
class="org.eclipse.qvtd.debug.ui.actions.QVTiBreakpointPropertiesAction"
enablesFor="1"
label="%QVTiBreakpointProperties.label"
menubarPath="additions"/>
</objectContribution>
</extension-->
<extension point="org.eclipse.ui.editorActions">
<editorContribution id="org.eclipse.debug.ui.QVTiBreakpointRulerActions"
targetID="org.eclipse.qvtd.xtext.qvtimperative.QVTimperative">
<action id="org.eclipse.qvtd.debug.ui.actions.RulerToggleBreakpointAction"
label="%AddBreakpoint.label"
class="org.eclipse.debug.ui.actions.RulerToggleBreakpointActionDelegate"
actionID="RulerDoubleClick"/>
</editorContribution>
</extension>
<extension point="org.eclipse.ui.propertyPages">
<page
name="%QVTiBreakpointPropertiesPage.name"
class="org.eclipse.qvtd.debug.ui.pages.QVTiLineBreakpointPage"
id="org.eclipse.qvtd.debug.ui.propertypages.LineBreakpoints">
<enabledWhen>
<or>
<instanceof
value="org.eclipse.qvtd.debug.core.QVTiLineBreakpoint">
</instanceof>
<adapt
type="org.eclipse.qvtd.debug.core.QVTiLineBreakpoint">
</adapt>
</or>
</enabledWhen>
</page>
</extension>
<extension point="org.eclipse.debug.ui.debugModelPresentations">
<debugModelPresentation id="org.eclipse.qvtd.debug"
class="org.eclipse.qvtd.debug.ui.pages.QVTiDebugModelPresentation"/>
</extension>
<extension point="org.eclipse.debug.ui.debugModelContextBindings">
<modelContextBinding
contextId="org.eclipse.debug.ui.debugging"
debugModelId="org.eclipse.qvtd.debug"/>
</extension>
<extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
<launchConfigurationTypeImage
configTypeID="org.eclipse.qvtd.debug.launching.QVTcLaunchConfigurationDelegate"
icon="icons/QVTcModelFile.gif"
id="QVTc Debug"/>
<launchConfigurationTypeImage
configTypeID="org.eclipse.qvtd.debug.launching.QVTiLaunchConfigurationDelegate"
icon="icons/QVTiModelFile.gif"
id="QVTi Debug"/>
<launchConfigurationTypeImage
configTypeID="org.eclipse.qvtd.debug.launching.QVTrLaunchConfigurationDelegate"
icon="icons/QVTrModelFile.gif"
id="QVTr Debug"/>
</extension>
<extension point="org.eclipse.debug.ui.launchConfigurationTabGroups">
<launchConfigurationTabGroup id="org.eclipse.qvtd.debug.launching.QVTcLaunchConfigurationTabGroup"
class="org.eclipse.qvtd.debug.ui.launching.QVTcLaunchConfigurationTabGroup"
description="Create a configuration to launch a QVTc (Core) transformation"
type="org.eclipse.qvtd.debug.launching.QVTcLaunchConfigurationDelegate"/>
<launchConfigurationTabGroup id="org.eclipse.qvtd.debug.launching.QVTiLaunchConfigurationTabGroup"
class="org.eclipse.qvtd.debug.ui.launching.QVTiLaunchConfigurationTabGroup"
description="Create a configuration to launch a QVTi (Imperative) transformation"
type="org.eclipse.qvtd.debug.launching.QVTiLaunchConfigurationDelegate"/>
<launchConfigurationTabGroup id="org.eclipse.qvtd.debug.launching.QVTrLaunchConfigurationTabGroup"
class="org.eclipse.qvtd.debug.ui.launching.QVTrLaunchConfigurationTabGroup"
description="Create a configuration to launch a QVTr (Relations) transformation"
type="org.eclipse.qvtd.debug.launching.QVTrLaunchConfigurationDelegate"/>
</extension>
<extension point="org.eclipse.debug.core.launchDelegates">
<launchDelegate id="org.eclipse.qvtd.debug.ui.DebugLaunchDelegate"
delegate="org.eclipse.qvtd.debug.launching.QVTiVMLaunchConfigurationDelegate"
modes="debug"
name="QVTi Transformation Debug"
sourceLocatorId="org.eclipse.qvtd.debug.srclookup.QVTiSourceLookupDirector"
sourcePathComputerId="org.eclipse.qvtd.debug.srclookup.QVTiSourcePathComputer"
type="org.eclipse.qvtd.debug.launching.QVTiLaunchConfigurationDelegate">
<modeCombination modes="debug" perspective="org.eclipse.debug.ui.DebugPerspective"/>
</launchDelegate>
</extension>
<!--extension point="org.eclipse.ui.views">
<category id="org.eclipse.qvtd.debug"
name="%qvtiCategoryName"/>
<view id="org.eclipse.qvtd.debug.ui.views.trace"
category="org.eclipse.m2m.qvt.oml"
class="org.eclipse.m2m.internal.qvt.oml.debug.ui.views.TraceViewPart"
icon="icons/trace-view.gif"
name="%traceView"/>
</extension>
<extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="org.eclipse.debug.ui.DebugPerspective">
<view id="org.eclipse.qvtd.debug.ui.views.trace"
minimized="false"
relationship="stack"
relative="org.eclipse.debug.ui.VariableView"
visible="true">
</view>
</perspectiveExtension>
</extension-->
</plugin>