[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[buckminster-dev] Re: Problems getting started with Headless Buckminster

Why don't you guys remove that ui related interface from resource classes and instead, in svn ui plugin register an adapter factory that will adapt to that interface when needed.

This is a common Eclipse way to remove dependencies between plugins in eclipse


Thomas Hallgren wrote:
I thought up a solution that might work. It uses two versions of a factory to create the BasicResourceStorage instances. One that creates instances that implements the problematic interface and one that creates instances that doesn't. The latter is installed by default but the bundle start method of the subclipse.ui will install the former.

I attached a patch for this to http://subclipse.tigris.org/issues/show_bug.cgi?id=583 that I hope will be accepted eventually.

Thomas Hallgren