views:

80

answers:

3

Update: So far I found class ListEditor which provides the functionality I'm searching for except the 'edit' button and only for one column.

The 'Proxy bypass' Page extends directly from PreferencePage. So there is no proper Base Class I could use.

--

The standard PDE way of adding Preference is to use field editors (for Boolean, String, Integer..) and subclass FieldEditorPreferencePage.

I'd like to integrate a list similar to the 'Network Connections' List in Preferences.

Network Connections Preferences

Is there a Standard List Class with Add/Edit/Remove Button I could use or is extending the PreferencePage and do all loading/saving manually the way to go?

the m2Eclipse Plugin also has a List m2Eclipse

it uses TemplatePreferencePage, which has too much functionality

A: 

I remember looking for something similar to edit a list of classpaths and did not find it. JDT had something but it was too much for what I needed. I think you have to do it on your own. If you do something generic, you could file an enhancement request to platform UI at Eclipse and contribute it. Doing it on my own was not too much work.

Francis Upton
A: 

Hi

I have the same need only it's not for network purposes. Please tell me if you found anything because I have not.

I've been checking Checkstyle's sources too because it has something similar but cleaning it is way too much work.

Thanks in advance

Philou
A: 

My conclusion is there is no proper Base Class I could use. However the Proxy Bypass Page is an example how to implement such a feature, it extends directly from PreferencePage

Martin Dürrmeier