Question

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 http://img13.imageshack.us/img13/4489/screencapturegw.png

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 http://img695.imageshack.us/img695/1972/screencapture1.png

it uses TemplatePreferencePage, which has too much functionality

Was it helpful?

Solution 2

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

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top