public class LogonAction extends org.eclipse.jface.action.Action implements IModelListener, java.lang.Runnable
Constructor and Description |
---|
LogonAction()
Creates a new LogonAction.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getActionDefinitionId()
Gets the action definition ID.
|
java.lang.String | getId()
Gets the ID for this action.
|
protected void | logonOk()
Calls the updateStatusLine method, passing the active operator, and runs the SessionStartedAction action.
|
void | modelChanged(ModelObjectChangedEvent event)
Listens to model changed events and sets the enablement state.
|
protected int | openLogonDialog()
Opens the Logon dialog using the com.ibm.commerce.telesales.ui.dialog extension point.
|
protected void | postRun()
This method will be called once run action is completed to perform any post run actions like resetting the action's parameters etc., Customer may override this method and must call the super implementation.
|
void | run()
Launches the Logon dialog.
|
public void modelChanged(ModelObjectChangedEvent event)
public void run()
If the dialog's return code is equal to LogonDialog.OK, the logonOk method is called.
protected void postRun()
It checks for the valid active operator and the list of countries in the model root before invoking the action.
protected int openLogonDialog()
protected void logonOk()
public java.lang.String getActionDefinitionId()
public java.lang.String getId()