Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.debug.ui/plugin.xml3
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/LaunchablePropertyTester.java6
2 files changed, 6 insertions, 3 deletions
diff --git a/org.eclipse.debug.ui/plugin.xml b/org.eclipse.debug.ui/plugin.xml
index 82a78e141..4b2033070 100644
--- a/org.eclipse.debug.ui/plugin.xml
+++ b/org.eclipse.debug.ui/plugin.xml
@@ -883,6 +883,7 @@
id="org.eclipse.debug.ui.contextualLaunch.profile.submenu">
</action>
<enablement>
+ <adapt type="org.eclipse.debug.ui.actions.ILaunchable"/>
<test property="org.eclipse.debug.ui.launchable" value="profile"/>
</enablement>
</objectContribution>
@@ -898,6 +899,7 @@
id="org.eclipse.debug.ui.contextualLaunch.debug.submenu">
</action>
<enablement>
+ <adapt type="org.eclipse.debug.ui.actions.ILaunchable"/>
<test property="org.eclipse.debug.ui.launchable" value="debug"/>
</enablement>
</objectContribution>
@@ -913,6 +915,7 @@
id="org.eclipse.debug.ui.contextualLaunch.run.submenu">
</action>
<enablement>
+ <adapt type="org.eclipse.debug.ui.actions.ILaunchable"/>
<test property="org.eclipse.debug.ui.launchable" value="run"/>
</enablement>
</objectContribution>
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/LaunchablePropertyTester.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/LaunchablePropertyTester.java
index c669967f8..6a28f7d3f 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/LaunchablePropertyTester.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/LaunchablePropertyTester.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2007 IBM Corporation and others.
+ * Copyright (c) 2000, 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -37,7 +37,7 @@ public class LaunchablePropertyTester extends PropertyTester {
if(DebugUIPlugin.getDefault().getPreferenceStore().getBoolean(IInternalDebugUIConstants.PREF_USE_CONTEXTUAL_LAUNCH)) {
IResource res = getResource(receiver);
if(res != null) {
- return res.isAccessible() && getLaunchConfiguraitonManager().getLaunchShortcuts(getResource(receiver)).size() > 0 && getLaunchConfiguraitonManager().isSharedConfig(receiver) == null;
+ return res.isAccessible() && getLaunchConfigurationManager().getLaunchShortcuts(getResource(receiver)).size() > 0 && getLaunchConfigurationManager().isSharedConfig(receiver) == null;
}
return false;
}
@@ -49,7 +49,7 @@ public class LaunchablePropertyTester extends PropertyTester {
* Returns the launch configuration manager
* @return the launch configuration manager
*/
- protected LaunchConfigurationManager getLaunchConfiguraitonManager() {
+ protected LaunchConfigurationManager getLaunchConfigurationManager() {
return DebugUIPlugin.getDefault().getLaunchConfigurationManager();
}

Back to the top