* @generated NOT
*/
private void createContents(
DatatypeRelationshipEditPart datatyperelationshipeditpart) {
DatatypeRelationship dr = (DatatypeRelationship) datatyperelationshipeditpart
.resolveSemanticElement();
for (int i = 0; i < dr.getSource().size(); ++i)
if (((Property) dr.getSource().get(i)).getEndType() instanceof StructuralDatatype)
for (int j = 0; j < dr.getTarget().size(); ++j)
((Property) dr.getTarget().get(j)).setIsReadOnly(true);
fFigureDatatypeRelationshipLabelFigure = new WrappingLabel();
fFigureDatatypeRelationshipLabelFigure
.setText("«datatypeRelationship»");