What is the best strategy to solve my Papyrus Model errors [message #855437] |
Tue, 24 April 2012 16:35  |
Eclipse User |
|
|
|
Hi,
I see a small red box with an inside x on my Papyrus Project.
I can list the related problems in the Problems tab.
But how should I proceed to correct them ?
Should I investigate with in the UML Meta model ?
Is there a list of Problem -> How to solve
synthesis somewhere ?
Regards.
|
|
|
|
|
|
|
Re: What is the best strategy to solve my Papyrus Model errors [message #856276 is a reply to message #856257] |
Wed, 25 April 2012 10:20   |
Eclipse User |
|
|
|
Quote:Papyrus must of provided these errors based on ocl-like list of
assumptions.
Yes ; the constraints have been extracted from the UML specification (I think, however, that not all of them are implemented).
Quote:If yes, where are these assumptions located, in the UML metamodel,
of based on Papyrus users experiences ?
The constraints are specified in the UML spec, and implemented in the org.eclipse.uml2.uml plug-in (org.eclipse.uml2.uml.util.UMLValidator).
Quote:Q3 - Are these errors subjected to make Papyrus unable to read the model
when restarting ?
Probably not ; the UML validation is strictly semantic. Saving a model with validation errors shouldn't be a problem. However, the validator can sometimes detect errors which are not semantic (e.g. a reference to another UML Model which doesn't exist anymore). This is not a UML error, but the validator may detect it, and it may prevent you from opening the diagram in some cases.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04491 seconds