diff options
author | Juergen Haug | 2015-04-14 14:13:39 +0000 |
---|---|---|
committer | Juergen Haug | 2015-04-14 14:20:58 +0000 |
commit | 21d60e5f5f35850b812d57db20855eea40825f06 (patch) | |
tree | fc49bfe86392c3d5728577b596c2f2081da77104 /plugins/org.eclipse.etrice.core.room.ui/src | |
parent | a17da1b87ab4939ec48b2d22459806e705d70e37 (diff) | |
download | org.eclipse.etrice-21d60e5f5f35850b812d57db20855eea40825f06.tar.gz org.eclipse.etrice-21d60e5f5f35850b812d57db20855eea40825f06.tar.xz org.eclipse.etrice-21d60e5f5f35850b812d57db20855eea40825f06.zip |
[room, config] Bug 464019 - code completion for ActorInstanceConfig does
not work
Change-Id: I1e1e9921f764d00b95554c882ad7916da3223cae
Diffstat (limited to 'plugins/org.eclipse.etrice.core.room.ui/src')
-rw-r--r-- | plugins/org.eclipse.etrice.core.room.ui/src/org/eclipse/etrice/core/ui/contentassist/RoomProposalProvider.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.etrice.core.room.ui/src/org/eclipse/etrice/core/ui/contentassist/RoomProposalProvider.java b/plugins/org.eclipse.etrice.core.room.ui/src/org/eclipse/etrice/core/ui/contentassist/RoomProposalProvider.java index 8bb8b2e9e..34dadc135 100644 --- a/plugins/org.eclipse.etrice.core.room.ui/src/org/eclipse/etrice/core/ui/contentassist/RoomProposalProvider.java +++ b/plugins/org.eclipse.etrice.core.room.ui/src/org/eclipse/etrice/core/ui/contentassist/RoomProposalProvider.java @@ -173,7 +173,8 @@ public class RoomProposalProvider extends AbstractRoomProposalProvider { ActorContainerClass root = roomHelpers.getParentContainer(aim); if (root != null) { RefPath path = aim.getPath(); - if (path != null && !path.getRefs().isEmpty()) + if(path != null && !path.getRefs().isEmpty() && path.getRefs().get(0) != null && + path.getRefs().get(0).getRef() != null) root = roomHelpers.getActorContainerClass(aim); if (root != null) { for (ActorContainerRef ref : roomHelpers.getRefs(root, true)) { |