p2 doesn't currently have any API. About
the best you can do at the moment is to invoke the p2 command that opens
the install dialog. This command has id "org.eclipse.equinox.p2.ui.sdk.update".
You can hook this command to a menu from your plugin.xml, or you
can invoke the command programmatically with code something like this:
<matthias.luebken@xxxxxxxxx> Sent by: equinox-dev-bounces@xxxxxxxxxxx
04/14/2008 02:43 PM
Please respond to
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
[equinox-dev] Small RCP example with
I'm trying to put together a small p2 example: An RCP-App that
triggers an update action and updates a plugin from an update site.
My first question: Is there something like
"UpdateManagerUI.openInstaller()" for p2?
My second: How would a minimal p2-update site look like?
Thanks in advance.
equinox-dev mailing list