diff options
author | Christian Georgi | 2015-04-07 08:44:25 +0000 |
---|---|---|
committer | Pascal Rapicault | 2015-04-08 02:15:46 +0000 |
commit | 3abc8c0b10696029dcae0d4475dd40199ab97602 (patch) | |
tree | 643231db971ff722591200a3713fb6a620cdd9b2 | |
parent | 8786031551013d57c9d9882dd44628cf66727814 (diff) | |
download | eclipse.platform.common-3abc8c0b10696029dcae0d4475dd40199ab97602.tar.gz eclipse.platform.common-3abc8c0b10696029dcae0d4475dd40199ab97602.tar.xz eclipse.platform.common-3abc8c0b10696029dcae0d4475dd40199ab97602.zip |
Docu for checkAndPromptNativePackageWindowsRegistryI20150408-1100
Also format checkAndPrompt examples in a better way.
Bug: 456811
Change-Id: Ia75470a2848babb5928f9ed14bd13f73d7b21e3e
Signed-off-by: Christian Georgi <christian.georgi@sap.com>
-rw-r--r-- | bundles/org.eclipse.platform.doc.isv/guide/p2_actions_touchpoints.html | 30 |
1 files changed, 27 insertions, 3 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 822ba83cf..4fd577812 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 @@ -179,10 +179,34 @@ A valid call of this action using FQN might be something like: <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 + <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. + <p>Example: +<pre> + org.eclipse.equinox.p2.touchpoint.natives.checkAndPromptNativePackage(distro:debian,package:sudo); +</pre> +or +<pre> org.eclipse.equinox.p2.touchpoint.natives.checkAndPromptNativePackage(distro:debian,package:handbrake,comparator:ge,version:0.9); - <p><br> - (Since 4.5)</p> +</pre></p> + <p>(Since 4.5)</p> + </td> + </tr> + <tr valign="top"> + <td style="font-weight: bold;">checkAndPromptNativePackageWindowsRegistry + </td> + <td>package, key, [attributeName, attributeValue, downloadLink, version]</td> + <td>Prompt the user for the Windows library identified in the Windows registry if it is not already installed. <i>package</i> is a descriptive library identifier. <i>version</i> an descriptive version string. <i>key</i> is the full registry key. <i>attributeName</i> and <i>attributeValue</i> are an optional name and value of a registry attribute to check. <i>downloadLink</i> is a an optional URL to show in the UI from where the library can be obtained. + <p>Example: +<pre> + org.eclipse.equinox.p2.touchpoint.natives.checkAndPromptNativePackageWindowsRegistry(\ + package:MS VC Runtime,\ + version:2010,\ + key:HKLM\\SOFTWARE\\Wow6432Node\\Microsoft\\VisualStudio\\10.0\\VC\\VCRedist\\x64,\ + attributeName:Installed,\ + attributeValue:1,\ + downloadLink:http${#58}//www.microsoft.com/download/details.aspx?id=14632); +</pre></p> + <p>(Since 4.5)</p> </td> </tr> </table> |