Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormspector2007-04-25 14:10:56 +0000
committermspector2007-04-25 14:10:56 +0000
commit5dd004bb702c64111f3653b6d81d8737805b26cf (patch)
treea8acfa559d1a47f4da165e0572ac806539b774ae
parenta401764ad83a4c1aaa3c1f5852ebbafd4138a1e6 (diff)
downloadorg.eclipse.pdt-5dd004bb702c64111f3653b6d81d8737805b26cf.tar.gz
org.eclipse.pdt-5dd004bb702c64111f3653b6d81d8737805b26cf.tar.xz
org.eclipse.pdt-5dd004bb702c64111f3653b6d81d8737805b26cf.zip
Enable launch shortcut submenu for PHP elements in a PHP Explorer view.
-rw-r--r--plugins/org.eclipse.php.debug.ui/plugin.xml30
1 files changed, 24 insertions, 6 deletions
diff --git a/plugins/org.eclipse.php.debug.ui/plugin.xml b/plugins/org.eclipse.php.debug.ui/plugin.xml
index e89d7bba7..860e87936 100644
--- a/plugins/org.eclipse.php.debug.ui/plugin.xml
+++ b/plugins/org.eclipse.php.debug.ui/plugin.xml
@@ -110,6 +110,23 @@
adaptableType="org.eclipse.php.internal.ui.editor.PHPStructuredEditor">
<adapter type="org.eclipse.debug.ui.actions.IRunToLineTarget"/>
</factory>
+
+ <!-- Adapters for contextual launch -->
+ <factory
+ class=""
+ adaptableType="org.eclipse.php.internal.core.phpModel.parser.PHPCodeDataFactory$PHPFileDataImp">
+ <adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
+ </factory>
+ <factory
+ class=""
+ adaptableType="org.eclipse.core.resources.IResource">
+ <adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
+ </factory>
+ <factory
+ class=""
+ adaptableType="java.io.File">
+ <adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
+ </factory>
</extension>
<extension
point="org.eclipse.debug.ui.variableValueEditors">
@@ -401,30 +418,31 @@
type="java.lang.Object"/>
</extension>
- <!--
- <extension point="org.eclipse.core.expressions.propertyTesters">
+
+ <!-- <extension point="org.eclipse.core.expressions.propertyTesters">
<propertyTester
id="org.eclipse.wst.server.ui.propertyTester"
namespace="org.eclipse.wst.server.ui"
properties="isRunnable"
type="org.eclipse.php.internal.core.phpModel.parser.PHPCodeDataFactory$PHPFileDataImp"
- class="org.eclipse.php.debug.ui.PropertyTesters.RunnablePropertyTester">
+ class="org.eclipse.php.internal.debug.ui.PropertyTesters.RunnablePropertyTester">
</propertyTester>
<propertyTester
id="org.eclipse.wst.server.ui.propertyTester"
namespace="org.eclipse.wst.server.ui"
properties="isRunnable"
type="org.eclipse.core.internal.resources.Project"
- class="org.eclipse.php.debug.ui.PropertyTesters.RunnablePropertyTester">
+ class="org.eclipse.php.internal.debug.ui.PropertyTesters.RunnablePropertyTester">
</propertyTester>
<propertyTester
id="org.eclipse.wst.server.ui.propertyTester"
namespace="org.eclipse.wst.server.ui"
properties="isRunnable"
- type="org.eclipse.php.internal.core.phpModel.parser.PHPCodeDataFactory$PHPFileDataImp"
- class="org.eclipse.core.resources.IFolder">
+ type="org.eclipse.core.resources.IFolder"
+ class="org.eclipse.php.internal.debug.ui.PropertyTesters.RunnablePropertyTester">
</propertyTester>
</extension> -->
+
<extension
point="org.eclipse.php.ui.phpPreferencePageBlocks">
<block

Back to the top