|Re: OCL constraints creation [message #672455 is a reply to message #672402]
||Sat, 21 May 2011 04:58
| Ed Willink
Registered: July 2009
Yes. As a first pass, just 'borrow' the Validate button from the UML
Model editor. This will give a pop-up that at least reports the
problems. Just possible for Indigo. At least the infrastructure would be
there, facilitating enhancement in Indigo SR1. Even if Papyrus is
perfect, I think I can promise at least a minor issue with the OCL.
Then, support visual feedback; little red/yellow error/warning
decorations on the icons of all offending blocks, and on the centre of
each offending line. I did this in GEF for the UMLX editor and it looks
really good. But it does require an icon per symbol to decorate, which
is what the Ecore Diagram and UML2 Tools visual styles provide. See the
last figure in
(Frightening, 5 years on and I'm still working on the infrastructure to
get UMLX working properly.)
And also, but it might happen for free, navigation from the problem view
markers back to the relevant diagram element.
On 20/05/2011 23:28, Sebastien Gerard wrote:
> The xtext editor of authoring UML constraint in OCL has been committed
> in Papyrus.
> Now, we need to have this validate button as mentioned by Ed. Ed, an
> idea on how to do it?
Powered by FUDForum
. Page generated in 0.02667 seconds