Community
Participate
Working Groups
In most UML Diagrams, it is not possible to delete an Element. The "Delete" command is always grayed.
The refactoring has introduces modofications in ID that were not impacted in the regular expression of the service Edit So if the purpose was to say this service edit is applied on element without "diagram" word. The regular expression is: "org\.eclipse\.papyrus\.uml\.[^d]|$|d([^i]|$)|di([^a]|$)|dia([^g]|$)|diag([^r]|$)|diagr([^a]|$)|diagra([^m]|$))" to see more info : http://yannesposito.com/Scratch/fr/blog/2010-02-15-All-but-something-regexp/ done in the revision 6354
The regexp is either incorrect or not supported by eclipse extension. How has this been tested ? I'm currently modifying the oep.uml.service.types.tests to adapt to v0.9.0, so far it seems that various UML ElementTypes (that should be concerned by the regexp) are not correctly added to Papyrus context. Did you ensure that the "delete" command (after this fix) had the expexted behavior ?
(In reply to comment #2) > The regexp is either incorrect or not supported by eclipse extension. > > How has this been tested ? I'm currently modifying the > oep.uml.service.types.tests to adapt to v0.9.0, so far it seems that various UML > ElementTypes (that should be concerned by the regexp) are not correctly added to > Papyrus context. > > Did you ensure that the "delete" command (after this fix) had the expexted > behavior ? I removed the regex pattern (cf. bug#369366), replaced by exhaustive element type ref declarations.