Reference > IBM Sales Center extension points
rowLayouts
The com.ibm.commerce.telesales.widgets.rowLayouts extension point is used to declare row layouts for use in the Multi-Channel Sales Center user interface. Row composite declarations can refer to row layout declarations.
Identifier:
com.ibm.commerce.telesales.widgets.rowLayouts
Description:
The com.ibm.commerce.telesales.widgets.rowLayouts extension point is used to declare row layouts for use in the Multi-Channel Sales Center user interface. Row composite declarations can refer to row layout declarations.
Configuration Markup:
<!ELEMENT extension ( rowLayout*)>
<!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.
<!ATTLIST rowLayout
marginHeight CDATA #IMPLIED
marginWidth CDATA #IMPLIED
marginTop CDATA #IMPLIED
marginBottom CDATA #IMPLIED
marginRight CDATA #IMPLIED
marginLeft CDATA #IMPLIED
fill (true | false)
wrap (true | false)
justify (true | false)
pack (true | false)
type (HORIZONTAL|VERTICAL)
id CDATA #REQUIRED
spacing CDATA #IMPLIED>
- marginHeight - The number of pixels of vertical margin that will be placed along the top and bottom edges of the layout.
- marginWidth - Specifies the number of pixels of horizontal margin that will be placed along the left and right edges of the layout.
- marginTop - Specifies the number of pixels of vertical margin that will be placed along the top edge of the layout.
- marginBottom - The number of pixels of vertical margin that will be placed along the bottom edge of the layout.
- marginRight - The number of pixels of horizontal margin that will be placed along the right edge of the layout.
- marginLeft - The number of pixels of horizontal margin that will be placed along the left edge of the layout.
- fill - Specifies whether the controls in a row should be all the same height for horizontal layouts, or the same width for vertical layouts.
- wrap - Specifies whether a control will be wrapped to the next row if there is insufficient space on the current row.
- justify - Specifies whether the controls in a row should be fully justified, with any extra space placed between the controls.
- pack - Specifies whether all controls in the layout take their preferred size. If pack is false, all controls will have the same size which is the size required to accommodate the largest preferred height and the largest preferred width of all the controls in the layout.
- type - Specifies whether the layout places controls in rows or columns.
- id - Unique identifier for this row 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 - Specifies the number of pixels between the edge of one cell and the edge of its neighbouring cell.
Examples:
<extension point="com.ibm.commerce.telesales.widgets.rowLayouts"> <rowLayout id="buttonBarRowLayout" spacing="5" marginHeight="8" marginWidth="9"/> </extension>
API Information:
See org.eclipse.swt.layout.RowLayout.
Supplied Implementation:
Many of the editors, dialogs, and views provided with the Multi-Channel Sales Center editor have been made use of the rowLayouts extension point in their declaration.
Related concepts
User Interface Layouts in the IBM Sales Center