Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2014-12-11 21:37:45 +0000
committerPascal Rapicault2014-12-11 21:37:45 +0000
commite2e41c4423abbf120230d729080d1d7146d50299 (patch)
treece710a94d30c699e85aa44e1fc02b8771643e0e6
parent38da25a5f82ff862b75eba412153564ac9dc930c (diff)
downloadeclipse.platform.common-e2e41c4423abbf120230d729080d1d7146d50299.tar.gz
eclipse.platform.common-e2e41c4423abbf120230d729080d1d7146d50299.tar.xz
eclipse.platform.common-e2e41c4423abbf120230d729080d1d7146d50299.zip
add doc for checkAndPromptNativePackage touchpoint actionI20141216-0800
-rw-r--r--bundles/org.eclipse.platform.doc.isv/guide/p2_actions_touchpoints.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/bundles/org.eclipse.platform.doc.isv/guide/p2_actions_touchpoints.html b/bundles/org.eclipse.platform.doc.isv/guide/p2_actions_touchpoints.html
index 81a0e4b65..77ec57da2 100644
--- a/bundles/org.eclipse.platform.doc.isv/guide/p2_actions_touchpoints.html
+++ b/bundles/org.eclipse.platform.doc.isv/guide/p2_actions_touchpoints.html
@@ -175,6 +175,16 @@ A valid call of this action using FQN might be something like:
(Since 3.5)</p>
</td>
</tr>
+ <tr valign="top">
+ <td style="font-weight: bold;">checkAndPromptNativePackage
+ </td>
+ <td>distro, package, [comparator, version]</td>
+ <td>Prompt the user for the package identified if it is not already installed. <i>distro</i> identifies a distribution for which the package is applicable. <i>package</i> is the package identifier as known by the OS. <i>version</i> an optional string capturing the expected version of the package. <i>comparator</i> an optional string from <i>eq, gt, ge, lt, le</i> to express more specific dependencies on the version to install. Know that at this point only Ubuntu is supported, and we welcome support for other OS. Example: org.eclipse.equinox.p2.touchpoint.natives.checkAndPromptNativePackage(distro:debian,package:sudo); or
+ org.eclipse.equinox.p2.touchpoint.natives.checkAndPromptNativePackage(distro:debian,package:handbrake,comparator:ge,version:0.9);
+ <p><br>
+ (Since 4.5)</p>
+ </td>
+ </tr>
</table>
<h3>Eclipse Touchpoint Actions</h3>
<p><b>Action Fully Qualified Name:</b></p>
@@ -636,4 +646,4 @@ it from the real file system root).</p>
event is logged with details of what needs to be manually restored. This
is best effort support so in the case of a system crash file loss is possible.</p>
</body>
-</html> \ No newline at end of file
+</html>

Back to the top