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

Support for contributed properties and groups

From: Brock Janiczak <brockj_eclipse_at_ihug.com.au>
Date: 2004-11-14 11:40:04 CET

Hi All,
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)

Cheers,
    Brock
Received on Sun Nov 14 21:40:04 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.