public class ChangePasswordDialog extends ConfiguredMessageLineDialog
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field
|
Constructor and Description |
---|
ChangePasswordDialog()
Default constructor to create a new instance of the change password dialog.
|
Modifier and Type | Method and Description |
---|---|
void | cancelPressed()
This method notifies that the 'Cancel' button of this dialog has been pressed and calls the corresponding super method.
|
protected TelesalesRequestStatus | changePassword()
After the "OK" button is clicked, gather TelesalesProperties parameters and ask the JobScheduler to run the change password action in the controller.
|
protected void | configureShell(org.eclipse.swt.widgets.Shell newShell)
This method configures the given shell in preparation for opening this window in it.
|
protected org.eclipse.swt.graphics.Color | getBackgroundColor()
This method returns the background color.
|
protected java.lang.String | getButtonBarManagedCompositeId()
This method returns the button bar managed composite ID (value "com.ibm.commerce.telesales.ui.impl.changePasswordDialogButtonBarManagedComposite").
|
protected TelesalesProperties | getChangePasswordParameters()
This method construct the TelesalesProperties object that will be passed to the com.ibm.commerce.telesales.changePassword service request.
|
protected java.lang.String | getDialogAreaManagedCompositeId()
This method returns the dialog area managed composite ID (value "com.ibm.commerce.telesales.ui.impl.changePasswordDialogManagedComposite").
|
protected java.lang.String | getDialogTitle()
This method returns the dialog's title.
|
protected java.lang.String | getHelpContextId()
This method retrieves the help context ID.
|
java.lang.Object | getResult()
This implementation returns null.
|
void | okPressed()
This method notifies that the 'Change Password' button of this dialog has been pressed.
|
public static final java.lang.String COPYRIGHT
public ChangePasswordDialog()
protected java.lang.String getButtonBarManagedCompositeId()
protected java.lang.String getDialogAreaManagedCompositeId()
protected void configureShell(org.eclipse.swt.widgets.Shell newShell)
protected java.lang.String getDialogTitle()
Subclasses may override this method.
protected java.lang.String getHelpContextId()
public java.lang.Object getResult()
public void okPressed()
protected TelesalesRequestStatus changePassword() throws java.lang.InterruptedException
public void cancelPressed()
protected org.eclipse.swt.graphics.Color getBackgroundColor()
Checks for high contrast mode being enabled.
protected TelesalesProperties getChangePasswordParameters()