Skip to content
Snippets Groups Projects
Commit 3ba66944 authored by Simon Barner's avatar Simon Barner
Browse files

Fix setting of model element names

  - Broken after integration of EReference support since setting of values no longer defaults to String initializers)
  - Hence, also override doSetValue(AnnotationEntry, Object).
refs 1841
parent 135559f0
No related branches found
No related tags found
No related merge requests found
......@@ -68,4 +68,10 @@ public class ElementNameEditingSupport extends TextEditingSupport {
((INamedElement)modelElement).setName(value);
}
}
/** {@inheritDoc} */
@Override
protected void doSetValue(AnnotationEntry annotationEntry, Object value) throws Exception {
doSetValue(annotationEntry, value.toString());
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment