diff options
author | Pawel Piech | 2012-12-19 15:07:57 +0000 |
---|---|---|
committer | Pawel Piech | 2012-12-19 15:09:20 +0000 |
commit | 9b9337e5fba9f6939049b234436d970b1004537a (patch) | |
tree | 69d386036f33fd2486ea4d23c88c5822846017ee /org.eclipse.debug.ui/ui | |
parent | 5bbf9d519daa915a1d1c8c6ad2bc2347ec92742e (diff) | |
download | eclipse.platform.debug-9b9337e5fba9f6939049b234436d970b1004537a.tar.gz eclipse.platform.debug-9b9337e5fba9f6939049b234436d970b1004537a.tar.xz eclipse.platform.debug-9b9337e5fba9f6939049b234436d970b1004537a.zip |
Bug 396822 - ILaunchable interface usage and documentation is confusingv20121219-150920I20130108-0800I20130101-0800I20121225-1600I20121225-0800
Diffstat (limited to 'org.eclipse.debug.ui/ui')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/ILaunchable.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/ILaunchable.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/ILaunchable.java index 6c4679451..68ef2caba 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/ILaunchable.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/actions/ILaunchable.java @@ -49,6 +49,18 @@ package org.eclipse.debug.ui.actions; * point. A factory and implementation of this interface are not actually * required. * </p> + * <p> + * Clients that need to check for presence of launchable adapter using + * standard expression mechanism, should use a property tester as follows: + * <pre> + * <with variable="selection"> + * <iterator operator="and" ifEmpty="false"> + * <test property="org.eclipse.debug.core.launchable" value="debug"/> + * </iterator> + * </with> + * </pre> + * + * </p> * @see org.eclipse.debug.ui.actions.ContextualLaunchAction * @since 3.0 */ |