4.7 Reference A: Guidesigner Model

The following graphic is an overview about the underlying object model of the Guidesigner:

object model

Figure 4.66. object model


In addition there is a separate object model about validator mapping:

object model validators

Figure 4.67. object model validators


Last but not least there is a separate object model for Businessdata attachment:

object model business data attachements

Figure 4.68. object model business data attachements


The following table holds links to further description of the object in the model.

TypeReferences to detailed Description

XMA Component

XMA Component(XMA Component)

XMA Page

Embedded Page(Embedded Page)

 

Notebook Page(Notebook Page)

 

XMA DialogPage(XMA Dialog Page)

 AppShell(AppShell)

XMA Widget

CheckButton(Check Button)

 

DatePicker(DatePicker)

 

Hidden Widget(Hidden Widget)

 

Page Composite(Page Composite)

 

Push Button(Push Button)

 

Radio Button(Radio Button)

 

Simple Combo(Simple Combo)

 

XMA Combo(XMA Combo)

 

XMA Composite(XMA Composite)

 

XMA Container(XMA Container)

 

XMA Grid(XMA Grid)

 

XMA Group(XMA Group)

 

XMA Label(XMA Label)

 

XMA List(XMA List)

 

XMA Sashform(XMA Sashform)

 

XMA Separator(XMA Separator)

 

XMA Scrolled Composite(XMA Scrolled Composite)

 

XMA Tabfolder(XMA Tabfolder)

 

XMA Table(XMA Table)

 

XMA Text(XMA Text)

 

XMA Tree(XMA Tree)

XMA Table

XMA Tablecolumn(XMA Tablecolumn)

XMA CompProperty

XMA CompProperty(XMA CompProperty)

Table 4.9. References


In the context of XMA, a component is a jar file consisting of java runtime ressources of the presentation component's client half. If you select a component you may see the information shown in the following table with the Property View.

The column editable provide information whether the property is editable in the Guidesigner. Learn more about correspondent SWT concepts in Standard Widget Toolkit


Learn more about components in Chapter Implementing a Component(Programming a Component).

An Embedded Page represents a UI component, that could be reused from other pages. An Embedded Page is mapped to a SWT Composite. If you select an Embedded Page you may see the information shown in the following table with the Property View.

The column editable provide information whether the property is editable in the Guidesigner. At this time there exists no correspondent SWT concepts in Standard Widget Toolkit


To use an Embedded Pages you have to contain the page in a XMA Container(XMA Container). Then the height and width of the Embedded Page is decided through the size of the container. Learn more about Embedded Pages in Chapter Embedded Page(Embedded Page) respective in chapter Embedded Component(Embedded Component).

A Notebook Page contains all Information that are logically assigned to one Tab Item of the Tab Control of the StyleGuide. A Notebook Page is always embedded in aXMA TabFolder(XMA Tabfolder).

A Notebook Page is mapped with SWT TabItem Widget and a SWT Composite. If you select an Notebook Page you may see the information shown in the following table with the Property View.

The column editable provide information whether the property is editable in the Guidesigner. Learn more about correspondent SWT concepts in Standard Widget Toolkit


Learn more about Pages in Chapter Page Types(Page Types).

A DialogPage is mapped to a SWT Shell and represents the diolog concepts in the StyleGuide. Every Dialog Page has a Statusbar where messages to the User are presented. If you select a Dialog Page you may see the information shown in the following table with the Property View.

The column editable provide information whether the property is editable in the Guidesigner. Learn more about correspondent SWT concepts in Standard Widget Toolkit

PropertyTypeDescriptionEditable
ClassNameStringName of the Class of the GUI Page.X
HeightintHeight of the Dialog Page in pixel. If Height and Width are both 0, the size of the Dialog Page is determined by the size of its content, by using SWTs pack() method. If the Dialog Page is embedded, Height is used only at design time, at runtime the containers height is used.X
HelpUri

XMAUri (String)

The Uri to the help content of this component which may be absolute or relative to the webapp. default relative uri to webapp: help/<packagename>/<classname>.html

X
Horizontal Start Positionint

X-Coordinate of the left upper position of the Dialog relative to the parent window or the display, when no parent window is available. Default: -1 means center of dialog is in the middle of screen used to set: org.eclipse.swt.widgets.Control.location

X
ImageUriDialog

The relative Uri to the image label of the title bar. As workaround push the 'Cancel' button in the Uri Dialog to remove an ImageUri. used to fill: org.eclipse.swt.widgets.Shell.Image

X
Initial Focus WidgetSelectionList

Used to set which widget of the dialogs page composite has the focus on dialog start. maps to: of org.eclipse.swt.widgets.Control.setFocus

X
Instance NameStringThe instance name of the of the page in the context of an component.X
LabelString

Label of the Dialog. This property ise loaded/saved in the particular Resource bundle dependent of the actual language of the XMA Component. maps to: org.eclipse.swt.widgets.Shell.Text

X
Minimal Heightint

Minimal height of the Dialog in pixel. Resize events after reaching this value are ignored.

X
Minimal Widthint

Minimal width of the Dialog in pixel. Resize events after reaching this value are ignored.

X
ModalitySelectionList

The modality property of an dialog. style of org.eclipse.swt.widgets.Shell Possible Values:

  • PRIMARY_MODAL

  • APPLICATION_MODAL

  • MODELESS

X
Vertical Start Positionint

Y-Coordinate of the left upper position of the Dialog relative to the parent window or the display, when no parent window available. Default: -1 means center of dialog is in the middle of screen used to set: org.eclipse.swt.widgets.Control.location

