Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Haug2019-07-17 13:29:22 +0000
committerJuergen Haug2019-07-17 13:29:22 +0000
commitf3a028ad1fa3e75131431ac2f8677062796661bd (patch)
treec9591c3440f163c3f0acfab973003b5c2aeb6c3f
parent26dcf9bc71d62d27eaa1ee940b76b3ae61a3f50a (diff)
downloadorg.eclipse.etrice-f3a028ad1fa3e75131431ac2f8677062796661bd.tar.gz
org.eclipse.etrice-f3a028ad1fa3e75131431ac2f8677062796661bd.tar.xz
org.eclipse.etrice-f3a028ad1fa3e75131431ac2f8677062796661bd.zip
[core] allow annotations type to be imported
-rw-r--r--plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/validation/RoomJavaValidator.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/validation/RoomJavaValidator.java b/plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/validation/RoomJavaValidator.java
index 2f9f12545..1e006c8ad 100644
--- a/plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/validation/RoomJavaValidator.java
+++ b/plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/validation/RoomJavaValidator.java
@@ -177,6 +177,7 @@ public class RoomJavaValidator extends AbstractRoomJavaValidator {
@Override
public boolean apply(IEObjectDescription input) {
return input.getEClass() == RoomPackage.Literals.ROOM_MODEL ||
+ input.getEClass() == BasePackage.Literals.ANNOTATION_TYPE ||
RoomPackage.Literals.ROOM_CLASS.isSuperTypeOf(input.getEClass());
}

Back to the top