Reference > IBM Sales Center extension points


controlFactories

The com.ibm.commerce.telesales.widgets.controlFactories extension point is used to declare control factories for use in the IBM Sales Center user interface. Control factories are responsible for interpreting control declarations and constructing new configured control instances.


Identifier:

com.ibm.commerce.telesales.widgets.controlFactories


Description:

The com.ibm.commerce.telesales.widgets.controlFactories extension point is used to declare control factories for use in the IBM Sales Center user interface. Control factories are responsible for interpreting control declarations and constructing new configured control instances.


Configuration Markup:

<!ELEMENT extension ( controlFactory+)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED>

<!ELEMENT controlFactory EMPTY>

<!ATTLIST controlFactory

id CDATA #REQUIRED

factoryClass CDATA #REQUIRED

controlType CDATA #REQUIRED>

This element is used to describe configured control factories.


Examples:

    
<extension point=
 "com.ibm.commerce.telesales.widgets.controlFactories"
 >       

<controlFactory id=
 "com.ibm.commerce.telesales.widgets.readOnlyTextControlFactory"
 
                     factoryClass=
 "com.ibm.commerce.telesales.widgets.controls.ReadOnlyTextControlDescriptorFactory"
 
                     controlType=
 "readOnlyText"
 />       

<controlFactory id=
 "com.ibm.commerce.telesales.widgets.textControlFactory"
 
                     factoryClass=
 "com.ibm.commerce.telesales.widgets.controls.TextControlDescriptorFactory"
 
                     controlType=
 "text"
 />       

<controlFactory id=
 "com.ibm.commerce.telesales.widgets.labelControlFactory"
 
                     factoryClass=
 "com.ibm.commerce.telesales.widgets.controls.LabelControlDescriptorFactory"
 
                     controlType=
 "label"
 />       

<controlFactory id=
 "com.ibm.commerce.telesales.widgets.requiredLabelControlFactory"
 
                     factoryClass=
 "com.ibm.commerce.telesales.widgets.controls.RequiredLabelControlDescriptorFactory"
 
                     controlType=
 "requiredLabel"
 />       

<controlFactory id=
 "com.ibm.commerce.telesales.widgets.comboControlFactory"
 
                     factoryClass=
 "com.ibm.commerce.telesales.widgets.controls.ComboControlDescriptorFactory"
 
                     controlType=
 "combo"
 />       

<controlFactory id=
 "com.ibm.commerce.telesales.widgets.buttonControlFactory"
 
                     factoryClass=
 "com.ibm.commerce.telesales.widgets.controls.PushButtonControlDescriptorFactory"
 
                     controlType=
 "pushButton"
 />       

<controlFactory id=
 "com.ibm.commerce.telesales.widgets.checkBoxControlFactory"
 
                     factoryClass=
 "com.ibm.commerce.telesales.widgets.controls.CheckBoxControlDescriptorFactory"
 
                     controlType=
 "checkBox"
 />       

<controlFactory id=
 "com.ibm.commerce.telesales.widgets.radioButtonControlFactory"
 
                     factoryClass=
 "com.ibm.commerce.telesales.widgets.controls.RadioButtonControlDescriptorFactory"
 
                     controlType=
 "radioButton"
 />    

</extension>


API Information:

Control factories must implement com.ibm.commerce.telesales.widgets.controls.IControlDescriptorFactory

and create concrete instances of classes that subclass com.ibm.commerce.telesales.widgets.controls.ControlDescriptor

.


Supplied Implementation:

Control factories with the following types have been defined in the com.ibm.commerce.telesales.widgets

plug-in. Refer to the Javadoc documentation for the implementation class to learn more about the behavior and supported properties.


Related concepts

Control factories


+

Search Tips   |   Advanced Search