public class DuplicateQuoteDialog extends ConfiguredTitleAreaDialog
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field
|
Constructor and Description |
---|
DuplicateQuoteDialog()
Construct a new duplicate quote dialog.
|
Modifier and Type | Method and Description |
---|---|
protected void | configureShell(org.eclipse.swt.widgets.Shell shell)
Configures the given shell with the following style SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL | SWT.RESIZE in preparation for opening this window in it.
|
protected org.eclipse.swt.widgets.Control | createDialogArea(org.eclipse.swt.widgets.Composite parent)
Creates and returns the contents of the upper part of the dialog (above the button bar).
|
protected Quote | duplicateQuote()
Initiates the duplicate quote request to create a quote.
|
protected java.lang.String | getButtonBarManagedCompositeId()
Returns the button bar managed composite ID.
|
protected java.lang.String | getDefaultMessage()
Returns the default message for this dialog.
|
protected java.lang.String | getDialogAreaManagedCompositeId()
Returns the dialog area managed composite ID.
|
protected TelesalesProperties | getDuplicateQuoteParameters()
Constructs the parameters for the duplicate quote request.
|
protected java.lang.String | getHelpContextId()
Gets the help context ID.
|
java.lang.Object | getResult()
Returns to the caller an Quote object if a duplicate quote is created else null.
|
protected java.lang.Boolean | isPaginationEnabled()
This method returns value whether pagination is enabled or not.
|
void | okPressed()
Method called when OK button is pressed.
|
protected void | setResult(java.lang.Object result)
Sets a Quote object as the output of this dialog.
|
public static final java.lang.String COPYRIGHT
public DuplicateQuoteDialog()
Key: DuplicateQuoteDialogWidgetManager.PROP_DUPLICATE_QUOTE_DIALOG
Value: this dialog
protected java.lang.String getButtonBarManagedCompositeId()
protected java.lang.String getDialogAreaManagedCompositeId()
protected void configureShell(org.eclipse.swt.widgets.Shell shell)
protected java.lang.String getHelpContextId()
protected java.lang.String getDefaultMessage()
public java.lang.Object getResult()
protected void setResult(java.lang.Object result)
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
public void okPressed()
protected Quote duplicateQuote()
protected TelesalesProperties getDuplicateQuoteParameters()
protected java.lang.Boolean isPaginationEnabled()