| Summary: | Enable deletion of single or multiple elements (edges, nodes) from a graph in designer view | ||
|---|---|---|---|
| Product: | [Technology] STEM | Reporter: | Matthias Filter <matthias.filter> |
| Component: | UI | Assignee: | Stefan Edlund <sedlund> |
| Status: | ASSIGNED --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | sedlund |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Matthias Filter
A partial fix for this has been checked in. When you drag a model from the STEM library into the models folder of a STEM project, a deep copy is made of all contained models and graphs. This makes them editable in the generated EMF model editor so you can change things like edge label values etc. However, the nodes and edges reference attributes in the Graph EMF model (implemented as a 0 to many reference to a Map.Entry<URI, ...>) for some reason does not allow deletion. It does allow adding new entries entries (but this is not really working correctly the way it is supposed to). Will investigate this next, but not before the 1.3.1 release. Thanks Stefan, Does this link to the refactor bug 258989 ? test, please ignore Was looking at this again and was unable to figure out why the generated editor code doesn't allow deleting from a Map.Entry<URI, ...> attribute inside an EObject. Remove the item for this release and will schedule it for a future release. The workaround is to use the graph editor to remove nodes/edges in a graph. |