X
WidthintWidth of the Page in pixel. If Height and Width are both 0, the size of the Dialog Page is determined by the size of its content, by using SWTs pack() method. If the Dialog Page is embedded, Width is used only at design time, at runtime the containers width is used.X
YN Closeboolean

True, if the Close window button is to be shown Style of org.eclipse.swt.widgets.Shell

X
YN Max TitleBar Buttonboolean

True, if the maximize window button is to be shown Style of org.eclipse.swt.widgets.Shell

X
YN Min TitleBar Buttonboolean

True, if the minimize window button is to be shown Style of org.eclipse.swt.widgets.Shell

X
YN Model Lazy GeneratedbooleanIf true, the models of the underlying widgets are build at construction time.X
YN Resizeable Dialogboolean

True, if the Dialog is resizeable Style of org.eclipse.swt.widgets.Shell

X
YN StatelessbooleanTrue, if the underlying page is stateless.X

Table 4.17. XMA Dialog Page Properties


Learn more about Pages in Chapter Implementing a Client Page(Programming a Client Side Page)and other Chapters.

An AppShell represents a window with a menu, a header area showing context information and a client area where different components are embedded dynamically depending on the menu item currently selected. For information about how to use AppShell please read Application Shell.

AppShell is derived from XMA Dialog Page (XMA Dialog Page) and inherits all its properties. The property specific for AppShell is Menu Type, which defines how the menu is implemented.

PropertyTypeDescriptionEditable
ClassNameStringName of the Class of the GUI Page.X
HeightintHeight of the Page in pixel. This height is only used to design the page. At the time the page is embedded, the containers height is used.X
HelpUri

XMAUri (String)

The Uri to the help content of this component which may be absolute or relative to the webapp. default relative uri to webapp: help/<packagename>/<classname>.html

X
Horizontal Start Positionint

X-Coordinate of the left upper position of the Dialog relative to the parent window or the display, when no parent window is available. Default: -1 means center of dialog is in the middle of screen used to set: org.eclipse.swt.widgets.Control.location

X
ImageUriDialog

The relative Uri to the image label of the title bar. As workaround push the 'Cancel' button in the Uri Dialog to remove an ImageUri. used to fill: org.eclipse.swt.widgets.Shell.Image

X
Initial Focus WidgetSelectionList

Used to set which widget of the dialogs page composite has the focus on dialog start. maps to: of org.eclipse.swt.widgets.Control.setFocus

X
Instance NameStringThe instance name of the of the page in the context of an component.X
LabelString

Label of the Dialog. This property ise loaded/saved in the particular Resource bundle dependent of the actual language of the XMA Component. maps to: org.eclipse.swt.widgets.Shell.Text

X
Menu TypeSelectionListDefines which kind of menu representation should be used. The possibilities are:
  • SWT_MENU the menu is represented by standard windows menus using the SWT class Menu. The base class for the page will be MenuAppShell.

  • TREE_MENU the menu is represented by a tree like the navigation area of web style applications. The base class for the page will be TreeMenuAppShell.

X
Minimal Heightint

Minimal height of the Dialog in pixel. Resize events after reaching this value are ignored.

X
Minimal Widthint

Minimal width of the Dialog in pixel. Resize events after reaching this value are ignored.

X
ModalitySelectionList

The modality property of an dialog. style of org.eclipse.swt.widgets.Shell Possible Values:

  • PRIMARY_MODAL

  • APPLICATION_MODAL

  • MODELESS

X
Vertical Start Positionint

Y-Coordinate of the left upper position of the Dialog relative to the parent window or the display, when no parent window available. Default: -1 means center of dialog is in the middle of screen used to set: org.eclipse.swt.widgets.Control.location

X
WidthintWidth of the Page in pixel. This width is only used to design the page. At the time the page is embedded, the containers width is used.X
YN Closeboolean

True, if the Close window button is to be shown Style of org.eclipse.swt.widgets.Shell

X
YN Max TitleBar Buttonboolean

True, if the maximize window button is to be shown Style of org.eclipse.swt.widgets.Shell

X
YN Min TitleBar Buttonboolean

True, if the minimize window button is to be shown Style of org.eclipse.swt.widgets.Shell

X
YN Model Lazy GeneratedbooleanIf true, the models of the underlying widgets are build at construction time.X
YN Resizeable Dialogboolean

True, if the Dialog is resizeable Style of org.eclipse.swt.widgets.Shell

X
YN StatelessbooleanTrue, if the underlying page is stateless.X

Table 4.19. AppShell Properties


A Check Button is mapped to a SWT Button Control with Style CHECK and represents a Check box in the StyleGuide.

If you select a Check Button you may see the information shown in the following table with the Property View.

The column editable provide information whether the property is editable in the Guidesigner. Learn more about correspondent SWT concepts in Standard Widget Toolkit

PropertyTypeDescriptionEditable
Align LabelSelectionList

The alignment property of the check button widget. style of org.eclipse.swt.widgets.Button Values: LEFT CENTER RIGHT

X
Business DataStringShows the Businessdata Attribute to which the actual widget is mapped. 
FormDataDialog

Shows the FormData settings of the actual widget. If you select this property theFormData Dialog(FormData Dialog)starts.

X
ImageUriDialog

The relative Uri to the image label. As workaround push the 'Cancel' button in the Uri Dialog to remove an ImageUri. maps to: org.eclipse.swt.widgets.Button.Image

X
Instance NameStringName of the instance of the model of this widget.X
LabelString

The text of the Label. This Property was loaded/saved in the particular Resource bundle dependent of the actual Language of the Component.

X
TooltipString

Tooltip text in the components language. maps to: org.eclipse.swt.widgets.Control.TooltipText

X
YN Borderboolean

True, if the Widget has a border. Style of org.eclipse.swt.widgets.Control Default: false

X
YN EditablebooleanIf false, the control couldn't be edited.X
YN Enabledboolean

True, if the widget is enabled (can grab focus). Maps to: org.eclipse.swt.widgets.Control.Enabled

X
YN Selection EventbooleanIf true, a selection event method is generated for a checkbutton.X
YN in Tab Sequenceboolean

False, if the widget doesn't attend in the tab sequence of the parent composite. Default: true

X
YN Visibleboolean

True, if the Widget is visible. Maps to: org.eclipse.swt.widgets.Control.Visible

X

Table 4.20. Check Button Properties


A DatePicker is a custom SWT Control designed for XMA to support date picking functionality. A DatePicker holds Date values. Formatting and validation occurs on basis of the DateValidator. A DatePicker consists of an SWT text widget (which is attached to a ISimpleWM ) and a SWT button of the style SWT.ARROW_DOWN. On button click a modal DatePicker dialog is started. By selecting a date the DatePicker dialog is closed and the selected date is written to the text widget, respectively to the attached ISimpleWM. Alternatively the DatePicker text widget itself can be edited, and the DatePicker dialog can also be started by pressing the arrow up and arrow down keys. The DatePicker and its dialog can be fully navigated by only using keys (tab, enter). If you select a DatePicker you may see the information shown in the following table with the Property View.

The column editable provide information whether the property is editable in the Guidesigner. At this time there exists no correspondent SWT concepts in Standard Widget Toolkit

PropertyTypeDescriptionEditable
AlignmentSelectionList

The alignment property of the Text widget. Default: for XMAText with BCDValidators assigned at the first time RIGHT else LEFT style of org.eclipse.swt.widgets.Text Values: LEFT CENTER RIGHT

X
Business DataStringShows the Businessdata Attribute to which the actual widget is mapped. 
Business Data ValidatorString

Shows the Validator of the the Businessdata Attribute. Properties of this Validator may be cross-faded through the properties of the Validator Property (see below). The Infos are used to generate a Validator for the actual widget. Learn more about Validators in Chapter Formatter.(Formatters/Validators)

 
FormDataDialog

Shows the FormData settings of the actual widget. If you select this property theFormData Dialog(FormData Dialog)starts.

X
Instance NameStringName of the instance of the model of this widget. The instance name of the widget is the same name with a 'L' postfix for labels and a 'W' postfix for all other widgets.X
LabelSelectionListContains the XMA Label widget, with which the actual widget is linked.X
TooltipString

Tooltip text in the components language. maps to: org.eclipse.swt.widgets.Control.TooltipText

X
ValidatorDialog

Shows Infos about the Validator of this widget. This Infos cross-fade the properties of the BusinessData Validator Property (see above). The Infos are used to generate a Validator for the actual widget. Only a DateValidator ( ADateFmt ) can be chosen. Learn more about Validators in ChapterFormatter.(Formatters/Validators)

X
YN Borderboolean

True, if the Widget has a border. Style of org.eclipse.swt.widgets.Control Default: true

X
YN EditablebooleanIf false, the control couldn't be edited.X
YN Enabledboolean

True, if the widget is enabled (can grab focus). Maps to: org.eclipse.swt.widgets.Control.Enabled

X
YN in Tab Sequenceboolean

False, if the widget doesn't attend in the tab sequence of the parent composite. Default: true

X
YN Visibleboolean

True, if the Widget is visible. Maps to: org.eclipse.swt.widgets.Control.Visible

X
Weekend StyleSelectionList

Style which is used to change the color of saturday and Sunday at the DatePicker Dialog. Values: NONE_RED no day is marked red WEEKEND_RED Saturday and Sunday are marked red SUNDAY_RED only Sunday is marked red

X

Table 4.21. DatePicker Properties


Learn more about Validators in ChapterFormatter.(Formatters/Validators)

A Hidden Widget may not be shown to the user. It is used to transport data between server and client to support additional gray logic.

If you select a Hidden Widget you may see the information shown in the following table with the Property View.

The column editable provide information whether the property is editable in the Guidesigner. Learn more about correspondent SWT concepts in Standard Widget Toolkit


A Page Composite is a special form of a XMA Composite(XMA Composite). A Page Composite contains all the widgets of a page. Because it may have no other widget as parent, there is no way to specify FormData to it. A Page Composite is mapped to a SWT Composite. If you select a Page Composite you may see the information shown in the following table with the Property View.

The column editable provide information whether the property is editable in the Guidesigner. Learn more about correspondent SWT concepts in Standard Widget Toolkit


Learn more about the role of a composite in the layout in Chapter Layouting(Layouting with the Guidesigner).

A Push Button is mapped to a SWT Button Control with Style PUSH and represents a Command Button in the StyleGuide.

If you select a Push Button you may see the information shown in the following table with the Property View.

The column editable provide information whether the property is editable in the Guidesigner. Learn more about correspondent SWT concepts in Standard Widget Toolkit


A Radio Button is mapped to a SWT Button Control with Style RADIO and represents a Option Button in the StyleGuide. Normally Radio Buttons are grouped together in a XMA Group(XMA Group) .

Radio Buttons in one group (actual Radio Buttons with the same parent) are building a single selection unit. The automatic single selection behauvior only works via the GUI, if a Radio Button is selected by an API call, the others have to be deselected.

