Documentation update from php.net
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / ui / preferences / CodeAssistPreferencePage.java
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
7  * 
8  * Contributors:
9  *     IBM Corporation - initial API and implementation
10  *******************************************************************************/
11
12 package net.sourceforge.phpdt.internal.ui.preferences;
13
14 import net.sourceforge.phpdt.internal.ui.IJavaHelpContextIds;
15 import net.sourceforge.phpeclipse.PHPeclipsePlugin;
16
17 /**
18  * Code Assist preference page.
19  * <p>
20  * Note: Must be public since it is referenced from plugin.xml
21  * </p>
22  * 
23  * @since 3.0
24  */
25 public class CodeAssistPreferencePage extends
26                 AbstractConfigurationBlockPreferencePage {
27
28         /*
29          * @see net.sourceforge.phpdt.internal.ui.preferences.AbstractConfigureationBlockPreferencePage#getHelpId()
30          */
31         protected String getHelpId() {
32                 return IJavaHelpContextIds.JAVA_EDITOR_PREFERENCE_PAGE;
33         }
34
35         /*
36          * @see net.sourceforge.phpdt.internal.ui.preferences.AbstractConfigurationBlockPreferencePage#setDescription()
37          */
38         protected void setDescription() {
39                 // This page has no description
40         }
41
42         /*
43          * @see net.sourceforge.phpdt.internal.ui.preferences.AbstractConfigurationBlockPreferencePage#setPreferenceStore()
44          */
45         protected void setPreferenceStore() {
46                 setPreferenceStore(PHPeclipsePlugin.getDefault().getPreferenceStore());
47         }
48
49         /*
50          * @see net.sourceforge.phpdt.internal.ui.preferences.AbstractConfigureationBlockPreferencePage#createConfigurationBlock(net.sourceforge.phpdt.internal.ui.preferences.OverlayPreferenceStore)
51          */
52         protected IPreferenceConfigurationBlock createConfigurationBlock(
53                         OverlayPreferenceStore overlayPreferenceStore) {
54                 return new CodeAssistConfigurationBlock(this, overlayPreferenceStore);
55         }
56 }