Reference > IBM Sales Center extension points
gridDatas
The com.ibm.commerce.telesales.widgets.gridDatas extension point is used to declare grid datas for use in the IBM Sales Center user interface. Grid composites declaration can refer to grid data declarations.
Identifier:
com.ibm.commerce.telesales.widgets.gridDatas
Description:
The com.ibm.commerce.telesales.widgets.gridDatas extension point is used to declare grid datas for use in the IBM Sales Center user interface. Grid composites declaration can refer to grid data declarations.
Configuration Markup:
<!ELEMENT extension ( gridData+)>
<!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 gridData ( style*)>
<!ATTLIST gridData
id CDATA #REQUIRED
horizontalSpan CDATA "1"
verticalSpan CDATA "1"
widthHint CDATA "-1"
heightHint CDATA "-1"
horizontalIndent CDATA "0">
This element is used to describe instances of org.eclipse.swt.layout.GridData 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 data declaration. Use this identifier to refer to this grid data. It may be necessary to fully qualify references to this identifier if the reference is made from a different namespace context.
- horizontalSpan - The number of column cells that the control will occupy. The default value is 1.
- verticalSpan - The number of row cells that the control will occupy. The default value is 1.
- widthHint - The minimum width for the column. A value of -1 indicates that no minimum width is specified. The default value is -1.
- heightHint - The minimum height for the row. A value of -1 indicates that no minimum height is specified. The default value is -1.
- horizontalIndent - The number of pixels of indentation that will be placed along the left side of the cell. The default value is 0.
Use this element to specify a GridData style. The following style values are recognized:
- FILL_BOTH
- FILL_HORIZONTAL
- FILL_VERTICAL
- GRAB_HORIZONTAL
- GRAB_VERTICAL
- HORIZONTAL_ALIGN_BEGINNING
- HORIZONTAL_ALIGN_CENTER
- HORIZONTAL_ALIGN_END
- HORIZONTAL_ALIGN_FILL
- VERTICAL_ALIGN_BEGINNING
- VERTICAL_ALIGN_CENTER
- VERTICAL_ALIGN_END
- VERTICAL_ALIGN_FILL
Examples:
<extension point= "com.ibm.commerce.telesales.widgets.gridDatas" > <gridData id= "customerOrganizationNameGridData" > <style>VERTICAL_ALIGN_BEGINNING </style> <style>GRAB_HORIZONTAL </style> <style>HORIZONTAL_ALIGN_FILL </style> </gridData> <gridData id= "customerOrganizationNameFieldGridData" horizontalIndent= "5" > <style>HORIZONTAL_ALIGN_BEGINNING </style> <style>GRAB_HORIZONTAL </style> <style>HORIZONTAL_ALIGN_FILL </style> <style>VERTICAL_ALIGN_CENTER </style> </gridData> </extension>
API Information:
See org.eclipse.swt.layout.GridData
.
Supplied Implementation:
Many of the editors, dialogs, and views provided with the IBM Sales Center editor have made use of the gridDatas extension point in their declaration.