DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page How to Add Update-Manager to a RCP Application
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jul 2009
Default How to Add Update-Manager to a RCP Application - 07-30-2009, 01:50 AM

Hello All,

Any one please help me, i am stuck with a problem.

I have implement a RCP Application in eclipse 3.4 version, but i have no document for Adding Update-Manager functionality into that application.

If any have any document related to that please give me.
Reply With Quote
  (#2 (permalink)) Old
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jun 2009
Default 07-31-2009, 03:35 AM

There is an article about this here :使用 Update Manager 更新 RCP 应用程序, but it's in chinese, and seems there is no english version.
Hopes that you can understand it...
Reply With Quote
  (#3 (permalink)) Old
Active Contributor
 
Posts: 62
Thanks: 0
Thanked 6 Times in 6 Posts
Join Date: Jun 2009
Default 07-31-2009, 03:39 AM

You need to define one action for starting the Update-Manager。Then add the codes to the action’s run() method as follow:

UpdateJob job = new UpdateJob("Search for update", false, false);
UpdateManagerUI.openInstaller(window.getShell(), job);
PlatformUI.getWorkbench().getProgressService().sho wInDialog(window.getShell(), job);

In order to compile the code successfully, you must add the plugin ‘ore.eclipse.update.ui’ to the plug-in list in the dependencies , you can get the details reference to the link that I found it in :ʹÓà Update Manager ¸üРRCP Ó¦ÓóÌÐò [×ªÔØ]_ÃÖÀ¼µÄ¹ÊÊ¡ª¡ª¡¶ÃÖÀ¼¾*¡·
I hope it will help you resolve the problem


www.eclaxy.com
let's perfect the eclipse!
Reply With Quote
  (#4 (permalink)) Old
Member
 
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jul 2009
Default 08-04-2009, 03:48 AM

thanx oxygold
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Eclipse RCP + Jade agent platform] Can't get a proxy to the Platform Manager bitrider Eclipse 0 03-23-2009 06:37 AM
MS Enterprise Manager, PgAdmin, Mysql Control Alternative? binarymonk01 Eclipse 0 09-04-2008 06:30 PM
Eclipse Update Manager in PDT glauberportella Eclipse 0 07-17-2008 01:02 PM
Using Eclipse update manager for commercial applications sajjadalikhan1 Eclipse 0 05-19-2008 02:10 AM
Application fails on Mac - can't load application class kam_83 Eclipse 0 05-02-2008 11:21 AM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com