<@doc hierarchy="GMLDOM"> An element used for referencing a process unit. (c) SAP AG 2003-2006. All rights reserved. #INCLUDE[svg:defs.inc] /////////////////////////////////////////////////////////////////////// // CLASS HEADER Class ProcessUsage inherit ComponentUsage; metadata title = '#TEXT[XTIT_PROCESS_USGAE]'; metadata descr = '#TEXT[XTOL_PROCESS_USGAE]'; metadata icon16 = '#URL[~res:skins.neutral.symbols.process16.gif]'; metadata icon32 = '#URL[~res:skins.neutral.symbols.process32.gif]'; attach svg:Bipolar override { fillColor: '#F2F5F8', strokeColor: '#6183A9', textColor: '#6183A9', geometry: { resizeMode: #[SVG_KEEP_WIDTH], rotateMode: #[SVG_ROTATE_FULL|SVG_FLIP_VBODY], defWidth: 85, defHeight: 65, minWidth: 85, minHeight: 65, poleStart: 20, poleEnd: 20, padding: [0,10,0,10] }, frameParts: [ {type:'rect', x:'@x1', y:'@y1', width:'@w', height:'@h', rx:0, fill:'@fillColor', stroke:'currentColor', 'stroke-width':2} ], bodyParts: [ {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-5', 'font-size':'75%', fill:'@textColor', 'text-anchor':'middle'}, {type:'image', href:'#URL[svg~skin:images.shortcut.gif]', display:'(@isPrimary ? "none" : "block" )', x:'@x1+4', y:'@y2-15', width:11, height:11, sprite:false} ] } /////////////////////////////////////////////////////////////////////// // METHODS override method onCreate() this.supercall(); this.createElement('core.gml:DirectPlug', 'plugs'); end