Develop > Presentation layer > Customize IBM Sales Center > Editors


Add an editor

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.

To add a new editor to the IBM Sales Center, follow these steps:


Procedure

  1. 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.

  2. To ensure that the pages the 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.

  3. Add editor pages to the editor. Note that these pages must implement the EditorPage interface.

  4. Use the TelesalesEditorFactory Java class to open the editor. Refer to the API documentation for TelesalesEditorFactory for information about this class.


Results


Related concepts

Editors


Related tasks

Remove an editor

Replace an editor

Extend an editor

Related reference

IBM Sales Center samples: Actions, dialogs, editors and requests


+

Search Tips   |   Advanced Search