DefaultWorkingCopyOwner.PRIMARY.factory= new CustomBufferFactory();
DefaultWorkingCopyOwner.PRIMARY.factory= getBufferFactory();
	public void startup() throws CoreException {		super.startup();		registerAdapters();				if (USE_WORKING_COPY_OWNERS)			DefaultWorkingCopyOwner.PRIMARY.factory= new CustomBufferFactory();		/*		 * Backward compatibility: propagate the Java editor font from a		 * pre-2.1 plug-in to the Platform UI's preference store to preserve		 * the Java editor font from a pre-2.1 workspace. This is done only		 * once.		 */		String fontPropagatedKey= "fontPropagated"; //$NON-NLS-1$		if (getPreferenceStore().contains(JFaceResources.TEXT_FONT) && !getPreferenceStore().isDefault(JFaceResources.TEXT_FONT)) {			if (!getPreferenceStore().getBoolean(fontPropagatedKey))				PreferenceConverter.setValue(PlatformUI.getWorkbench().getPreferenceStore(), PreferenceConstants.EDITOR_TEXT_FONT, PreferenceConverter.getFontDataArray(getPreferenceStore(), JFaceResources.TEXT_FONT));		}		getPreferenceStore().setValue(fontPropagatedKey, true);		/*		 * Backward compatibility: set the Java editor font in this plug-in's		 * preference store to let older versions access it. Since 2.1 the		 * Java editor font is managed by the workbench font preference page.		 */		PreferenceConverter.putValue(getPreferenceStore(), JFaceResources.TEXT_FONT, JFaceResources.getFontRegistry().getFontData(PreferenceConstants.EDITOR_TEXT_FONT));		fFontPropertyChangeListener= new IPropertyChangeListener() {			public void propertyChange(PropertyChangeEvent event) {				if (PreferenceConstants.EDITOR_TEXT_FONT.equals(event.getProperty()))					PreferenceConverter.putValue(getPreferenceStore(), JFaceResources.TEXT_FONT, JFaceResources.getFontRegistry().getFontData(PreferenceConstants.EDITOR_TEXT_FONT));			}		};		JFaceResources.getFontRegistry().addListener(fFontPropertyChangeListener);	}