net.sf.javadocbuilder.templatesources.filesystem.preferences
Class FilesystemTemplatesourcePreferencePage

java.lang.Object
  |
  +--FieldEditorPreferencePage
        |
        +--net.sf.javadocbuilder.templatesources.filesystem.preferences.FilesystemTemplatesourcePreferencePage

public class FilesystemTemplatesourcePreferencePage
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_DIR1_FLAG
           
static java.lang.String P_DIR1_PATH
           
static java.lang.String P_DIR2_FLAG
           
static java.lang.String P_DIR2_PATH
           
static java.lang.String P_DIR3_FLAG
           
static java.lang.String P_DIR3_PATH
           
static java.lang.String P_EXTENSIONS
           
 
Constructor Summary
FilesystemTemplatesourcePreferencePage()
           
 
Method Summary
 void createFieldEditors()
          Creates the field editors.
 void init(IWorkbench workbench)
           
private  void initializeDefaults()
          Sets the default values of the preferences.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

P_EXTENSIONS

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

P_DIR1_PATH

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

P_DIR1_FLAG

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

P_DIR2_PATH

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

P_DIR2_FLAG

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

P_DIR3_PATH

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

P_DIR3_FLAG

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

FilesystemTemplatesourcePreferencePage

public FilesystemTemplatesourcePreferencePage()
Method Detail

initializeDefaults

private void initializeDefaults()
Sets the default values of the preferences.


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)