Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2013-08-07 16:08:58 +0000
committerHenrik Rentz-Reichert2013-08-07 16:08:58 +0000
commit3b077b417cfe120a1d6ac0133c9981f5c36d1208 (patch)
treedcbcc9a2d888760d790a02d3d9f427a7ccfb5f26 /plugins/org.eclipse.etrice.generator.config/src/org/eclipse/etrice
parent3b8403120c3258c1eb807319f5f07ab2a85e8f28 (diff)
downloadorg.eclipse.etrice-3b077b417cfe120a1d6ac0133c9981f5c36d1208.tar.gz
org.eclipse.etrice-3b077b417cfe120a1d6ac0133c9981f5c36d1208.tar.xz
org.eclipse.etrice-3b077b417cfe120a1d6ac0133c9981f5c36d1208.zip
[*] bug 414560: [core.etphys][core.room] rename some attributes and references, use unordered groups
https://bugs.eclipse.org/bugs/show_bug.cgi?id=414560
Diffstat (limited to 'plugins/org.eclipse.etrice.generator.config/src/org/eclipse/etrice')
-rw-r--r--plugins/org.eclipse.etrice.generator.config/src/org/eclipse/etrice/generator/config/util/DataConfigurationHelper.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.etrice.generator.config/src/org/eclipse/etrice/generator/config/util/DataConfigurationHelper.java b/plugins/org.eclipse.etrice.generator.config/src/org/eclipse/etrice/generator/config/util/DataConfigurationHelper.java
index 2364a4bf0..da8d187b4 100644
--- a/plugins/org.eclipse.etrice.generator.config/src/org/eclipse/etrice/generator/config/util/DataConfigurationHelper.java
+++ b/plugins/org.eclipse.etrice.generator.config/src/org/eclipse/etrice/generator/config/util/DataConfigurationHelper.java
@@ -175,7 +175,7 @@ public class DataConfigurationHelper {
private static void collectConfigs(AttrClassConfig config, String path,
Map<String, AttrClassConfig> map) {
Attribute a = config.getAttribute();
- if (a.getRefType().getType() instanceof DataClass)
+ if (a.getType().getType() instanceof DataClass)
for (AttrClassConfig c : config.getAttributes())
collectConfigs(c, path + "/" + c.getAttribute().getName(), map);
map.put(path, config);
@@ -184,7 +184,7 @@ public class DataConfigurationHelper {
private static void collectConfigs(AttrInstanceConfig config, String path,
Map<String, AttrInstanceConfig> map) {
Attribute a = config.getAttribute();
- if (a.getRefType().getType() instanceof DataClass)
+ if (a.getType().getType() instanceof DataClass)
for (AttrInstanceConfig c : config.getAttributes())
collectConfigs(c, path + "/" + c.getAttribute().getName(), map);
map.put(path, config);

Back to the top