Note a strange behauvior under Ms Windows: if a Radio Button is the very first widget in a page's tab order than it is automatically selected at Shell.open(), even if another Radio Button was selected before by an API call.

If you select a Radio Button you may see the information shown in the following table with the Property View.

The column editable provide information whether the property is editable in the Guidesigner. Learn more about correspondent SWT concepts in Standard Widget Toolkit


A Simple Combo represents Combos that have to be filled per hand and is mapped to a SWT Combo Widget and represents a Drop-Down List Boxes in the StyleGuide. If you select a Simple Combo you may see the information shown in the following table with the Property View.

The column editable provide information whether the property is editable in the Guidesigner. Learn more about correspondent SWT concepts in Standard Widget Toolkit

PropertyTypeDescriptionEditable
Business DataStringShows the Businessdata Attribute to which the actual widget is mapped. 
Business Data ValidatorString

Shows the Validator of the the Businessdata Attribute. Properties of this Validator may be cross-faded thru the properties of the Validator Property (see below). The Infos are used to generate a Validator for the actual widget. Learn more about Validators in Chapter Formatter.(Formatters/Validators)

 
FormDataDialog

Shows the FormData settings of the actual widget. If you select this property the FormData Dialog(FormData Dialog)starts.

X
Instance NameStringName of the instance of the model of this widget. The instance name of the widget is the same name with a 'L' postfix for labels and a 'W' postfix for all other widgets.X
LabelSelectionListContains the XMA Label widget, with which the actual widget is linked.X
TooltipString

Tooltip text in the components language. maps to: org.eclipse.swt.widgets.Control.TooltipText

X
ValidatorDialog

Shows Infos about the Validator of this widget. This Infos cross-fade the properties of the BusinessData Validator Property (see above). The Infos are used to generate a Validator for the actual widget. Learn more about Validators in Chapter Formatter.(Formatters/Validators)

X
YN Borderboolean

True, if the Widget has a border. Style of org.eclipse.swt.widgets.Control Default:true

X
YN DropDownboolean

If true, the combo turned out to be a drop down list. style of org.eclipse.swt.widgets.Combo

X
YN EditablebooleanIf false, the control couldn't be edited.X
YN Enabledboolean

True, if the widget is enabled (can grab focus). Maps to: org.eclipse.swt.widgets.Control.Enabled

X
YN in Tab Sequenceboolean

False, if the widget doesn't attend in the tab sequence of the parent composite. Default: true

X
YN ReadOnlyboolean

Values can be only selected but not entered in the combo. style of org.eclipse.swt.widgets.Combo. Uses keyboard selection algorithm of windows combo box.

X
YN Selection EventbooleanIf true a selection event method is generated.X
YN StrictbooleanIf true only values of the selection list may be selected/inputed. Uses prefix search algorithm of XMA.X
YN Visibleboolean

True, if the Widget is visible. Maps to: org.eclipse.swt.widgets.Control.Visible

X

Table 4.26. Simple Combo Properties


If the user should be able to enter values not contained in the drop down list, use YnReadOnly=false and YnStrict=false.

If the user should only be able to select values from the drop down list, the recommended way is to use YnReadOnly=true. It is also possible to achieve the same with YnStrict. If you want to know the differences, read on.

If YnReadOnly is set to false, the user can enter data into the text field of the combo box. The simple combo automatically performs a prefix search on every keystroke based on the currently entered data. If the drop down list of the combo contains an entry which starts with the current data of the text field, it is selected automatically. If more than one entry matches, the first matching is selected. The part of the data not entered by the user but determined by this prefix search is marked as selected and will be overwritten completely with the next keystroke leading to a new longer prefix for the next prefix search.

This is best shown by an example. Suppose you have created a simple combo with the following entries: 11235, 12345, 22222. Its properties are YnReadOnly=false, YnStrict=false. When the user presses the key "1", the combo will look like this:

The first entry starting with "1" has been chosen automatically. When the user now presses the key "2", the marked part of the data is replaced with this and a new search with the prefix "12" is performed, now finding 12345:
When the user now presses the key "2" again, a new search with the prefix "122" does not find an entry. So nothing is appended automatically and the combo shows just the entered data 122:
With YnStrict=false, the user my enter any data into the text field of the combo. The drop down list is only used to provide suggestions to the user.

With YnStrict=true, the prefix search works just the same. But the user is not allowed to enter data that can not be found in the drop down list of the combo. If no match can be found, the text field stays in the same state as before the keystroke. Suppose the same example as above again. The simple combo has the following entries: 11235, 12345, 22222. Its properties are YnReadOnly=false, YnStrict=true. The user again presses the following keys "1", "2". After the first two keys the result is the same:

When the user now presses the key "2" again, the search with the prefix "122" again does not find an entry. But because YnStrict is true, only the values of the drop down list are valid. So the new input is not accepted and the combo stays unchanged:

Prefix search is case sensitive by default. This can be changed by calling the method IListWMClient.setPrefixSearchCaseSensitive(). Prefix search can be disabled by calling IListWMClient.setDoPrefixSearch(false). Do not disable prefix serach if YnStrict=true since YnStrict=true depends on prefix search to determine a valid selection.

A XMA Combo contains a selectable list of values with a short key value and a longer descriptive value. To see values you have to declare a Data Source.

The XMACombo is mapped to a SWT Combo Widget and represents a Drop-Down List Boxes in the StyleGuide.

If Displaytype is SHOW_LONG than Order has to be ORDER_LONG. If Displaytype is SHOW_SHORT_LONG than Order has to be ORDER_SHORT.

If you select a XMA Combo you may see the information shown in the following table with the Property View.

