Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 359631
Collapse All | Expand All

(-)a/org.eclipse.emf.ecp.navigator/src/org/eclipse/emf/ecp/navigator/commands/DynamicContainmentCommands.java (-5 lines)
Lines 136-146 Link Here
136
		// every command takes its corresponding EClass type as parameter
136
		// every command takes its corresponding EClass type as parameter
137
		for (EReference containment : containments) {
137
		for (EReference containment : containments) {
138
138
139
			// do not create any commands for containments with multiplicity one
140
			if (!containment.isMany()) {
141
				continue;
142
			}
143
144
			try {
139
			try {
145
				if (ECPWorkspaceManager.getInstance().getWorkSpace().getProject(selectedME)
140
				if (ECPWorkspaceManager.getInstance().getWorkSpace().getProject(selectedME)
146
					.getMetaModelElementContext().isNonDomainElement(containment.getEReferenceType())) {
141
					.getMetaModelElementContext().isNonDomainElement(containment.getEReferenceType())) {

Return to bug 359631