@doc hide="Y" alias="cond" hierarchy="GMLDOM">
A pseudo-state that represents a branching of an execution path
This class is in preliminary design stage, and is subject to change.
(c) SAP AG 2003-2006. All rights reserved.
#INCLUDE[svg:defs.inc]
///////////////////////////////////////////////////////////////////////
// CLASS HEADER
Class Condition inherit PseudoState;
metadata title = '#TEXT[XTIT_CONDITION]';
metadata descr = '#TEXT[XTOL_CONDITION]';
metadata icon16 = '#URL[~res:skins.neutral.symbols.condition16.gif]';
metadata icon32 = '#URL[~res:skins.neutral.symbols.condition32.gif]';
attach svg:Bipolar override {
geometry: {
resizeMode: #[SVG_FIXED_SIZE],
rotateMode: #[SVG_ROTATE_FULL],
defWidth: 20,
defHeight: 20
},
frameParts: [
{type:'circle', cx:0, cy:0, r:7, fill:'white', stroke:'currentColor', 'stroke-width':2},
{type:'text', text:'?', x:0, y:4, 'font-weight':'bold', fill:'currentColor', 'stroke':'none', 'text-anchor':'middle', 'pointer-events':'none'}
],
bodyParts: [
{type:'text', action:'rename', text:'@name', x:0, y:18, 'font-size':'80%', fill:'@textColor', 'text-anchor':'middle'}
]
}
///////////////////////////////////////////////////////////////////////
// METHODS
override method onCreate()
if (!this.name) this.name = 'cond';
end