</extension>\r
<extension\r
point="org.eclipse.debug.ui.launchShortcuts">\r
- <shortcut\r
- class="org.argeo.slc.ui.launch.script.SlcScriptLaunchShortcut"\r
- icon="icons/slcScriptLaunch.gif"\r
- id="org.argeo.slc.ui.launch.slcScriptLaunchShortcut"\r
- label="SLC script"\r
- modes="run,debug">\r
- \r
- <contextualLaunch>\r
- <enablement>\r
- <with variable="selection">\r
- <count value="1"/>\r
- <iterate>\r
- <or>\r
- <test property="org.eclipse.debug.ui.matchesPattern" value="*.xml"/>\r
- </or>\r
- </iterate>\r
- </with>\r
- </enablement>\r
- </contextualLaunch>\r
- \r
- </shortcut>\r
+ <shortcut
+ class="org.argeo.slc.ui.launch.script.SlcScriptLaunchShortcut"
+ icon="icons/slcScriptLaunch.gif"
+ id="org.argeo.slc.ui.launch.slcScriptLaunchShortcut"
+ label="SLC script"
+ modes="run,debug">
+
+ <contextualLaunch>
+ <enablement>
+ <with variable="selection">
+ <count value="1"/>
+ <iterate>
+ <or>
+ <test property="org.eclipse.debug.ui.matchesPattern" value="*.xml"/>
+ </or>
+ </iterate>
+ </with>
+ </enablement>
+ </contextualLaunch>
+ </shortcut>
+ <shortcut
+ class="org.argeo.slc.ui.launch.script.SlcScriptLaunchShortcutWithDialog"
+ icon="icons/slcScriptLaunch.gif"
+ id="org.argeo.slc.ui.launch.slcScriptLaunchShortcutWithDialog"
+ label="SLC script..."
+ modes="run,debug">
+
+ <contextualLaunch>
+ <enablement>
+ <with variable="selection">
+ <count value="1"/>
+ <iterate>
+ <or>
+ <test property="org.eclipse.debug.ui.matchesPattern" value="*.xml"/>
+ </or>
+ </iterate>
+ </with>
+ </enablement>
+ </contextualLaunch>
+ </shortcut>
</extension>\r
<extension\r
point="org.eclipse.debug.ui.launchConfigurationTabGroups">\r