|
Re: Choosing plugins to update with P2 and eclipse 4 programmatically [message #1771270 is a reply to message #1771067] |
Wed, 23 August 2017 15:16 |
Eclipse User |
|
|
|
Unless you've specifically crafted your product's requirements (via a p2.inf), your product is bound to exact versions of the specified features/plugins. Updating those referenced features requires updating the product too.
p2 does provide some support for prompting for selection of updates: see the `org.eclipse.equinox.p2.ui.ProvisioningUI#openUpdateWizard()` methods, and the `org.eclipse.equinox.internal.p2.ui.sdk.scheduler.AutomaticUpdater` class serves as a demonstration in action.
`ProvisioningUI` is based on Eclipse 3.x Workbench though. If you're building a pure E4 app, you'll need to roll your own. Or extract the JFace/SWT components from `org.eclipse.equinox.p2.ui`.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03118 seconds