Procházet zdrojové kódy

Merge branch 'master' of https://github.com/Yakindu/statecharts.git

Andreas Muelder před 9 roky
rodič
revize
c64e9e7193

+ 1 - 1
plugins/org.yakindu.sct.model.stext/src/org/yakindu/sct/model/stext/scoping/StextImportAwareScopeProvider.java

@@ -42,7 +42,7 @@ public class StextImportAwareScopeProvider extends ImportedNamespaceAwareLocalSc
 		List<ImportScope> importScopes = new ArrayList<ImportScope>();
 		if (context instanceof StateSpecification || context instanceof TransitionSpecification) {
 			importScopes = EcoreUtil2.getAllContentsOfType(getStatechart(context), ImportScope.class);
-		} else if (context instanceof Statechart) {
+		} else {
 			importScopes = EcoreUtil2.getAllContentsOfType(context, ImportScope.class);
 		}
 		for (ImportScope scope : importScopes) {