net.sourceforge.java.feednread.frontend.configuration
Class FavoritesConfigurationPage

java.lang.Object
  extended byorg.eclipse.jface.dialogs.DialogPage
      extended byorg.eclipse.jface.preference.PreferencePage
          extended bynet.sourceforge.java.feednread.frontend.configuration.DefaultConfigurationPage
              extended bynet.sourceforge.java.feednread.frontend.configuration.FavoritesConfigurationPage
All Implemented Interfaces:
IDialogPage, IMessageProvider, IPreferencePage

public class FavoritesConfigurationPage
extends DefaultConfigurationPage

Configuration of settings related to the NewsFeedFavoritesTree.

Author:
Sebastian Machhausen

Field Summary
private  Button adoptRefreshIntervalRecursive
           Checkbox Button for the adopt refresh interval recursive setting
private  ComboViewer categoryIntervalViewer
           ComboViewer to select the update interval of the Category
private  Button displayFavoriteIcons
           Checkbox Button for the display favorite icons setting
private  ComboViewer favoriteIntervalViewer
           ComboViewer to select the update interval of the Favorite
private  Button openFavoriteOnCreation
           Checkbox Button for the open Favorite on creation setting
 
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
FavoritesConfigurationPage()
           Creates a new FavoritesConfigurationPage instance.
 
Method Summary
private  void createCategorySettingsContainer(Composite parent)
           Creates a container which holds Category specific settings.
protected  Control createContents(Composite parent)
           Creates the contents of this FavoritesConfigurationPage.
private  void createFavoriteSettingsContainer(Composite parent)
           Creates a container which holds Favorite specific settings.
protected  void performDefaults()
           Resets all configured values in the Controls back to their default values.
protected  void performLoad()
           Loads all values for the Controls from the configuration.
 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

categoryIntervalViewer

private ComboViewer categoryIntervalViewer

ComboViewer to select the update interval of the Category


favoriteIntervalViewer

private ComboViewer favoriteIntervalViewer

ComboViewer to select the update interval of the Favorite


openFavoriteOnCreation

private Button openFavoriteOnCreation

Checkbox Button for the open Favorite on creation setting


adoptRefreshIntervalRecursive

private Button adoptRefreshIntervalRecursive

Checkbox Button for the adopt refresh interval recursive setting


displayFavoriteIcons

private Button displayFavoriteIcons

Checkbox Button for the display favorite icons setting

Constructor Detail

FavoritesConfigurationPage

public FavoritesConfigurationPage()

Creates a new FavoritesConfigurationPage instance.

Method Detail

performOk

public boolean performOk()

Notifies that the OK button of this page's container has been pressed.

Returns:
false to abort the container's OK processing and true to allow the OK to happen

performDefaults

protected void performDefaults()

Resets all configured values in the Controls back to their default values.


performLoad

protected void performLoad()

Loads all values for the Controls from the configuration.


createContents

protected Control createContents(Composite parent)

Creates the contents of this FavoritesConfigurationPage.

Parameters:
parent - the parent Composite to embed the created contents into
See Also:
PreferencePage.createContents(org.eclipse.swt.widgets.Composite)

createCategorySettingsContainer

private void createCategorySettingsContainer(Composite parent)

Creates a container which holds Category specific settings.

Parameters:
parent - the parent Composite to embed the created container into

createFavoriteSettingsContainer

private void createFavoriteSettingsContainer(Composite parent)

Creates a container which holds Favorite specific settings.

Parameters:
parent - the parent Composite to embed the created container into