public void dispose() { super.dispose(); if (cellEditor != null) cellEditor.dispose(); cellEditor = null; if (fieldEditor != null) fieldEditor.dispose(); fieldEditor = null; listContentProvider = null; }
/* * (non-Javadoc) * * @see org.eclipse.jface.preference.FieldEditorPreferencePage#adjustGridLayout() */ protected void adjustGridLayout() { super.adjustGridLayout(); ((GridData) verticalAlign.getComboBoxControl(getFieldEditorParent()).getLayoutData()) .widthHint = 167; ((GridData) textAlign.getComboBoxControl(getFieldEditorParent()).getLayoutData()).widthHint = 167; ((GridData) textTrans.getComboBoxControl(getFieldEditorParent()).getLayoutData()).widthHint = 167; ((GridData) whiteSpace.getComboBoxControl(getFieldEditorParent()).getLayoutData()).widthHint = 167; ((GridData) display.getComboBoxControl(getFieldEditorParent()).getLayoutData()).widthHint = 167; // bidi_hcg ((GridData) direction.getComboBoxControl(getFieldEditorParent()).getLayoutData()).widthHint = 167; }
protected ExtendedFieldEditor createFieldEditor(Composite parent) { fieldEditor = new ComboBoxFieldEditor(settings); fieldEditor.setLabelText(getLabelText()); return fieldEditor; }