Reference > IBM Sales Center extension points
gridLayouts
The com.ibm.commerce.telesales.widgets.gridLayouts extension point is used to declare grid layouts for use in the IBM Sales Center user interface. Grid composite declarations can refer to grid layout declarations.
Identifier:
com.ibm.commerce.telesales.widgets.gridLayouts
Description:
The com.ibm.commerce.telesales.widgets.gridLayouts extension point is used to declare grid layouts for use in the IBM Sales Center user interface. Grid composite declarations can refer to grid layout declarations.
Configuration Markup:
<!ELEMENT extension ( gridLayout+)>
<!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 gridLayout
id CDATA #REQUIRED
horizontalSpacing CDATA "5"
verticalSpacing CDATA "5"
marginWidth CDATA "5"
marginHeight CDATA "5"
makeColumnsEqualWidth (true | false) "false"
numColumns CDATA "1">
This element is used to describe instances of org.eclipse.swt.layout.GridLayout objects. These declarations can be used by gridCompositeDefinition declarations of the com.ibm.commerce.telesales.widgets.compositeDefinitions extension point.
- id - Unique identifier for this grid layout declaration. Use this identifier to refer to this grid layout. It may be necessary to fully qualify references to this identifier if the reference is made from a different namespace context.
- horizontalSpacing - The number of pixels between the right edge of one cell and the left edge of its neighbouring cell to the right. The default value is 5.
- verticalSpacing - The number of pixels between the bottom edge of one cell and the top edge of its neighbouring cell underneath. The default value is 5.
- 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 5.
- 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 5.
- makeColumnsEqualWidth - Indicates that all columns in the layout will be forced to have the same width. The default value is false.
- numColumns - The number of cell columns in the layout. The default value is 1.
Examples:
<extension point= "com.ibm.commerce.telesales.widgets.gridLayouts" > <gridLayout id= "customerOrganizationNameLayout" marginWidth= "0" marginHeight= "0" numColumns= "3" /> </extension>
API Information:
See org.eclipse.swt.layout.GridLayout.
Supplied Implementation:
Many of the editors, dialogs, and views provided with the IBM Sales Center editor have been made use of the gridLayouts extension point in their declaration.
Related concepts
User Interface Layouts in the IBM Sales Center