| <?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.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.ocl.examples.debug.vm.ui.actions.VMBreakpointPropertiesRulerActionDelegate" |
| 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.ocl.examples.debug.vm.VMBreakpoint"> |
| <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> |