There are several types of editors in the IBM Sales Center.
These editors are used to create and manage orders, quotes, ticklers,
returns, and customers. Editors are where the Customer Service Representatives
do the majority of their work. This section explains how to add an
editor.
Before you begin
If the com.ibm.commerce.telesales.ui.editors
plugin
is needed to add an editor. To add a plugin:
- In Sales Center development environment, select
- Click the Add button to launch the target provisioners wizard
- Select File System to add a plugin from
one or more folders on your file system.
- Click Next and then click Add.
- Browse to the directory that contains the
com.ibm.commerce.telesales.ui.editors
plugin.
- Click Finish.
- Check Group plug-ins by location on the
Target Platform window to view the plugin locations
- Uncheck and Expand the newly added plugin Location to add the
subset of plugins
- Select the desired plugin then click Apply and OK.
About this task
To add a new editor to the IBM Sales Center, follow these
steps:
Procedure
- Define the new editor using the org.eclipse.ui.editors
extension point. This is a base Eclipse extension point. Refer to
the Base Eclipse platform documentation for information about using
this extension point.
- If you want to ensure that the pages your editor uses can
be modified using the com.ibm.commerce.telesales.editorPages extension
point, then create an editor implementation Java class that extends
the TelesalesMultiPageEditor abstract class. The IBM Sales Center
has a number of base classes in the com.ibm.commerce.telesales.ui.editors
package that can be subclassed to create editors and editor pages.
- TelesalesMultiPageEditor
- A base class for a multipage editor.
- EditorPage
- A base class that all pages in a TelesalesMultiPageEditor must
subclass.
- TelesalesEditorPage
- A subclass of EditorPage that provides support for common toolbar
and button bar area.
- TelesalesConfigurableEditorPage
- A subclass of TelesalesEditorPage that provides support for defining
the editor page using managed composites.
- TelesalesEditorPart
- A base class for a single page editor
- TelesalesConfigurableEditorPart
- A subclass of TelesalesEditorPart that provides support for defining
the editor using managed composites.
- Add editor pages to your editor. Note that these pages
must implement the EditorPage interface.
- Use the TelesalesEditorFactory Java class to open your
editor. Refer to the API documentation for TelesalesEditorFactory
for information about this class.