The column editable provide information whether the property is editable in the Guidesigner. Learn more about correspondent SWT concepts in Standard Widget Toolkit

PropertyTypeDescriptionEditable
Business DataStringShows the Businessdata Attribute to which the actual widget is mapped. 
Data SourceXMAUriThe URI to the datasource.X
DisplaytypeSelectionList

Specifies the possible display types of domain combos. Values: SHOW_LONG SHOW_SHORT_LONG SHOW_LONG

X
FormDataDialog

Shows the FormData settings of the actual widget. If you select this property the FormData Dialog(FormData Dialog) starts.

X
Instance NameStringName of the instance of the model of this widget. The instance name of the widget is the same name with a 'L' postfix for labels and a 'W' postfix for all other widgets.X
LabelSelectionListContains the XMA Label widget, with which the actual widget is linked.X
OrderSelectionList

Specifies the possible order of domain values. Values: ORDER_SHORT ORDER_LONG ORDER_NATURAL

X
TooltipString

Tooltip text in the components language. maps to: org.eclipse.swt.widgets.Control.TooltipText

X
ValidatorDialog

Shows Infos about the Validator of this widget. This Infos cross-fade the properties of the BusinessData Validator Property (see above). The Infos are used to generate a Validator for the actual widget. Learn more about Validators in Chapter Formatter.(Formatters/Validators)

X
YN Borderboolean

True, if the Widget has a border. Style of org.eclipse.swt.widgets.Control Default: true

X
YN DropDownboolean

If true, the combo turned out to be a drop down list. style of org.eclipse.swt.widgets.Combo

X
YN DynamicbooleanSpecifies if the "Data Source" is determined at UI-design-time (the default) or dynamically at application-runtime (this is called "dynamic"). If "YN Dynamic" is set to false, the field "Data Source" specifies where the list of values displayed in the combo-box is drawn from. Otherwise, i.e., "YN Dynamic" is set to true, the value entered in "Data Source" is ignored and the application must set the data-source explicitely in code. The latter is done either by using the method IListDomWM.setDataSource() or connecting the widget-model to an ADomain-AtomicAttrVal, where the data-source is taken from the ADomain.X
YN EditablebooleanIf false, the control couldn't be edited.X
YN Enabledboolean

True, if the widget is enabled (can grab focus). Maps to: org.eclipse.swt.widgets.Control.Enabled

X
YN in Tab Sequenceboolean

False, if the widget doesn't attend in the tab sequence of the parent composite. Default: true

X
YN MandatorybooleanTrue if one value has to be selected.X
YN Selection EventbooleanIf true a selection event method is generated.X
YN Visibleboolean

True, if the Widget is visible. Maps to: org.eclipse.swt.widgets.Control.Visible

X

Table 4.27. XMA Combo Properties


Learn more about Data Sources in Chapter Data Source.(Data Sources)

A XMA Composite is a container that holds other widgets. It is used as an instrument of grouping widgets without a border. The composite is always the parent of the widget it holds. Therefore all layout infos of its widget that are given in percent of the parent are relative to the composite. A XMA Composite is mapped to a SWT Composite. If you select a XMA Composite you may see the information shown in the following table with the Property View.

The column editable provide information whether the property is editable in the Guidesigner. Learn more about correspondent SWT concepts in Standard Widget Toolkit


Learn more about the role of a composite in the layout in Chapter Layouting(Layouting with the Guidesigner).

A XMAContainer holds embeddable pages.

If you select a XMA Container you may see the information shown in the following table with the Property View.

The column editable provide information whether the property is editable in the Guidesigner. Learn more about correspondent SWT concepts in Standard Widget Toolkit


The XMA Container decides the size of theEmbedded Pages(Embedded Page). Learn more about XMA Containers in Chapter Embedded Page(Embedded Page)respective in chapter Embedded Component(Embedded Component).

A XMA Grid represents an excel like grid control. This control allows the presentation of excel spreadsheets in XMA including simple formatting and formala evaluation(Grid Widget Models). The end user can enter data in individual cells of the grid. Formulas are automatically recalulated if there result may change.

Note: This is not a general purpose editable table. Its purpose is to present and manipulate execl sheets directly in XMA where this is needed. You have to conatact the architecture team before using this control.

The GUIDesigner shows an empty spreadsheet. The horizontal and vertical scroll bars are shown automatically by SWT if they are necessary. A Grid is mapped to a SWT Table.

If you select a XMA Grid you may see the information shown in the following table with the Property View.

The column editable provide information whether the property is editable in the Guidesigner. Learn more about correspondent SWT concepts in Standard Widget Toolkit


Learn more about XMA Grid in Chapter Grid Widget Models(Grid Widget Models).

Learn more about how to create a Widget in Chapter Create a new Widget(Create a new Widget).

A XMA Group is a special form of a XMA Composite(XMA Composite). Unlike a XMA Composite it has a border and a label. A Group is mapped to a SWT Group Composite and represents a Group Box in the StyleGuide. If you select a XMA Group you may see the information shown in the following table with the Property View.

The column editable provide information whether the property is editable in the Guidesigner. Learn more about correspondent SWT concepts in Standard Widget Toolkit


Learn more about the role of a composite in the layout in Chapter Layouting(Layouting with the Guidesigner).

A Label is mapped to a SWT Label Control and represents a Label and a read-only text Box in the StyleGuide.

If you select a XMA Label you may see the information shown in the following table with the Property View.

The column editable provide information whether the property is editable in the Guidesigner. Learn more about correspondent SWT concepts in Standard Widget Toolkit

PropertyTypeDescriptionEditable
Align LabelSelectionList

