[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] FieldEditorPreferencePage and custom validation

Hello everyone!

I have a preference page with two DirectioryFieldEditors. I would like to check a selected directory structure and add error message (setErrorMessage with my string) if user selected a wrong place.

I tired to:
Overriding isValid method - not working.
Overriding propertyChanged method - not working.
Custom property listeners in fields - not working.

How to add a own validation rules to FieldEditorPreferencePage? Is it possible?

Regards,
Luke