GWTApplication.client
Class UpdateFaultSubscriptionListener

java.lang.Object
  extended by GWTApplication.client.UpdateFaultSubscriptionListener
All Implemented Interfaces:
com.google.gwt.user.client.ui.ClickListener, java.util.EventListener

 class UpdateFaultSubscriptionListener
extends java.lang.Object
implements com.google.gwt.user.client.ui.ClickListener

This class is a listener class which is called when the user clicks upon the Update link at the top of the main display and results in a dialog window being displayed in which the user can modify the list of faults which he is subscribed to

Version:
$Id: UpdateFaultSubscriptionListener.java,v 1.1 2007/10/08 09:33:35 cb Exp $
Author:
Craige Bevil

Field Summary
private  ModifyFaultSubscriptionListDialog modifyFaultSubscriptionListDialog
          This is the dialog window in which the user will change the list of faults which he has subscribed to
private  FaultServiceAsync svc
          This is the service which will be used to access the servlet which is running in the tomcat container
private  AuthenticationDetails UserAuthentication
          The authentication details of the user
 
Constructor Summary
UpdateFaultSubscriptionListener(AuthenticationDetails UserAuthentication)
          Constructor
 
Method Summary
 void onClick(com.google.gwt.user.client.ui.Widget sender)
          This is called when the user clicks on the hyperlink which allows the user to update his list of subscribed faults.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modifyFaultSubscriptionListDialog

private ModifyFaultSubscriptionListDialog modifyFaultSubscriptionListDialog
This is the dialog window in which the user will change the list of faults which he has subscribed to


UserAuthentication

private AuthenticationDetails UserAuthentication
The authentication details of the user


svc

private final FaultServiceAsync svc
This is the service which will be used to access the servlet which is running in the tomcat container

Constructor Detail

UpdateFaultSubscriptionListener

UpdateFaultSubscriptionListener(AuthenticationDetails UserAuthentication)
Constructor

Parameters:
UserAuthentication - This is the details of the users authentication.
Method Detail

onClick

public void onClick(com.google.gwt.user.client.ui.Widget sender)
This is called when the user clicks on the hyperlink which allows the user to update his list of subscribed faults. It results in a dialog box being displayed (see ModifyFaultSubscriptionListDialog).

Specified by:
onClick in interface com.google.gwt.user.client.ui.ClickListener
Parameters:
sender - This is the widget that raised this event.