Community
Participate
Working Groups
While validation of bug 510692, I observed that validation concerning typename can be improved. Since the bug 510692, if the reference typename has not its dependency to the metamodel, a warning is logged during validation "The EClass uml::Class used in domainClass is not accessible. You are most likely trying to use an EClass without having a dependency to its plugin.". But if the class in not accessible, not present in the target platform, there is also an error logged "The Class uml::Class does not exist.". This check is done in org.eclipse.sirius.diagram.tools.internal.validation.description.constraints.ExistingDomainClassConstraint. The message of these 2 checks must be improved to explain more clearly what the user needs to fix them. Or maybe the first message (the warning) must no be logged if we are in the second context.
Agreed