<@doc alias="ProcessStep" hierarchy="GMLDOM"> An abstract class that defines atomic step of process execution. (c) SAP AG 2003-2006. All rights reserved. #INCLUDE[svg:defs.inc] /////////////////////////////////////////////////////////////////////// // CLASS HEADER Class ProcessStep inherit Configurable; metadata title = '#TEXT[XTIT_PROCESS_STEP]'; metadata descr = '#TEXT[XTOL_PROCESS_STEP]'; metadata namestem = 'Step'; attach svg:Bipolar override { fillColor: '#F2F5F8', strokeColor: '#6183A9', textColor: '#6183A9', geometry: { resizeMode: #[SVG_KEEP_WIDTH], rotateMode: #[SVG_ROTATE_FULL|SVG_FLIP_VBODY], defWidth: 80, defHeight: 60, minWidth: 80, minHeight: 60, poleStart: 20, poleEnd: 20, padding: [0,10,0,10] }, frameParts: [ {type:'rect', x:'@x1', y:'@y1', width:'@w', height:'@h', rx:10, fill:'@fillColor', stroke:'currentColor', 'stroke-width':2} ], bodyParts: [ {type:'image', href:'@Class.metadata.icon32', x:-16, y:-8.5, width:32, height:32}, {type:'text', action:'rename', text:'((@name).length > $ENV.maxNameLength ? (@name).substring(0,$ENV.maxNameLength)+"..." : @name )', x:0, y:'@y1+12', 'font-size':'90%', fill:'@textColor', stroke:'none', 'text-anchor':'middle'}, {type:'text', text:'(@tags ? "“"+@tags+"”" : "")', x:0, y:'@y2-2', 'font-size':'75%', fill:'@textColor', 'text-anchor':'middle'} ] } /////////////////////////////////////////////////////////////////////// // PROPERTIES /////////////////////////////////////////////////////////////////////// // METHODS override method onInsertMe(parent, trans) this.supercall(); $ENV.organizer.addElement(this, parent); end override method onRemoveMe(parent, trans) this.supercall(); $ENV.organizer.delElement(this, parent); end override method onCreate() this.supercall(); this.createElement('core.gml:DirectPlug', 'plugs'); end