net.sf.javadocbuilder.templatesources.internal.preferences
Class InternalPreferencePage

java.lang.Object
  |
  +--FieldEditorPreferencePage
        |
        +--net.sf.javadocbuilder.templatesources.internal.preferences.InternalPreferencePage

public class InternalPreferencePage
extends FieldEditorPreferencePage

This class represents a preference page that is contributed to the Preferences dialog. By subclassing FieldEditorPreferencePage, we can use the field support built into JFace that allows us to create a page that is small and knows how to save, restore and apply itself.

This page is used to modify preferences only. They are stored in the preference store that belongs to the main plug-in class. That way, preferences can be accessed directly via the preference store.

See Also:
Serialized Form

Field Summary
static java.lang.String P_BOOLEAN
           
static java.lang.String P_CHOICE
           
static java.lang.String P_PATH
           
static java.lang.String P_STRING
           
 
Constructor Summary
InternalPreferencePage()
           
 
Method Summary
 void createFieldEditors()
          Creates the field editors.
 void init(IWorkbench workbench)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

P_PATH

public static final java.lang.String P_PATH
See Also:
Constant Field Values

P_BOOLEAN

public static final java.lang.String P_BOOLEAN
See Also:
Constant Field Values

P_CHOICE

public static final java.lang.String P_CHOICE
See Also:
Constant Field Values

P_STRING

public static final java.lang.String P_STRING
See Also:
Constant Field Values
Constructor Detail

InternalPreferencePage

public InternalPreferencePage()
Method Detail

createFieldEditors

public void createFieldEditors()
Creates the field editors. Field editors are abstractions of the common GUI blocks needed to manipulate various types of preferences. Each field editor knows how to save and restore itself.


init

public void init(IWorkbench workbench)