Loading plugins/org.etsi.mts.tdl.common/src/org/etsi/mts/tdl/scoping/TDLScopeProvider.java +3 −0 Original line number Diff line number Diff line Loading @@ -272,6 +272,9 @@ public class TDLScopeProvider extends AbstractDeclarativeScopeProvider { if (((DataElementMapping)context.eContainer()).getMappableDataElement() instanceof StructuredDataType) { IScope scope = Scopes.scopeFor(((StructuredDataType)((DataElementMapping)context.eContainer()).getMappableDataElement()).allMembers()); return scope; } else if (((DataElementMapping)context.eContainer()).getMappableDataElement() instanceof StructuredDataInstance) { IScope scope = Scopes.scopeFor(((StructuredDataType) ((StructuredDataInstance)((DataElementMapping)context.eContainer()).getMappableDataElement()).getDataType()).allMembers()); return scope; } else if (((DataElementMapping)context.eContainer()).getMappableDataElement() instanceof Action) { IScope scope = Scopes.scopeFor(((Action)((DataElementMapping)context.eContainer()).getMappableDataElement()).getFormalParameter()); return scope; Loading Loading
plugins/org.etsi.mts.tdl.common/src/org/etsi/mts/tdl/scoping/TDLScopeProvider.java +3 −0 Original line number Diff line number Diff line Loading @@ -272,6 +272,9 @@ public class TDLScopeProvider extends AbstractDeclarativeScopeProvider { if (((DataElementMapping)context.eContainer()).getMappableDataElement() instanceof StructuredDataType) { IScope scope = Scopes.scopeFor(((StructuredDataType)((DataElementMapping)context.eContainer()).getMappableDataElement()).allMembers()); return scope; } else if (((DataElementMapping)context.eContainer()).getMappableDataElement() instanceof StructuredDataInstance) { IScope scope = Scopes.scopeFor(((StructuredDataType) ((StructuredDataInstance)((DataElementMapping)context.eContainer()).getMappableDataElement()).getDataType()).allMembers()); return scope; } else if (((DataElementMapping)context.eContainer()).getMappableDataElement() instanceof Action) { IScope scope = Scopes.scopeFor(((Action)((DataElementMapping)context.eContainer()).getMappableDataElement()).getFormalParameter()); return scope; Loading