WebSphere Commerce EnterpriseWebSphere Commerce Professional

stackLayouts

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

Identifier:

com.ibm.commerce.telesales.widgets.stackLayouts

Description:

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

Configuration Markup:

<!ELEMENT extension ( stackLayout*)>

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

<!ATTLIST stackLayout

id CDATA #REQUIRED

marginWidth CDATA "0"

marginHeight CDATA "0">

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

  • id - Unique identifier for this stack layout declaration. Use this identifier to refer to this stack layout. It may be necessary to fully qualify references to this identifier if the reference is made from a different namespace context.
  • 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.stackLayouts"
 >
   
 <stackLayout
      id=
 "standardStackLayout"
 
      marginWidth=
 "5"
 
      marginHeight=
 "5"
 />
 </extension>

API Information:

See org.eclipse.swt.layout.StackLayout.

Supplied Implementation:

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