[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: FieldEditorPreferencePage and custom validation
|
you may get more response if you ask this on the eclipse.platform.rcp
newsgroup since FieldEditorPreferencePage comes from jface, not from swt
"Lukasz Dywicki" <lukasz@xxxxxxxxxx> wrote in message
news:fh791j$bv8$1@xxxxxxxxxxxxxxxxxxxx
> 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