@Override
	public void propertyChange(PropertyChangeEvent event) {

		if (event.getProperty().equals(FieldEditor.IS_VALID)) {
			boolean newValue = ((Boolean) event.getNewValue()).booleanValue();
			// If the new value is true then we must check all field editors.
			// If it is false, then the page is invalid in any case.
			if (newValue) {
				checkState();
			}
			else {
				invalidFieldEditor = (FieldEditor) event.getSource();
				setValid(newValue);
			}
		}
	}
@Override
	public void propertyChange(PropertyChangeEvent event) {

		if (event.getProperty().equals(FieldEditor.IS_VALID)) {
			boolean newValue = ((Boolean) event.getNewValue()).booleanValue();
			
			
			if (newValue) {
				checkState();
			}
			else {
				invalidFieldEditor = (FieldEditor) event.getSource();
				setValid(newValue);
			}
		}
	}
@ Override public void propertyChange ( PropertyChangeEvent event ) { if ( event . getProperty ( ) . equals ( FieldEditor . IS_VALID ) ) { boolean newValue = ( ( Boolean ) event . getNewValue ( ) ) . booleanValue ( ) ; // If the new value is true then we must check all field editors. // If it is false, then the page is invalid in any case. if ( newValue ) { checkState ( ) ; } else { invalidFieldEditor = ( FieldEditor ) event . getSource ( ) ; setValid ( newValue ) ; } } }
The field editor preference page implementation of this
<code>IPreferencePage</code> (and <code>IPropertyChangeListener</code>)
method intercepts <code>IS_VALID</code> events but passes other events on
to its superclass.
The field editor preference page implementation of this <code > IPreferencePage< / code > ( and <code > IPropertyChangeListener< / code > ) method intercepts <code > IS_VALID< / code > events but passes other events on to its superclass .