Loading plugins/org.etsi.mts.tdl.common/src/org/etsi/mts/tdl/scoping/TDLScopeProvider.java +11 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ import org.etsi.mts.tdl.DataType; import org.etsi.mts.tdl.DataUse; import org.etsi.mts.tdl.Element; import org.etsi.mts.tdl.ElementImport; import org.etsi.mts.tdl.EnumDataType; import org.etsi.mts.tdl.Extension; import org.etsi.mts.tdl.FormalParameterUse; import org.etsi.mts.tdl.FunctionCall; Loading Loading @@ -425,6 +426,11 @@ public class TDLScopeProvider extends AbstractDeclarativeScopeProvider { for (PackageableElement e : ip.getPackagedElement()) { if (c.isInstance(e)) { elements.add(e); } else if (e instanceof EnumDataType) { //enums for (SimpleDataInstance ev : ((EnumDataType) e).getValue()) { elements.add(ev); } } } } else { Loading @@ -432,6 +438,11 @@ public class TDLScopeProvider extends AbstractDeclarativeScopeProvider { for (PackageableElement e : i.getImportedElement()) { if (c.isInstance(e)) { elements.add(e); } else if (e instanceof EnumDataType) { //enums for (SimpleDataInstance ev : ((EnumDataType) e).getValue()) { elements.add(ev); } } } } Loading Loading
plugins/org.etsi.mts.tdl.common/src/org/etsi/mts/tdl/scoping/TDLScopeProvider.java +11 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ import org.etsi.mts.tdl.DataType; import org.etsi.mts.tdl.DataUse; import org.etsi.mts.tdl.Element; import org.etsi.mts.tdl.ElementImport; import org.etsi.mts.tdl.EnumDataType; import org.etsi.mts.tdl.Extension; import org.etsi.mts.tdl.FormalParameterUse; import org.etsi.mts.tdl.FunctionCall; Loading Loading @@ -425,6 +426,11 @@ public class TDLScopeProvider extends AbstractDeclarativeScopeProvider { for (PackageableElement e : ip.getPackagedElement()) { if (c.isInstance(e)) { elements.add(e); } else if (e instanceof EnumDataType) { //enums for (SimpleDataInstance ev : ((EnumDataType) e).getValue()) { elements.add(ev); } } } } else { Loading @@ -432,6 +438,11 @@ public class TDLScopeProvider extends AbstractDeclarativeScopeProvider { for (PackageableElement e : i.getImportedElement()) { if (c.isInstance(e)) { elements.add(e); } else if (e instanceof EnumDataType) { //enums for (SimpleDataInstance ev : ((EnumDataType) e).getValue()) { elements.add(ev); } } } } Loading