public abstract class TelesalesReturnConfigurablePage extends TelesalesConfigurableEditorPage
Modifier and Type | Field and Description |
---|---|
static java.lang.String | APPROVE_MODE
Mode constant (value 1) which identifies Approved mode for an existing return.
|
static java.lang.String | CANCEL_MODE
Mode constant (value 3) which identifies Cancelled mode CLO CAN for an existing return.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field
|
static java.lang.String | CREATE_EDIT_MODE
Mode constant (value 0) which identifies all add update submit allowed in return.
|
static java.lang.String | PND_MODE
Mode constant (value 2) which identifies PND mode for an existing return.
|
static java.lang.String | RETURN_BUTTON_BAR_MANAGED_COMPOSITE_ID
Comment button bar managed composite ID.
|
Constructor and Description |
---|
TelesalesReturnConfigurablePage()
Creates an editor page instance.
|
Modifier and Type | Method and Description |
---|---|
protected void | approvePressed()
This method notifies that the Approve button of this page has been pressed.
|
protected void | cancelPressed()
This method notifies that the Cancel button of this page has been pressed.
|
void | doOpenReceiptDialog()
This method opens the view receipt Dialog
|
void | doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
This method saves the current return by submitting it
|
protected void | editPressed()
This method notifies that the Edit button of this page has been pressed.
|
java.lang.Object | getAdapter(java.lang.Class adapter)
This method returns an object which is an instance of the given class associated with this object.
|
protected java.lang.String | getButtonBarManagedCompositeId()
This method returns the button bar managed composite id.
|
java.lang.String | getMode_()
This method returns existing mode.
|
void | init(org.eclipse.ui.IEditorSite site, org.eclipse.ui.IEditorInput input)
This method initializes the page content with the editor input.
|
void | setDirty(boolean dirty)
This method marks the page dirty.
|
void | setMode_(java.lang.String mode)
This method sets the mode.
|
protected void | submitPressed()
This method notifies that the Submit button of this page has been pressed.
|
void | widgetManagerChanged(WidgetManagerEvent widgetManagerEvent)
This method handles widget manager events.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CREATE_EDIT_MODE
public static final java.lang.String APPROVE_MODE
public static final java.lang.String PND_MODE
public static final java.lang.String CANCEL_MODE
public static final java.lang.String RETURN_BUTTON_BAR_MANAGED_COMPOSITE_ID
public TelesalesReturnConfigurablePage()
public void init(org.eclipse.ui.IEditorSite site, org.eclipse.ui.IEditorInput input)
Sets the Return type and mode.
public java.lang.Object getAdapter(java.lang.Class adapter)
This implementation supports Return, which indicates an update is required of the Return input.
Returns null if no such object can be found.
public void setDirty(boolean dirty)
Subclasses should call this method as a result of user interaction with the widgets in the page.
public void widgetManagerChanged(WidgetManagerEvent widgetManagerEvent)
public java.lang.String getMode_()
public void setMode_(java.lang.String mode)
protected void cancelPressed()
The TelesalesEditorPage implementation of this framework method fires a property event to the parent editor notifying the editor to cancel and close.
Subclasses may override.
protected void submitPressed()
The TelesalesEditorPage implementation of this framework method fires a property event to the parent editor notifying the editor to cancel and close.
Subclasses may override.
protected void editPressed()
Subclasses may override.
protected void approvePressed()
The TelesalesEditorPage implementation of this framework method fires a property event to the parent editor notifying the editor to cancel and close.
Subclasses may override.
public void doOpenReceiptDialog()
protected java.lang.String getButtonBarManagedCompositeId()
public void doSave(org.eclipse.core.runtime.IProgressMonitor monitor)