Reference > IBM Sales Center extension points


controls

The com.ibm.commerce.telesales.widgets.controls extension point is used to declare controls for use in the IBM Sales Center user interface. Controls can be added to and removed from existing user interfaces or assembled together into a new user interface.


Identifier:

com.ibm.commerce.telesales.controls.controls


Description:

The com.ibm.commerce.telesales.widgets.controls extension point is used to declare controls for use in the IBM Sales Center user interface. Controls can be added to and removed from existing user interfaces or assembled together into a new user interface.


Configuration Markup:

<!ELEMENT extension ( control+)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED>

<!ELEMENT control ( property*)>

<!ATTLIST control

id CDATA #REQUIRED

type CDATA #IMPLIED

required (true | false)

tooltip CDATA #IMPLIED

font CDATA #IMPLIED

enabled (true | false)

modelPath CDATA #IMPLIED

editable (true | false)

fieldId CDATA #IMPLIED

managerType CDATA #IMPLIED

text CDATA #IMPLIED

userData (true | false)

selection (true | false)

referenceId CDATA #IMPLIED

label CDATA #IMPLIED

multi (true | false)

single (true | false)

check (true | false)

tableDefinitionId CDATA #IMPLIED

compositeDefinitionId CDATA #IMPLIED

validatorType CDATA #IMPLIED

imagePath CDATA #IMPLIED

activityId CDATA #IMPLIED

selectedValue CDATA #IMPLIED

deselectedValue CDATA #IMPLIED

verifyListenerType CDATA #IMPLIED

defaultValue CDATA #IMPLIED

textLimit CDATA #IMPLIED

setFocus CDATA #IMPLIED

childControlId CDATA #IMPLIED

textAlignment (trail|lead)

background CDATA #IMPLIED

foreground CDATA #IMPLIED

formatterType CDATA #IMPLIED

border (true | false)

treePath CDATA #IMPLIED

saveOnModify (true | false) >

This element is used to describe configured controls.

<!ELEMENT property ( value* | property*)>

<!ATTLIST property

name CDATA #REQUIRED

value CDATA #IMPLIED>

This element is used to describe a control property. The property will be available to the control factory when the control is created and to the widget manager when the control is being managed. This attribute can be used to indicate to the "combo" control factory the list of combo values by specifying the list with a property name "list".

<!ELEMENT value (#PCDATA)>

Value element. Use this element to provide a property value. This element can be used if the property represents a list.


Examples:

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

<control
      id=
 "customerOrganizationGroupLabel"
 
      type=
 "label"
 
      text=
 "CustomerIdentityPage.customerOrganizationGroup"
 
      font=
 "org.eclipse.jface.bannerfont"
 /> 
<control
      id="customerOrganizationGroupLabel"
      type="cLabel"
      text="CustomerIdentityPage.customerOrganizationGroup"
      font="org.eclipse.jface.bannerfont"/>    

<control
      id=
 "customerOrganizationNameLabel"
 
      type=
 "requiredLabel"
 
      text=
 "CustomerIdentityPage.customerOrganizationName"
 
      fieldId=
 "customerOrganizationNameField"
 />    

<control
      id=
 "customerOrganizationNameField"
 
      type=
 "text"
 
      tooltip=
 "CustomerIdentityPage.customerOrganizationNameTooltip"
 
      label=
 "CustomerIdentityPage.customerOrganizationName"
 
      modelPath=
 "organization.organizationName"
 
      managerType=
 "customerEditor"
 
      required=
 "true"
 
      editable=
 "false"
 /> 
</extension>


API Information:

Configured controls can be created using the control factory. Refer to com.ibm.commerce.telesales.widgets.controls.ControlFactory

for more information.


Supplied Implementation:

Many of the editors, dialogs, and views provided with the IBM Sales Center editor have declared their user interface controls using the controls extension point.


Related concepts

Control factories


Related tasks

Add a dialog

Modify a dialog

Modify a page in an editor

Move a user interface element between dialogs or editor pages


+

Search Tips   |   Advanced Search