|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
org.eclipse.jface.preference.FieldEditorPreferencePage
com.opnworks.timesheet.client.preferences.TimesheetPreferencePage
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.
| Field Summary | |
static java.lang.String |
ID
|
static java.lang.String |
P_COUNTRY_CODE
Description of the Field |
static java.lang.String |
P_DATABASE_DIALECT
Description of the Field |
static java.lang.String |
P_DATABASE_JDBC_DRIVER
Description of the Field |
static java.lang.String |
P_DATABASE_PASSWORD
Description of the Field |
static java.lang.String |
P_DATABASE_URL
Description of the Field |
static java.lang.String |
P_DATABASE_USERNAME
Description of the Field |
static java.lang.String |
P_EMBEDDED_DATABASE
Description of the Field |
static java.lang.String |
P_FIRST_DAY_OF_WEEK
Description of the Field |
static java.lang.String |
P_MAIL_PASSWORD
Description of the Field |
static java.lang.String |
P_MAIL_RECIPIENT
Description of the Field |
static java.lang.String |
P_MAIL_SMTP_HOST
Description of the Field |
static java.lang.String |
P_MAIL_TRANSPORT_PROTOCOL
Description of the Field |
static java.lang.String |
P_MAIL_USER
Description of the Field |
static java.lang.String |
P_SERVER_URL
Description of the Field |
| Fields inherited from class org.eclipse.jface.preference.FieldEditorPreferencePage |
FLAT, GRID |
| Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
ERROR, INFORMATION, NONE, WARNING |
| Constructor Summary | |
TimesheetPreferencePage()
Constructor for the TimesheetPreferencePage object |
|
| Method Summary | |
void |
createFieldEditors()
Creates the field editors. |
void |
init(org.eclipse.ui.IWorkbench workbench)
Description of the Method |
| Methods inherited from class org.eclipse.jface.preference.FieldEditorPreferencePage |
dispose, performOk, propertyChange, setVisible |
| Methods inherited from class org.eclipse.jface.preference.PreferencePage |
computeSize, createControl, getContainer, getPreferenceStore, isValid, okToLeave, performCancel, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString |
| Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
getControl, getDescription, getErrorMessage, getImage, getMessage, getMessageType, getShell, getTitle, setDescription, setImageDescriptor, setMessage |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.jface.preference.IPreferencePage |
computeSize, isValid, okToLeave, performCancel, performOk, setContainer, setSize |
| Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible |
| Field Detail |
public static final java.lang.String P_COUNTRY_CODE
public static final java.lang.String ID
public static final java.lang.String P_FIRST_DAY_OF_WEEK
public static final java.lang.String P_MAIL_TRANSPORT_PROTOCOL
public static final java.lang.String P_MAIL_SMTP_HOST
public static final java.lang.String P_MAIL_RECIPIENT
public static final java.lang.String P_MAIL_USER
public static final java.lang.String P_MAIL_PASSWORD
public static final java.lang.String P_DATABASE_DIALECT
public static final java.lang.String P_DATABASE_JDBC_DRIVER
public static final java.lang.String P_DATABASE_USERNAME
public static final java.lang.String P_DATABASE_PASSWORD
public static final java.lang.String P_EMBEDDED_DATABASE
public static final java.lang.String P_DATABASE_URL
public static final java.lang.String P_SERVER_URL
| Constructor Detail |
public TimesheetPreferencePage()
| Method Detail |
public void createFieldEditors()
public void init(org.eclipse.ui.IWorkbench workbench)
init in interface org.eclipse.ui.IWorkbenchPreferencePageworkbench - Description of Parameter
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||