WebSphere Commerce EnterpriseWebSphere Commerce Professional

formLayouts

The com.ibm.commerce.telesales.widgets.formLayouts extension point is used to declare form layouts for use in the IBM Sales Center user interface. Form composite declarations can refer to form layout declarations.

Identifier:

com.ibm.commerce.telesales.widgets.formLayouts

Description:

The com.ibm.commerce.telesales.widgets.formLayouts extension point is used to declare form layouts for use in the IBM Sales Center user interface. Form composite declarations can refer to form layout declarations.

Configuration Markup:

<!ELEMENT extension ( formLayout*)>

<!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 formLayout EMPTY>

<!ATTLIST formLayout

id CDATA #REQUIRED

spacing CDATA "0"

marginWidth CDATA "0"

marginHeight CDATA "0">

This element is used to describe instances of org.eclipse.swt.layout.FormLayout objects. These declarations can be used by formCompositeDefinition declarations of the com.ibm.commerce.telesales.widgets.compositeDefinitions extension point.

  • id - Unique identifier for this form layout declaration. Use this identifier to refer to this form layout. It may be necessary to fully qualify references to this identifier if the reference is made from a different namespace context.
  • spacing - The number of pixels between the edge of one control and the edge of its neighbouring control. The default value is 0.
  • marginWidth - The number of pixels of horizontal margin that will be placed along the left and right edges of the layout. The default value is 0.
  • marginHeight - The number of pixels of vertical margin that will be placed along the top and bottom edges of the layout. The default value is 0.

Examples:


 <extension point=
 "com.ibm.commerce.telesales.widgets.formLayouts"
 >
   
 <formLayout
      id=
 "standardFormLayout"
 
      marginWidth=
 "5"
 
      marginHeight=
 "5"
 />
 </extension>

API Information:

See org.eclipse.swt.layout.FormLayout.

Supplied Implementation:

Many of the editors, dialogs, and views provided with the IBM Sales Center editor have made use of the formLayouts extension point in their declarations.