[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Support for contributed properties and groups

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2004-11-15 15:50:52 CET

Brock Janiczak <brockj_eclipse@ihug.com.au> wrote on 11/14/2004 05:40:04
AM:

> I have been working on a way of allowing plugins to contribute to the
> list of available SVN properties. You can find it all under the
> org.tigris.subversion.subclipse.core.properties package. Extension point

> schemas are under core/schema. Revision r1056.
>
> The list of properties could be used to present the user with valid
> properties in the set property dialog. It should also be easy to extend

> the code to support user defined properties. There is currently no UI
> integration for this code.
>
> The basic process:
> 1. A plugin defines a property group through the svnPropertyGroups.
> Core contributes a group called "SVN".
> 2. Either the same or another plugin then uses the svnPropertyTypes
> extension to register new properties under a group. The core plugin
> registers all the properties listed in the SVN manual.
>
> To get a list of plugin groups call
> SVNPropertyManager.getInstance().getGroups().
>
> I would appreciate feedback on the idea/implementation. (there is still

> heaps to do on it)

That sounds like the right way to accomplish this, if it is a goal. My
only question would be that this only makes sense to do if we know there
are some other plugins out there that want to consume this extension
point. Otherwise, it is a lot of work for something that could just be
hard-coded. So, do we know that?

Mark

PS - Your extension point Schema currently shows an error in the Problems
view.

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Tue Nov 16 01:50:52 2004

This is an archived mail posted to the Subclipse Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.