public class QuoteCommentsConfigurablePage extends TelesalesConfigurableOrderPage implements IWidgetManagerListener
This page can be extended.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field
|
protected static java.lang.String | EDITOR_PAGE_ID
Editor Page Id.
|
protected static java.lang.String | INPUT_PROP_ADD_COMMENT_EMAIL_SUBJECT
Comment input property name.
|
protected static java.lang.String | INPUT_PROP_EDITOR_INPUT
Editor input property name.
|
protected static java.lang.String | INPUT_PROP_PART_CONTROL
Page part control input property name.
|
protected static java.lang.String | INPUT_PROP_SALES_CONTAINER
Sales Container input property name.
|
protected static java.lang.String | INPUT_PROP_SALES_CONTAINER_COMMENT
Comment input property name.
|
static java.lang.String | PAGINATION_BAR_COMPOSITE_ID
Pagination bar managed composite ID.
|
static java.lang.String | QUOTE_BUTTON_BAR_COMPOSITE_ID
Quote editor button bar managed composite name.
|
static java.lang.String | QUOTE_COMMENTS_MANAGED_COMPOSITE_ID
Quote comments managed composite ID.
|
Constructor and Description |
---|
QuoteCommentsConfigurablePage()
Creates an editor page instance.
|
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.swt.widgets.Control | createPageContent(org.eclipse.swt.widgets.Composite parent)
Creates the page content.
|
protected void | createQuoteComment()
Indicates that an Add comment action is required.
|
void | doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
Saves the contents of this page.
|
protected void | findQuoteComments(Quote quote)
Initiates the com.ibm.commerce.telesales.findQuoteComments request for the given Quote object.
|
protected java.lang.String | getButtonBarManagedCompositeId()
This method returns the button bar managed composite ID.
|
protected TelesalesProperties | getFindQuoteCommentsParameters(Quote quote)
Deprecated.
do not use this method for any customization, rather use action class.
|
java.lang.String | getHelpContextId()
Retrieve the page's help context id (value ITelesalesHelpContextIds.QUOTE_COMMENTS_EDITOR_PAGE).
|
java.lang.String | getHelpResource()
Returns the help resource url.
|
protected java.lang.String | getPageContentManagedCompositeId()
This method returns the page content managed composite ID.
|
java.lang.String | getTitle()
Returns the title of the Editor.
|
protected java.lang.String | getTopButtonBarManagedCompositeId()
This method returns top button bar managed composite ID.
|
void | refresh()
This method refreshes the editor page by refreshing the page managed composite and button managed composite.
|
void | widgetManagerChanged(WidgetManagerEvent widgetManagerEvent)
Handles widget manager events.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String QUOTE_COMMENTS_MANAGED_COMPOSITE_ID
public static final java.lang.String QUOTE_BUTTON_BAR_COMPOSITE_ID
protected static final java.lang.String INPUT_PROP_SALES_CONTAINER
protected static final java.lang.String INPUT_PROP_EDITOR_INPUT
protected static final java.lang.String INPUT_PROP_PART_CONTROL
protected static final java.lang.String INPUT_PROP_SALES_CONTAINER_COMMENT
protected static final java.lang.String INPUT_PROP_ADD_COMMENT_EMAIL_SUBJECT
public static final java.lang.String PAGINATION_BAR_COMPOSITE_ID
protected static final java.lang.String EDITOR_PAGE_ID
public QuoteCommentsConfigurablePage()
public java.lang.String getHelpContextId()
public void widgetManagerChanged(WidgetManagerEvent widgetManagerEvent)
protected org.eclipse.swt.widgets.Control createPageContent(org.eclipse.swt.widgets.Composite parent)
Key: INPUT_PROP_SALES_CONTAINER
Value: Current editor's Quote object
Key: INPUT_PROP_PART_CONTROL
Value: Current editor part's Control object
Key: INPUT_PROP_EDITOR_INPUT
Value: Current editor's IEditorInput object
public java.lang.String getHelpResource()
public java.lang.String getTitle()
public void refresh()
protected java.lang.String getButtonBarManagedCompositeId()
protected java.lang.String getTopButtonBarManagedCompositeId()
protected java.lang.String getPageContentManagedCompositeId()
public void doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
protected void createQuoteComment()
This method sends a request to add the quote comment. The request ID is com.ibm.commerce.telesales.addQuoteComment.
protected void findQuoteComments(Quote quote)
protected TelesalesProperties getFindQuoteCommentsParameters(Quote quote)