Index: cifg2.1.0.diagram/src/cifg/diagram/edit/parts/UrgencyOperator2EditPart.java =================================================================== --- cifg2.1.0.diagram/src/cifg/diagram/edit/parts/UrgencyOperator2EditPart.java (revision 220) +++ cifg2.1.0.diagram/src/cifg/diagram/edit/parts/UrgencyOperator2EditPart.java (working copy) @@ -128,18 +128,18 @@ .getFigureUrgencyOperatorAnnotationsAnnotationsLabel()); return true; } + if (childEditPart instanceof UrgencyOperatorAnnotationsHeaderLabel2EditPart) { + ((UrgencyOperatorAnnotationsHeaderLabel2EditPart) childEditPart) + .setLabel(getPrimaryShape() + .getFigureUrgencyOperatorAnnotationsHeaderLabel()); + return true; + } if (childEditPart instanceof UrgencyOperatorHeaderLabel2EditPart) { ((UrgencyOperatorHeaderLabel2EditPart) childEditPart) .setLabel(getPrimaryShape() .getFigureUrgencyOperatorHeaderLabel()); return true; } - if (childEditPart instanceof UrgencyOperatorAnnotationsHeaderLabel2EditPart) { - ((UrgencyOperatorAnnotationsHeaderLabel2EditPart) childEditPart) - .setLabel(getPrimaryShape() - .getFigureUrgencyOperatorAnnotationsHeaderLabel()); - return true; - } if (childEditPart instanceof UrgencyOperatorUrgencyOperatorBodiesCompartment2EditPart) { IFigure pane = getPrimaryShape() .getFigureUrgencyOperatorBodiesShape(); @@ -162,10 +162,10 @@ if (childEditPart instanceof UrgencyOperatorAnnotations2EditPart) { return true; } - if (childEditPart instanceof UrgencyOperatorHeaderLabel2EditPart) { + if (childEditPart instanceof UrgencyOperatorAnnotationsHeaderLabel2EditPart) { return true; } - if (childEditPart instanceof UrgencyOperatorAnnotationsHeaderLabel2EditPart) { + if (childEditPart instanceof UrgencyOperatorHeaderLabel2EditPart) { return true; } if (childEditPart instanceof UrgencyOperatorUrgencyOperatorBodiesCompartment2EditPart) {
�DEFINE addFixedChild FOR gmfgen::GenNode-� �IF hasFixedChildren()-� �EXPAND xpt::Common::generatedMemberComment� protected boolean addFixedChild(org.eclipse.gef.EditPart childEditPart) { �FOREACH getInnerFixedLabels() AS label-� �LET (gmfgen::ParentAssignedViewmap) label.viewmap AS childViewmap-� if (childEditPart instanceof �label.getEditPartQualifiedClassName()�) { ((�label.getEditPartQualifiedClassName()�) childEditPart).�EXPAND impl::diagram::editparts::TextAware::labelSetterName FOR childViewmap�(getPrimaryShape().�childViewmap.getterName�()); return true; } �ENDLET-� �ENDFOREACH-�
protected boolean addFixedChild(org.eclipse.gef.EditPart childEditPart) {
protected boolean addFixedChild(org.eclipse.gef.EditPart childEditPart) {TESTTEST
<viewmap xsi:type="gmfgen:InnerClassViewmap" className="SynchronizationOperatorFigure" classBody="
/**
 * @generated
 */
public class SynchronizationOperatorFigure extends org.eclipse.draw2d.RectangleFigure {


	/**
	 * @generated
	 */
	private org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel fFigureSynchronizationOperatorHeaderLabel; 
	/**
	 * @generated
	 */
	private org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel fFigureSynchronizationOperatorActionsLabel; 
	/**
	 * @generated
	 */
	private .............
[... plugins]$ grep -i -r "createconten" . ./org.eclipse.gmf.templates.legacy_1.0.0.v20090614-0839/graphdef.codegen.templates/top/Figure.xpt: createContents(); ./org.eclipse.gmf.templates.legacy_1.0.0.v20090614-0839/graphdef.codegen.templates/top/Figure.xpt: createContents(); ./org.eclipse.gmf.templates.legacy_1.0.0.v20090614-0839/graphdef.codegen.templates/top/Figure.xpt: private void createContents(){ ./org.eclipse.gmf.templates.legacy_1.0.0.v20090614-0839/graphdef.codegen.templates/Children.xpt: private void createContents(){