public abstract class CommentDialog extends ConfiguredTitleAreaDialog
This class intended to extend.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field
|
Constructor and Description |
---|
CommentDialog()
Default constructor to create a new instance of the customer comment dialog.
|
Modifier and Type | Method and Description |
---|---|
void | cancelPressed()
This method is called when the cancel button is pressed.
|
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.widgets.Control | createDialogArea(org.eclipse.swt.widgets.Composite parent)
This method creates and returns the contents of the upper part of the dialog (above the button bar).
|
protected abstract java.lang.String | getAction()
This method returns the action that will be performed when the OK button is pressed.
|
protected java.lang.String | getButtonBarManagedCompositeId()
This method returns the button bar managed composite ID.
|
protected TelesalesProperties | getCustomerCommentParameters()
This method returns the parameters for the com.ibm.commerce.telesales.createCustomerComment or com.ibm.commerce.telesales.updateCustomerComment action.
|
protected java.lang.String | getDialogAreaManagedCompositeId()
This method returns the dialog area managed composite ID.
|
protected abstract java.lang.String | getHelpId()
This method retrieves the help context ID.
|
java.lang.Object | getResult()
This method returns the new customer comment.
|
void | okPressed()
This method is called when the ok button is pressed.
|
void | setResult(java.lang.Object data)
This method sets the new customer's comment when the OK button is pressed.
|
public static final java.lang.String COPYRIGHT
public CommentDialog()
protected java.lang.String getButtonBarManagedCompositeId()
protected java.lang.String getDialogAreaManagedCompositeId()
protected void configureShell(org.eclipse.swt.widgets.Shell newShell)
public void okPressed()
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
protected abstract java.lang.String getAction()
protected TelesalesProperties getCustomerCommentParameters()
protected abstract java.lang.String getHelpId()
public java.lang.Object getResult()
public void setResult(java.lang.Object data)
public void cancelPressed()