bugfix 1423269, http://sourceforge.net/tracker/index.php?func=detail&aid=1423269...
[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
19 /**
20  * Code Assist preference page.
21  * <p>
22  * Note: Must be public since it is referenced from plugin.xml
23  * </p>
24  * 
25  * @since 3.0
26  */
27 public class CodeAssistPreferencePage extends AbstractConfigurationBlockPreferencePage {
28
29         /*
30          * @see net.sourceforge.phpdt.internal.ui.preferences.AbstractConfigureationBlockPreferencePage#getHelpId()
31          */
32         protected String getHelpId() {
33                 return IJavaHelpContextIds.JAVA_EDITOR_PREFERENCE_PAGE;
34         }
35
36         /*
37          * @see net.sourceforge.phpdt.internal.ui.preferences.AbstractConfigurationBlockPreferencePage#setDescription()
38          */
39         protected void setDescription() {
40                 // This page has no description
41         }
42         
43         /*
44          * @see net.sourceforge.phpdt.internal.ui.preferences.AbstractConfigurationBlockPreferencePage#setPreferenceStore()
45          */
46         protected void setPreferenceStore() {
47                 setPreferenceStore(PHPeclipsePlugin.getDefault().getPreferenceStore());
48         }
49
50         /*
51          * @see net.sourceforge.phpdt.internal.ui.preferences.AbstractConfigureationBlockPreferencePage#createConfigurationBlock(net.sourceforge.phpdt.internal.ui.preferences.OverlayPreferenceStore)
52          */
53         protected IPreferenceConfigurationBlock createConfigurationBlock(OverlayPreferenceStore overlayPreferenceStore) {
54                 return new CodeAssistConfigurationBlock(this, overlayPreferenceStore);
55         }
56 }