The alignment property of the Label widget. style of org.eclipse.swt.widgets.Label. Values: LEFT CENTER RIGHT

X
Belongs to WidgetSelectionList

For the following Widgets Labels are generated automatically when you create the widget:

It is the inverse relationship of the 'Label' Property of the correspondent widget.

X
FormDataDialog

Shows the FormData settings of the actual widget. If you select this property theFormData Dialog (FormData Dialog) starts. If the label is generated automatically with the widget the initial FormData settings of the appropriate label are made at the third page of the creation wizard.

X
ImageUriDialog

The relative Uri to the image label. As workaround push the 'Cancel' button in the Uri Dialog to remove an ImageUri. maps to: org.eclipse.swt.widgets.Label.Image

X
Instance NameStringName of the instance of the label. The Instancename is build of the Instancename of the widget model and a L' postfix.X
LabelString

The text of the Label. This Property was loaded/saved in the particular Resource bundle dependent of the actual Language of the Component.

X
TooltipString

Tooltip text in the components language. maps to: org.eclipse.swt.widgets.Control.TooltipText

X
YN Boldboolean

True, if the label has to be shown in bold style. style of org.eclipse.swt.graphics.FontData

X
YN Borderboolean

True, if the Widget has a border. Style of org.eclipse.swt.widgets.Control Default: false for label/seperator/xmacomposite's/button's true for all other

X
YN Enabledboolean

True, if the widget is enabled (can grab focus). Maps to: org.eclipse.swt.widgets.Control.Enabled

X
YN in Tab Sequenceboolean

False, if the widget doesn't attend in the tab sequence of the parent composite. Default: false for label/seperator/radiobutton true for all other

X
YN Visibleboolean

True, if the Widget is visible. Maps to: org.eclipse.swt.widgets.Control.Visible

X
YN Wrap Labelboolean

True, if a line should be wrapped at the end of the control extent. style of org.eclipse.swt.widgets.Label

X

Table 4.34. XMA Label Properties


A List is mapped to a SWT List Widget with Style and represents a Single- and Extended Selection List Box in the StyleGuide. If you select a XMA Composite you may see the information shown in the following table with the Property View.

The column editable provide information whether the property is editable in the Guidesigner. Learn more about correspondent SWT concepts in Standard Widget Toolkit

PropertyTypeDescriptionEditable
Business DataStringShows the Businessdata Attribute to which the actual widget is mapped. 
Business Data ValidatorString

Shows the Validator of the the Businessdata Attribute. Properties of this Validator may be cross-faded thru the properties of the Validator Property (see below). The Infos are used to generate a Validator for the actual widget. Learn more about Validators in Chapter Formatter.(Formatters/Validators)

 
FormDataDialog

Shows the FormData settings of the actual widget. If you select this property the FormData Dialog(FormData Dialog) starts.

X
Instance NameStringName of the instance of the model of this widget. The instance name of the widget is the same name with a 'L' postfix for labels and a 'W' postfix for all other widgets.X
LabelSelectionListContains the XMA Label widget, with which the actual widget is linked.X
TooltipString

Tooltip text in the components language. maps to: org.eclipse.swt.widgets.Control.TooltipText

X
ValidatorDialog

Shows Infos about the Validator of this widget. This Infos cross-fade the properties of the BusinessData Validator Property (see above). The Infos are used to generate a Validator for the actual widget. Learn more about Validators in Chapter Formatter.(Formatters/Validators)

X
YN Borderboolean

True, if the Widget has a border. Style of org.eclipse.swt.widgets.Control Default: true

X
YN DoubleClick EventbooleanIf true a default selection event method is generated.X
YN EditablebooleanIf false, the control couldn't be edited.X
YN Enabledboolean

True, if the widget is enabled (can grab focus). Maps to: org.eclipse.swt.widgets.Control.Enabled

X
YN Horizontal Scrollbarboolean

If true, the list is presented with a horizontal scrollbar. style of org.eclipse.swt.widgets.List

X
YN Multi Selection Enabledboolean

If true, the multiple selection model is supported. style of org.eclipse.swt.widgets.List

X
YN in Tab Sequenceboolean

False, if the widget doesn't attend in the tab sequence of the parent composite. Default: true

X
YN Selection EventbooleanIf true a selection event method is generated.X
YN Vertical Scrollbarboolean

if true, the list is preseneted with a vertical scrollbar. style of org.eclipse.swt.widgets.List

X
YN Visibleboolean

True, if the Widget is visible. Maps to: org.eclipse.swt.widgets.Control.Visible

X

Table 4.35. XMA List Properties


Learn more about Lists in Chapter List Widget Model(List Widget Models)

A SashForm is analogous a Swing JSplitPanel and is mapped to a SWT SashForm Composite. It has no representation in the StyleGuide. A SahForm does'nt need a LayoutManager. Therefore the childs of the immediate Sashform don't need any FormData Information.

If you select a XMA Sashform you may see the information shown in the following table with the Property View.

The column editable provide information whether the property is editable in the Guidesigner. Learn more about correspondent SWT concepts in Standard Widget Toolkit


A XMAScrolledComposite is a container which automatically shows scroll bars if the content of the inner Composite grows larger then the size of the scrolled composite. The size of the inner composite is determined the following way:

In a typical usage of XMA Scrolled Composite, you will leave "YN Expand child" to "true" (its default), so the user can enlarge the contained controls. The height of the inner composite can be left empty, so the SWT layout manager will calculate the needed minimal height. A vertical scrollbar will appear if the scrolled composite is not high enough. You will probably enter a small minimal width of the inner composite to prevent unnecessary horizontal scrollbars.

