Community
Participate
Working Groups
Sirius provides on diagram the "Validate diagram" action. It could be great to be able to launch the same kind of validation from a pop menu in the model explorer.
Note that "Validate diagram" applies (in addition to standard EMF validation) validation rules which are specific to the representation's viewpoint. If the action is launched from the model explorer we are in the general context of the session, not on a representation, so this would either only launch the base EMF Validation stuff, or *all* validation rules from all Viewpoints currently enabled in the session. Also, we do not want to hard-code the contribution of such an action inside the Sirius UI, as does so would impose it on all users in all contexts, with no possibility to remove it. It would be better to provide a simple way for specific projects to add such an action in a way that would make it available only in their context.
I would like to see from the model explorer two different validate actions : * if a semantic element is selected it would launch the standard EMF validation * if a representation is selected it would launch the Sirius validate diagram action
(In reply to Melanie Bats from comment #2) > I would like to see from the model explorer two different validate actions : > * if a semantic element is selected it would launch the standard EMF > validation > * if a representation is selected it would launch the Sirius validate > diagram action I agree this looks better. I'm still a little reluctant to add new UI elements to the Sirius UI that will be imposed on all users with no easy opt-out path, but this is a more general subject that deserves more thought.