Community
Participate
Working Groups
Extracted from Bug 449930 ActivityD still stores the code snippets for figure classes in the gmfgen: E.g.: classBody="
/**
 * @generated
 */
public class Lin kAndCornerBentWithTextFigure extends org.eclipse.papyrus.uml.diagram.common.figure.node.CornerBentFi gure {


	/**
	 * @generated
	 */
 	private org.eclipse.papyrus.uml.diagram.activity.figures.WrappedLabel fCornerBentContent; 
 
	/**
	 * @generated
	 */
	private org.eclipse.draw2d .PolylineShape fLinkToBehaviorProperty; 


	/**
	 * @gen erated
	 */
	public LinkAndCornerBentWithTextFigure() {
		 ;		

	this.setBackgroundColor(THIS_BACK
);
		 ;createContents();
	}
	/**
	 * @generated
	 */&# xD;
	private void createContents(){


fCornerBentContent = new or g.eclipse.papyrus.uml.diagram.activity.figures.WrappedLabel();



&#x A;this.add(fCornerBentContent);



fLinkToBehaviorProperty = new org.eclipse.draw2d.PolylineShape();
fLinkToBehaviorProperty.setLineStyle(org.eclipse.draw2 d.Graphics.LINE_DASH);

this.add(fLinkToBehaviorProperty);


 ;
	}





	/**
	 * @g enerated
	 */
	public org.eclipse.papyrus.uml.diagram.activity.figures.Wra ppedLabel getCornerBentContent() {
		return fCornerBentContent;
	}
 ;
	/**
	 * @generated
	 */
	public org.eclipse.draw2d .PolylineShape getLinkToBehaviorProperty() {
		return fLinkToBehaviorProperty;
 
	}


}

/**
 * @generated
 * /
static final org.eclipse.swt.graphics.Color THIS_BACK = new org.eclipse.swt.graphics.Colo r(null, 248, 249, 214);

"/> These snippets are outdated, because presumably the gmfmap->gmfgen transformation that only can produce these snippets had not been executed for years now. Since GMFT 3.0 there is a better solution of using ModeledViewmap's that references gmfgraph notions directly from view map and defers the generation to the template execution phase. => While switching to Xtend templates, activityD will also remove the outdated snippets and will switch to the new modern way of producing draw2d code directly from input artifacts.