Community
Participate
Working Groups
// every command takes its corresponding EClass type as parameter
for (EReference containment : containments) {
// do not create any commands for containments with multiplicity one
if (!containment.isMany()) {
continue;
}
try {
if (ECPWorkspaceManager.getInstance().getWorkSpace().getProject(selectedME)
.getMetaModelElementContext().isNonDomainElement(containment.getEReferenceType())) {