CLASS component
Highlights/Dependencies |
---|
|
GraphRep Code |
---|
GRAPHREP layer:-2 sizing:asymmetrical AVAL set-default:"$ffffff" c:"Color" FILL color:(rgbval (c)) AVAL fc:"Font color" FONT color:(fc) PEN w:0.02cm RECTANGLE x:-2.5cm y:-1.2cm w:5cm h:2.4cm TABLE x:-2.5cm y:-1.2cm w:5cm h:2.4cm cols:4 rows:4 w1:0.3cm w2:100% w3:0.5cm w4:0.1cm h1:0.2cm h2:0.8cm h3:100% h4:0.2cm AVAL n:"Name" AVAL t:"Type" AVAL st:"Stereotype" AVAL ben:"User defined properties" AVAL ref_comp:"Referenced component" AVAL str:"Structure" STRETCH off IF (LEN t > 0) SET txt:(n + " : " + t) FONT underline color:(fc) ELSE SET txt:(n) ENDIF IF (str != "") ATTR "Structure" x:(tabx1) y:(taby1+0.3cm) w:l:(tabx2-tabx0-0.2cm) h:t:(taby3-taby0-0.2cm) line-break:rigorous format:"%m" ELSIF (ref_comp = "") TEXT (copy(txt, 0, LEN txt)) x:(tabx1) y:(taby1+0.3cm) w:l:(tabx2-tabx0-0.2cm) h:t:(taby3-taby0-0.2cm) line-break:rigorous ELSE ATTR "Referenced component" x:(tabx1) y:(taby1+0.3cm) w:l:(tabx2-tabx0-0.2cm) h:t:(taby3-taby0-0.2cm) line-break:rigorous format:"%o" ENDIF SHADOW off STRETCH off sizing:off PEN w:0.02cm color:(fc) RECTANGLE x:(tabx2) y:(taby1) w:0.4cm h:.7cm RECTANGLE x:(tabx2-0.15cm) y:(taby1+0.1cm) w:0.3cm h:.2cm RECTANGLE x:(tabx2-0.15cm) y:(taby1+0.4cm) w:0.3cm h:.2cm FONT h:8pt color:(fc) IF (ben != "") ATTR "User defined properties" x:(tabx1) y:(taby1) w:l:(tabx2-tabx0-0.2cm) h:t:0.1cm line-break:none ELSE ATTR "Stereotype" x:(tabx1) y:(taby1) w:l:4cm h:t line-break:none ENDIF FONT color:(fc) STRETCH on
|
Graphical Representation |
---|
|
2617 Views