If the inner composite has some Formdata information only the FormData's height and width are used. Any Formdata Attachments of the inner composite have no effect on the layout.

The column editable provide information whether the property is editable in the Guidesigner. Learn more about correspondent SWT concepts in Standard Widget Toolkit


Learn more about the role of a composite in the layout in ChapterLayouting(Layouting with the Guidesigner).

A Separator s used to separate widget with horizontal and vertical lines and is mapped to a SWT Label Control with Style HORIZONTAL or VERTICAL. A Separator is often used to simplify the Formlayout. Learn more about Layouting in Chapter Layouting with the Guidesigner(Layouting with the Guidesigner).

If you select a XMA Combo you may see the information shown in the following table with the Property View.

The column editable provide information whether the property is editable in the Guidesigner. Learn more about correspondent SWT concepts in Standard Widget Toolkit


Learn more about Data Sources in Chapter Data Source.(How data sources work)

A XMA Tabfolder is mapped to a SWT Tabfolder and represents a Tab Control in the StyleGuide. A Tabfolder contains Notebook Pages(Notebook Page).

If you select a XMA Tabfolder you may see the information shown in the following table with the Property View.

The column editable provide information whether the property is editable in the Guidesigner. Learn more about correspondent SWT concepts in Standard Widget Toolkit


A XMA Table represents a multi column lists respective a list view control of the StyleGuide. For this reason a XMA Table holds XMA Tablecolumns(XMA Tablecolumn).

The GUIDesigner only supports FULL_SELECTION style (the whole row is marked) on the table. In a Table the horizontal and vertical scroll bars are set as recently as they are necessary. A Table is mapped to a SWT Table.

If you select a XMA Table you may see the information shown in the following table with the Property View.

The column editable provide information whether the property is editable in the Guidesigner. Learn more about correspondent SWT concepts in Standard Widget Toolkit

PropertyTypeDescriptionEditable
Business DataStringShows the Businessdata Attribute to which the key of the table is mapped. Every table must have a key specified in the mapper tool. 
FormDataDialog

Shows the FormData settings of the actual widget. If you select this property the FormData Dialog(FormData Dialog) starts.

X
Instance NameStringName of the instance of the model of this widget. The instance name of the widget is the same name with a 'L' postfix for labels and a 'W' postfix for all other widgets.X
Selection TypeSelectionList

Defines the Selection Mode. style of org.eclipse.swt.widgets.

Table Values:

  • SINGLE ... only one row may be selected

  • MULTI ... more than one rows may be selected

  • CHECK ... selection with check box

X
TooltipString

Tooltip text in the components language. maps to: org.eclipse.swt.widgets.Control.TooltipText

X
YN Borderboolean

True, if the Widget has a border. Style of org.eclipse.swt.widgets.Control Default: true

X
YN DoubleClick EventbooleanIf true a default selection event method is generated.X
YN Enabledboolean

True, if the widget is enabled (can grab focus). Maps to: org.eclipse.swt.widgets.Control.Enabled

X
YN Header Visibleboolean

True means the table header is visible. mapped to:org.eclipse.swt.widgets.Table.HeaderVisible

X
YN Grid Visibleboolean

True means that the table grid is shown. mapped to: org.eclipse.swt.widgets.Table.LinesVisible

X
YN in Tab Sequenceboolean

False, if the widget doesn't attend in the tab sequence of the parent composite. Default: true

X
YN OnewaybooleanA one way table has the property that its rows are never transmitted from client to server, only from server to client.X
YN Selection EventbooleanIf true a selection event method is generated.X
YN Sort Indicatorboolean

True, if a sort indicator on the column has to be visible. As the icon is placed on the left side of the header's title, all titles are shifted slightly to the right. It is not recommended to set a graphic file for a row/column and to use sort indicators, as all graphic objects on the table will have the size of the graphic object which is set first. Maps to: org.eclipse.swt.widgets.Control.Visible Default: false

X
YN Visibleboolean

True, if the Widget is visible. Maps to: org.eclipse.swt.widgets.Control.Visible

X
Column MinWidth LimitintNo column can ever be resized to a smaller width. If the end user tries to make the size of a column smaller than ColumnMinWidthLimit, ColumnMinWidthLimit is used as new size of the column. (Table Layout Manager)X
Default Column MaxWidthintThe maximum width of columns without MaxWidth property. (Table Layout Manager)X
Default Column MinWidthintThe minimum width of columns without MinWidth property. (Table Layout Manager)X
Default Column WidthintThe absolute width of columns without Width or Percent property. (Table Layout Manager)X
Strech ColumnintThe index of the column to stretch over the space of the table not occupied by the other columns. Its absolute width and percentage are ignored. Only its limits are respected. (Table Layout Manager) It overrules ynAutoPack, too.X

Table 4.45. XMA Table Properties


Learn more about XMA Table in Chapter Table Widget Models(Table Widget Models). Learn more about flexible layouting column widths in (Table Layout Manager).

A Text is mapped to a SWT Control Text and represents a Text Field and a Static Text Field in the StyleGuide. A Text may hold Numeric, Money, Date and String values. Formatting and validation occurs on basis of the BusinessData Validator and Validator properties. If you select a XMA Text you may see the information shown in the following table with the Property View.

The column editable provide information whether the property is editable in the Guidesigner. Learn more about correspondent SWT concepts in Standard Widget Toolkit

PropertyTypeDescriptionEditable
AlignmentSelectionList

