|
|||||||||||
| 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
net.sourceforge.java.feednread.frontend.configuration.DefaultConfigurationPage
net.sourceforge.java.feednread.frontend.configuration.TrayConfigurationPage
Configuration page to change the application's tray behaviour.
| Field Summary | |
private SpinnerFieldEditor |
maxTrayNotificationNewsEditor
FieldEditor for the maximum number of news to display in a
notification popup
|
private SpinnerFieldEditor |
notificationDisplayTime
FieldEditor to select the display time of a notification
popup
|
private BooleanFieldEditor |
sendToTrayOnCloseEditor
FieldEditor to toggle send to tray on close option
|
private BooleanFieldEditor |
sendToTrayOnMinimizeEditor
FieldEditor to toggle send on tray on minimize option |
private BooleanFieldEditor |
sendToTrayOnStartup
FieldEditor to toggle send to tray on application startup
option
|
| Fields inherited from class org.eclipse.jface.preference.PreferencePage |
|
| Fields inherited from class org.eclipse.jface.dialogs.DialogPage |
|
| Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
ERROR, INFORMATION, NONE, WARNING |
| Constructor Summary | |
TrayConfigurationPage()
Creates a new TrayConfigurationPage instance.
|
|
| Method Summary | |
protected Control |
createContents(Composite parent)
Creates and returns the SWT control for the customized body of this preference page under the given parent composite. |
protected void |
performDefaults()
Resets all configured values in the FieldEditors back to
their default values.
|
boolean |
performOk()
Notifies that the OK button of this page's container has been pressed. |
| Methods inherited from class net.sourceforge.java.feednread.frontend.configuration.DefaultConfigurationPage |
createControl |
| Methods inherited from class org.eclipse.jface.preference.PreferencePage |
applyData, applyDialogFont, computeSize, contributeButtons, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, okToLeave, performApply, performCancel, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButton |
| Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage, setVisible |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, setDescription, setImageDescriptor, setVisible |
| Field Detail |
private BooleanFieldEditor sendToTrayOnMinimizeEditor
FieldEditor to toggle send on tray on minimize option
private BooleanFieldEditor sendToTrayOnCloseEditor
FieldEditor to toggle send to tray on close option
private BooleanFieldEditor sendToTrayOnStartup
FieldEditor to toggle send to tray on application startup
option
private SpinnerFieldEditor maxTrayNotificationNewsEditor
FieldEditor for the maximum number of news to display in a
notification popup
private SpinnerFieldEditor notificationDisplayTime
FieldEditor to select the display time of a notification
popup
| Constructor Detail |
public TrayConfigurationPage()
Creates a new TrayConfigurationPage instance.
| Method Detail |
public boolean performOk()
Notifies that the OK button of this page's container has been pressed.
false to abort the container's OK processing and
true to allow the OK to happenprotected void performDefaults()
Resets all configured values in the FieldEditors back to
their default values.
protected Control createContents(Composite parent)
Creates and returns the SWT control for the customized body of this preference page under the given parent composite.
parent - the parent composite
PreferencePage.createContents(org.eclipse.swt.widgets.Composite)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||