| Summary: | debug ui: org.eclipse.debug.ui.launchShortcuts schema, warning on "enablement" | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Richard Kulp <richkulp> |
| Component: | Debug | Assignee: | Platform-Debug-Inbox <platform-debug-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | CC: | wassim.melhem |
| Version: | 3.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
I'm getting a warning that enablement is not a legal child of contextual launch in the following example: <extension point="org.eclipse.debug.ui.launchShortcuts"> <shortcut label="%shortcut.label Java Bean" icon="icons/full/ctool16/java_bean_launcher.gif" modes="run, debug" class="org.eclipse.ve.internal.java.vce.launcher.JavaBeanShortcut" id="org.eclipse.ve.internal.java.core.vce.localJavaShortcut"> <contextualLaunch> <enablement> <with variable="selection"> <count value="1"> </count> <iterate> <or> <test property="org.eclipse.debug.ui.matchesPattern" value="*.java"/> <test property="org.eclipse.debug.ui.matchesPattern" value="*.class"/> </or> </iterate> </with> </enablement> </contextualLaunch> But if you go to the help documentation for the extension point, "enablement" is a valid element under contextualLaunch. This is with the 12/06 Eclipse SDK Integration build.