@doc hierarchy="GMLDOM" also="@gml:Configuration, @gml:Infoshape, @gml:Interactor, @gml:Control">
DEPRECIATED. The ControlSet is an element that contains a configurable collection of controls.
Child Elements
@gml:Control
(c) SAP AG 2003-2006. All rights reserved.
///////////////////////////////////////////////////////////////////////
// CLASS HEADER
Class ControlSet inherit Configuration;
metadata title = '#TEXT[XTIT_CONTROL_SET]';
metadata descr = '#TEXT[XTOL_CONTROL_SET]';
metadata icon16 = '#URL[~res:skins.neutral.symbols.infoshape16.gif]'; //TODO: modify icon ??
///////////////////////////////////////////////////////////////////////
// PROPERTIES
<@doc>The controls items for this Control Set. use @createControl and @removeControl to add or remove them.
override strong property items = ^core.gml:Control[id];
///////////////////////////////////////////////////////////////////////
// METHODS
<@doc>Wrapper method for creating controls in @gml:ControlSet. Use this method instead of @gml:TransObject!createElement
The class name of the control object
A collection of property values for initializing the new element
the new control that was successfully created and inserted, or ~null
method createControl(control_class, values)
return this.createElement(control_class, 'items', values); //already performs type check for ConfigurationItem
end
<@doc>Wrapper method for removing a control in @gml:ControlSet. Use this method instead of @gml:TransObject!removeElement
The control child element to remove
The Id of the control child element to remove
Indicates whether the control child element was successfully removed
method removeControl(control)
return this.removeElement(control, 'items');
end