WebSphere Commerce EnterpriseWebSphere Commerce Professional

Editor pages extension point

The IBM Sales Center workbench provides the ability to provide a grouping of pages for an associated editor. The purpose of this extension point is to allow plug-ins to register their pages for a defined editor.

Identifier:

com.ibm.commerce.telesales.ui.editorPages

Description:

The IBM Sales Center workbench provides the ability to provide a grouping of pages for an associated editor. The purpose of this extension point is to allow plug-ins to register their pages for a defined editor.

Configuration Markup:

<!ELEMENT extension ( editor+)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED>

  • point - The fully qualified identifier of the target extension point.
  • id - An optional identifier for the target extension point
  • name - An optional name for the extension instance

<!ELEMENT editor ( page+)>

<!ATTLIST editor

id CDATA #REQUIRED

editorId CDATA #REQUIRED>

  • id - A unique name that will be used to identify this definition.
  • editorId - A unique name that will be used to identify the parent editor.

<!ELEMENT page EMPTY>

<!ATTLIST page

id CDATA #REQUIRED

name CDATA #REQUIRED

class CDATA #REQUIRED>

  • id - A unique name that will be used to identify this page.
  • name - A translatable name that will be used in the user interface for this page
  • class - The name of a class that implements com.ibm.commerce.telesales.ui.editors.IEditorPage.

Examples:

The following is an example for the editor page extension point:


   
 <extension 
       point=
 "com.ibm.commerce.telesales.ui.editorPages"
 > 
      
 <editor 
         id=
 "com.ibm.commerce.telesales.orderEditorPages"
  
         editorId=
 "com.ibm.commerce.telesales.orderEditor"
 > 
         
 <page 
            id=
 "com.ibm.commerce.telesales.orderFor"
 
            name=
 "Order By"
 
            class=
 "com.ibm.commerce.telesales.ui.impl.editors.order.OrderByPage"
 >
         
 </page>             
         
 <page 
            id=
 "com.ibm.commerce.telesales.orderItems"
 
            name=
 "Line Items"
 
            class=
 "com.ibm.commerce.telesales.ui.impl.editors.order.OrderItemsPage"
 >
         
 </page>             
         
 <page 
            id=
 "com.ibm.commerce.telesales.orderSummary"
 
            name=
 "Summary"
 
            class=
 "com.ibm.commerce.telesales.ui.impl.editors.order.OrderSummary"
 >
         
 </page>             
      
 </editor> 
   
 </extension> 

API Information:

The value of the attribute

class

should be the fully qualified name of a Java class that implements

com.ibm.commerce.telesales.ui.editors.IEditorPage

interface.

Supplied Implementation:

The workbench uses the editor pages when a IBM Sales Center Editor implementation is requested.