Skip to content

Commit

Permalink
added Denny's launcher contributions.
Browse files Browse the repository at this point in the history
added keybinding support for the launcher.

git-svn-id: https://mxunit.googlecode.com/svn/org.mxunit.eclipseplugin/trunk@1688 f92dd5c0-c831-0410-92f9-1b6876b37263
  • Loading branch information
marc.esher committed Mar 23, 2011
1 parent 8bc485b commit b3a54e5
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .project
Expand Up @@ -22,7 +22,7 @@
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
</natures>
</projectDescription>
2 changes: 1 addition & 1 deletion META-INF/MANIFEST.MF
Expand Up @@ -6,7 +6,7 @@ Bundle-Activator: org.mxunit.eclipseplugin.MXUnitPlugin
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Bundle-ActivationPolicy: lazy
Bundle-Version: 1.4.0.qualifier
Bundle-Version: 1.4.1.qualifier
Bundle-ClassPath: bin/,
.,
lib/axis.jar,
Expand Down
45 changes: 40 additions & 5 deletions plugin.xml
Expand Up @@ -64,7 +64,7 @@
style="push"
toolbarPath="normal/additions"
tooltip="Open the MXUnit view"
helpContextId="mxunit_view"/>
helpContextId="mxunit_view" />
</actionSet>
</extension>

Expand All @@ -81,7 +81,7 @@
icon="icons/mxunit.png"
menubarPath="additions"
class="org.mxunit.eclipseplugin.actions.delegates.RunSelectedResourceActionDelegate"
definitionId="org.mxunit.eclipseplugin.actions.RunSelectedResourceAction"
definitionId="marcrocks"
enablesFor="+">
</action>
</objectContribution>
Expand All @@ -96,7 +96,7 @@
icon="icons/mxunit.png"
menubarPath="additions"
class="org.mxunit.eclipseplugin.actions.delegates.RunSelectedResourceActionDelegate"
definitionId="org.mxunit.eclipseplugin.actions.RunSelectedResourceAction2"
definitionId="marcrocks"
enablesFor="+">
</action>
</objectContribution>
Expand Down Expand Up @@ -124,7 +124,7 @@

<extension point="org.eclipse.debug.ui.launchShortcuts">
<shortcut
id="org.mxunit.eclipseplugin.Launcher"
id="org.mxunit.eclipseplugin.Launcher1"
modes="run,debug"
class="org.mxunit.eclipseplugin.launch.Launcher"
label="Run MXUnit Tests"
Expand All @@ -143,7 +143,7 @@
</contextualLaunch>
</shortcut>
<shortcut
id="org.mxunit.eclipseplugin.Launcher"
id="org.mxunit.eclipseplugin.Launcher2"
modes="run,debug"
class="org.mxunit.eclipseplugin.launch.Launcher"
label="Run MXUnit Test"
Expand All @@ -163,5 +163,40 @@
</contextualLaunch>
</shortcut>
</extension>

<extension point="org.eclipse.ui.commands">
<command
name="Launch MXUnit Test"
description="Launch MXUnit Test"
categoryId="org.eclipse.debug.ui.category.run"
id="org.mxunit.eclipseplugin.Launcher1.run">
</command>

<command
id="marcrocks"
name="marcrocks">
</command>

</extension>
<extension
point="org.eclipse.ui.bindings">
<key
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M3+M2+X M"
commandId="org.mxunit.eclipseplugin.Launcher1.run">
</key>
<key
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+7"
commandId="marcrocks">
</key>



</extension>



</plugin>
1 change: 1 addition & 0 deletions src/org/mxunit/eclipseplugin/views/MXUnitView.java
Expand Up @@ -610,6 +610,7 @@ private void fillLocalPullDown(IMenuManager manager) {
* the toolbar manager
*/
private void fillLocalToolBar(IToolBarManager manager) {
manager.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));
manager.add(filterFailuresAction);
manager.add(new Separator());
manager.add(componentSearchAction);
Expand Down

0 comments on commit b3a54e5

Please sign in to comment.