net.sourceforge.rssowl.controller.properties
Class AmphetaRateProperties

java.lang.Object
  extended bynet.sourceforge.rssowl.controller.properties.PropertyPage
      extended bynet.sourceforge.rssowl.controller.properties.AmphetaRateProperties

public class AmphetaRateProperties
extends PropertyPage

Class displays a PropertyPage to configure AmphetaRate in RSSOwl

Version:
1.1.3
Author:
Benjamin Pasero

Field Summary
private  org.eclipse.swt.widgets.Group existingAccountGroup
           
private  org.eclipse.swt.widgets.Composite existingAccountHolder
           
private  org.eclipse.swt.widgets.Text password
           
(package private)  org.eclipse.swt.widgets.Text userId
           
private  org.eclipse.swt.widgets.Label userIDLabel
           
private  org.eclipse.swt.widgets.Text username
           
 
Fields inherited from class net.sourceforge.rssowl.controller.properties.PropertyPage
apply, composite, dialogFont, errorMessageLabel, parent, propertyChangeManager, restore, rssOwlGui
 
Constructor Summary
AmphetaRateProperties(org.eclipse.swt.widgets.Composite parent, GUI rssOwlGui)
          Instatiate a new AmphetaRateProperties PropertyPage
 
Method Summary
 void applyButtonPressed()
          The apply button has been pressed
(package private)  void createExistingAccountGroup(boolean isOldUser)
          Dynamically create the contents of this group.
protected  void initComponents()
          Init all components
protected  void restoreButtonPressed()
          This property page does not support the restore action.
 void updatePropertiesChangeManager()
          Update the temporary settings holder PropertiesChangeManager
 
Methods inherited from class net.sourceforge.rssowl.controller.properties.PropertyPage
createButtons, createComposite, dispose, getPropertyChangeManager, initPropertyChangeManager, setApplyButtonState, setButtonLayoutData, setButtonLayoutData, setErrorMessage, setRestoreButtonState, setSuccessMessage, setWarningMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

existingAccountGroup

private org.eclipse.swt.widgets.Group existingAccountGroup

existingAccountHolder

private org.eclipse.swt.widgets.Composite existingAccountHolder

password

private org.eclipse.swt.widgets.Text password

userIDLabel

private org.eclipse.swt.widgets.Label userIDLabel

username

private org.eclipse.swt.widgets.Text username

userId

org.eclipse.swt.widgets.Text userId
Constructor Detail

AmphetaRateProperties

public AmphetaRateProperties(org.eclipse.swt.widgets.Composite parent,
                             GUI rssOwlGui)
Instatiate a new AmphetaRateProperties PropertyPage

Parameters:
parent - Composite's parent
rssOwlGui - The MainController
Method Detail

applyButtonPressed

public void applyButtonPressed()
Description copied from class: PropertyPage
The apply button has been pressed

Specified by:
applyButtonPressed in class PropertyPage
See Also:
PropertyPage.applyButtonPressed()

updatePropertiesChangeManager

public void updatePropertiesChangeManager()
Description copied from class: PropertyPage
Update the temporary settings holder PropertiesChangeManager

Specified by:
updatePropertiesChangeManager in class PropertyPage
See Also:
PropertyPage.updatePropertiesChangeManager()

initComponents

protected void initComponents()
Init all components

Specified by:
initComponents in class PropertyPage

restoreButtonPressed

protected void restoreButtonPressed()
This property page does not support the restore action. The restore button is disabled.

Specified by:
restoreButtonPressed in class PropertyPage

createExistingAccountGroup

void createExistingAccountGroup(boolean isOldUser)
Dynamically create the contents of this group. If the user has an existing AmphetaRate user id it is displayed in a readonly input field indicating that he should update his account to one with username and password. In the other case, input fields for username and password are displayed.

Parameters:
isOldUser - TRUE if the user has an old AmphetaRate user id


RSSOwl - RSS / RDF / Atom Newsreader

SourceForge.net Logo