[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Update with RCP

Bob Foster wrote:
Here's a simple question. Not every Eclipse plug-in will run in the arbitrary RCP application (just like not every WSAD plug-in will run in Eclipse). If I enable the update manager in an RCP app, how do I keep someone from installing Joe's Random Eclipse Plug-in into my app, with the concomitant instability that might cause?

(For example, right now it's quite possible that installing another editor might break one of mine. I get the bug report.)

I don't want to double-bolt the door, just provide some minimal barrier to entry.

Bob


Good question. Don't think you can if you are using the default update manager UI. The way we did it was to create our own Update manager UI that allowed update sites to be added only by us. We used the update manager API to populate it our dialogs but we didn't provide any UI to the potentially dangerous things like adding a new site containing Joe's Random Plugin. We also removed the ability to manage the configuration.

Peter