net.sourceforge.rssowl.controller.properties
Class ConnectionProperties

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

public class ConnectionProperties
extends PropertyPage

Class displays a PropertyPage to set Connection settings for RSSOwl

Version:
1.1.3
Author:
Benjamin Pasero

Field Summary
(package private)  org.eclipse.swt.widgets.Button checkUpdateAll
           
(package private)  org.eclipse.swt.widgets.Button checkUseAuthentification
           
(package private)  org.eclipse.swt.widgets.Button checkUseProxy
           
private  org.eclipse.swt.widgets.Spinner conCountSpinner
           
private  org.eclipse.swt.widgets.Spinner conTimeoutSpinner
           
private static int MAX_CONNECTION_COUNT
          Max. number of connections at the same time
private static int MAX_CONNECTION_TIMEOUT
          Max. connection timeout in seconds
private static int MIN_CONNECTION_COUNT
          Min. number of connections at the same time
private static int MIN_CONNECTION_TIMEOUT
          Min. connection timeout in seconds
(package private)  org.eclipse.swt.widgets.Text textDomain
           
private  org.eclipse.swt.widgets.Text textHost
           
(package private)  org.eclipse.swt.widgets.Text textPassword
           
private  org.eclipse.swt.widgets.Text textPort
           
(package private)  org.eclipse.swt.widgets.Text textUsername
           
 
Fields inherited from class net.sourceforge.rssowl.controller.properties.PropertyPage
apply, composite, dialogFont, errorMessageLabel, parent, propertyChangeManager, restore, rssOwlGui
 
Constructor Summary
ConnectionProperties(org.eclipse.swt.widgets.Composite parent, GUI rssOwlGui)
          Instatiate a new ConnectionProperties PropertyPage
 
Method Summary
 void applyButtonPressed()
          The apply button has been pressed
private  void disableAuthentification()
          Disable components for Proxy Authentification
protected  void initComponents()
          Init all components
protected  void restoreButtonPressed()
          The restore button has been pressed
(package private)  void setEnabledComponents(boolean enabled)
          Enable / Disable components for Proxy GlobalSettings Edit
 void updatePropertiesChangeManager()
          Update the temporary settings holder PropertiesChangeManager
private  void updateProxySettings()
          Update Proxy GlobalSettings from the changes the user has made
 
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

MAX_CONNECTION_COUNT

private static final int MAX_CONNECTION_COUNT
Max. number of connections at the same time

See Also:
Constant Field Values

MAX_CONNECTION_TIMEOUT

private static final int MAX_CONNECTION_TIMEOUT
Max. connection timeout in seconds

See Also:
Constant Field Values

MIN_CONNECTION_COUNT

private static final int MIN_CONNECTION_COUNT
Min. number of connections at the same time

See Also:
Constant Field Values

MIN_CONNECTION_TIMEOUT

private static final int MIN_CONNECTION_TIMEOUT
Min. connection timeout in seconds

See Also:
Constant Field Values

conCountSpinner

private org.eclipse.swt.widgets.Spinner conCountSpinner

conTimeoutSpinner

private org.eclipse.swt.widgets.Spinner conTimeoutSpinner

textHost

private org.eclipse.swt.widgets.Text textHost

textPort

private org.eclipse.swt.widgets.Text textPort

checkUpdateAll

org.eclipse.swt.widgets.Button checkUpdateAll

checkUseAuthentification

org.eclipse.swt.widgets.Button checkUseAuthentification

checkUseProxy

org.eclipse.swt.widgets.Button checkUseProxy

textDomain

org.eclipse.swt.widgets.Text textDomain

textPassword

org.eclipse.swt.widgets.Text textPassword

textUsername

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

ConnectionProperties

public ConnectionProperties(org.eclipse.swt.widgets.Composite parent,
                            GUI rssOwlGui)
Instatiate a new ConnectionProperties 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()

disableAuthentification

private void disableAuthentification()
Disable components for Proxy Authentification


updateProxySettings

private void updateProxySettings()
Update Proxy GlobalSettings from the changes the user has made


initComponents

protected void initComponents()
Description copied from class: PropertyPage
Init all components

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

restoreButtonPressed

protected void restoreButtonPressed()
Description copied from class: PropertyPage
The restore button has been pressed

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

setEnabledComponents

void setEnabledComponents(boolean enabled)
Enable / Disable components for Proxy GlobalSettings Edit

Parameters:
enabled - TRUE to enable the components


RSSOwl - RSS / RDF / Atom Newsreader

SourceForge.net Logo