Hi,
um den Code eines Tasks im Diagramm darstellen zu können, könnt ihr an Attribute im Klassendiagramm die Eugenia Annotation “@gmf.label” schreiben. Aus dem Eugenia Tutorial:
gmf.label (for EAttribute)
Defines additional labels for the containing EClass. These labels will be displayed underneath the default label for the containing EClass. It accepts the following details:
-
label.readOnly (optional) : A value of true denotes that the label cannot be changed in the generated diagram editor.