WebSphere Commerce EnterpriseWebSphere Commerce Professional

Statusline contribution items

The IBM Sales Center workbench provides the ability to provide a contribution item for the status line manager that is displayed for a perspective. The purpose of this extension point is to allow plug-ins to register their contributions.

Identifier:

com.ibm.commerce.telesales.ui.statusLineContributions

Description:

The IBM Sales Center workbench provides the ability to provide a contribution item for the status line manager that is displayed for a perspective. The purpose of this extension point is to allow plug-ins to register their contributions.

Configuration Markup:

<!ELEMENT extension ( contributionItem+)>

<!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 contributionItem ( perspectiveId+)>

<!ATTLIST contributionItem

id CDATA #REQUIRED

class CDATA #REQUIRED>

Contribution set.

  • id - An unique identifier that will be used to identify this contribution set.
  • class - The target class must extend the class org.eclipse.jface.action.ContributionItem.

<!ELEMENT perspectiveId EMPTY>

The identifier of the perspective where contribution item will be displayed.

Examples:

The following is an example for the statusline contribution extension point:


   
 <extension
         point=
 "com.ibm.commerce.telesales.ui.statusLineContributions"
 >
      
 <contributionItem
            id=
 "com.ibm.commerce.telesales.OperatorContributionItem"
 
            class=
 "com.ibm.commerce.telesales.ui.impl.statusline.OperatorContributionItem"
 >
            
 <perspectiveId>
               com.ibm.commerce.telesales.ordersPerspective
            
 </perspectiveId>
      
 </contributionItem>
      
 <contributionItem
            id=
 "com.ibm.commerce.telesales.OrderStatusContributionItem"
 
            class=
 "com.ibm.commerce.telesales.ui.impl.statusline.OrderStatusContributionItem"
 >
            
 <perspectiveId>
               com.ibm.commerce.telesales.ordersPerspective
            
 </perspectiveId>
      
 </contributionItem>
   
 </extension>

API Information:

Value of the attribute

class

must be the fully qualified name of a Java class that extends

org.eclipse.jface.action.ContributionItem

interface.

Supplied Implementation:

The workbench uses the status line contributions when the status line is constructed for a perspective. When the user changes perspectives, the contributions will be removed if that perspective was not listed within the extension definition.