drools-eclipse/org.kie.eclipse.navigator/src/main/java/org/kie/eclipse/navigator/preferences/FieldEditorPropertyPage.java
@Override
	public void dispose() {
		super.dispose();
		if (fields != null) {
			Iterator<FieldEditor> e = fields.iterator();
			while (e.hasNext()) {
				FieldEditor pe = e.next();
				pe.setPage(null);
				pe.setPropertyChangeListener(null);
				pe.setPreferenceStore(null);
			}
		}
	}
@Override
	public void dispose() {
		super.dispose();
		if (fields != null) {
			Iterator<FieldEditor> e = fields.iterator();
			while (e.hasNext()) {
				FieldEditor pe = e.next();
				pe.setPage(null);
				pe.setPropertyChangeListener(null);
				pe.setPreferenceStore(null);
			}
		}
	}
@ Override public void dispose ( ) { super . dispose ( ) ; if ( fields != null ) { Iterator < FieldEditor > e = fields . iterator ( ) ; while ( e . hasNext ( ) ) { FieldEditor pe = e . next ( ) ; pe . setPage ( null ) ; pe . setPropertyChangeListener ( null ) ; pe . setPreferenceStore ( null ) ; } } }
The field editor preference page implementation of an
<code>IDialogPage</code> method disposes of this page's controls and
images. Subclasses may override to release their own allocated SWT
resources, but must call <code>super.dispose</code>.
The field editor preference page implementation of an <code > IDialogPage< / code > method disposes of this page s controls and images . Subclasses may override to release their own allocated SWT resources but must call <code > super . dispose< / code > .