1 /*******************************************************************************
2 * Copyright (c) 2000, 2004 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Common Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/cpl-v10.html
9 * IBM Corporation - initial API and implementation
10 *******************************************************************************/
12 package net.sourceforge.phpdt.internal.ui.preferences;
14 import net.sourceforge.phpdt.internal.ui.IJavaHelpContextIds;
15 import net.sourceforge.phpeclipse.PHPeclipsePlugin;
20 * Code Assist preference page.
22 * Note: Must be public since it is referenced from plugin.xml
27 public class CodeAssistPreferencePage extends AbstractConfigurationBlockPreferencePage {
30 * @see net.sourceforge.phpdt.internal.ui.preferences.AbstractConfigureationBlockPreferencePage#getHelpId()
32 protected String getHelpId() {
33 return IJavaHelpContextIds.JAVA_EDITOR_PREFERENCE_PAGE;
37 * @see net.sourceforge.phpdt.internal.ui.preferences.AbstractConfigurationBlockPreferencePage#setDescription()
39 protected void setDescription() {
40 // This page has no description
44 * @see net.sourceforge.phpdt.internal.ui.preferences.AbstractConfigurationBlockPreferencePage#setPreferenceStore()
46 protected void setPreferenceStore() {
47 setPreferenceStore(PHPeclipsePlugin.getDefault().getPreferenceStore());
51 * @see net.sourceforge.phpdt.internal.ui.preferences.AbstractConfigureationBlockPreferencePage#createConfigurationBlock(net.sourceforge.phpdt.internal.ui.preferences.OverlayPreferenceStore)
53 protected IPreferenceConfigurationBlock createConfigurationBlock(OverlayPreferenceStore overlayPreferenceStore) {
54 return new CodeAssistConfigurationBlock(this, overlayPreferenceStore);