The alignment property of the Text widget. Default: for XMAText with BCDValidators assigned at the first time RIGHT else LEFT style of org.eclipse.swt.widgets.Text Values: LEFT CENTER RIGHT

X
Business DataStringShows the Businessdata Attribute to which the actual widget is mapped. 
Business Data ValidatorString

Shows the Validator of the the Businessdata Attribute. Properties of this Validator may be cross-faded thru the properties of the Validator Property (see below). The Infos are used to generate a Validator for the actual widget. Learn more about Validators in Chapter Formatter.(Formatters/Validators)

 
FormDataDialog

Shows the FormData settings of the actual widget. If you select this property the FormData Dialog(FormData Dialog) starts.

X
Instance NameStringName of the instance of the model of this widget. The instance name of the widget is the same name with a 'L' postfix for labels and a 'W' postfix for all other widgets.X
LabelSelectionListContains the XMA Label widget, with which the actual widget is linked.X
TooltipString

Tooltip text in the components language. maps to: org.eclipse.swt.widgets.Control.TooltipText

X
ValidatorDialog

Shows Infos about the Validator of this widget. This Infos cross-fade the properties of the BusinessData Validator Property (see above). The Infos are used to generate a Validator for the actual widget. Learn more about Validators in Chapter Formatter.(Formatters/Validators)

X
YN Borderboolean

True, if the Widget has a border. Style of org.eclipse.swt.widgets.Control Default: true

X
YN EditablebooleanIf false, the control couldn't be edited.X
YN Enabledboolean

True, if the widget is enabled (can grab focus). Maps to: org.eclipse.swt.widgets.Control.Enabled

X
YN Horizontal Scrollbarboolean

True, if a horizontal scrollbar has to be shown. style of org.eclipse.swt.widgets.Text

X
YN in Tab Sequenceboolean

False, if the widget doesn't attend in the tab sequence of the parent composite. Default: true

X
YN Multilineboolean

True, if the text may have multiple lines. style of org.eclipse.swt.widgets.Text

X
YN Vertical Scrollboolean

True, if a vertical scrollbar has to be shown. style of org.eclipse.swt.widgets.Text

X
YN Visibleboolean

True, if the Widget is visible. Maps to: org.eclipse.swt.widgets.Control.Visible

X
YN Wrap LineEndsboolean

True, if a line should be wrapped at the end of the control. style of org.eclipse.swt.widgets.Text

X

Table 4.48. XMA Text Properties


Learn more about Validators in Chapter Formatter.(Formatters/Validators)

A Tree is mapped to a SWT Tree and represents a Tree View in the StyleGuide. In a SWT Tree the horizontal and vertical scrolls are set as recently as they are neccesary. For Trees no databinding is supported. The Treemodel has to be build by hand.

If you select a XMA Tree you may see the information shown in the following table with the Property View.

The column editable provide information whether the property is editable in the Guidesigner. Learn more about correspondent SWT concepts in Standard Widget Toolkit


A XMA Tablecolumn could only appear as child of aXMA Table(XMA Table). A XMA TableColumn is mapped to a SWT TableColumn.

If you select a XMA Tablecolumn you may see the information shown in the following table with the Property View.

The column editable provide information whether the property is editable in the Guidesigner. Learn more about correspondent SWT concepts in Standard Widget Toolkit

PropertyTypeDescriptionEditable
Align ColumnSelectionList

The alignment property of the table. default: for columns with BCDValidators assigned at the first time RIGHT else LEFT style of org.eclipse.swt.widgets.TableColumn Values: LEFT CENTER RIGHT

X
Business DataStringShows the Businessdata Attribute to which the actual widget is mapped. 
Business Data ValidatorString

Shows the Validator of the the Businessdata Attribute. Properties of this Validator may be cross-faded thru the properties of the Validator Property (see below). The Infos are used to generate a Validator for the actual widget. Learn more about Validators in Chapter Formatter.(Formatters/Validators)

 
Column LabelString

Contains the label of the column. This Property was loaded/saved in the particular Resource bundle dependent of the actual Language of the Component.

X
Image URIDialog

URI of the image for the column. mapped to: org.eclipse.swt.widgets.TableColumn.Image

X
Instance NameStringName of the instance of the model of this widget. The instance name of the widget is the same name with a 'L' postfix for labels and a 'W' postfix for all other widgets.X
ValidatorDialog

Shows Infos about the Validator of this widget. This Infos cross-fade the properties of the BusinessData Validator Property (see above). The Infos are used to generate a Validator for the actual widget. Learn more about Validators in Chapter Formatter.(Formatters/Validators)

X
YN AutoPackbooleanMakes the width of the column as wide as the column label. This property overrules the other layout properties of the column.X
YN HidenbooleanIf true, this column is a hidden field and not visible in the table. For hidden table columns, only the Instancename is used for generation. All other attributes are not be considered.X
YN Resizeableboolean

True means, that the column is resizable. mapped to: org.eclipse.swt.widgets.TableColumn.Resizeable

X
YN SortablebooleanIf true, this column could be sorted.X
MaxWidthintThe maximum width of the column in pixel. (Table Layout Manager) This property is not used if Width is specified.X
MinWidthintThe minimum width of the column in pixel. (Table Layout Manager) This property is not used if Width is specified.X
PercentfloatThe width of the column as percentage of the width of the table. (Table Layout Manager) Only Width or Percent may be specified.X
Widthint

The absolute width of the column in pixel. (Table Layout Manager) Only Width or Percent may be specified.

X

Table 4.50. XMA TableColumn Properties


Learn more about Tables in Chapter XMA Table(XMA Table). Learn more about flexible layouting column widths in (Table Layout Manager)