From c902a21bad55634c78a37e428710faed6f0fe118 Mon Sep 17 00:00:00 2001
From: Ludovic Apvrille <ludovic.apvrille@telecom-paristech.fr>
Date: Tue, 13 Sep 2016 12:58:37 +0000
Subject: [PATCH] Adding mapping view selection for security

---
 src/ui/tmldd/TMLArchiDiagramPanel.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ui/tmldd/TMLArchiDiagramPanel.java b/src/ui/tmldd/TMLArchiDiagramPanel.java
index 99d97097ae..45a86cc8ed 100755
--- a/src/ui/tmldd/TMLArchiDiagramPanel.java
+++ b/src/ui/tmldd/TMLArchiDiagramPanel.java
@@ -411,7 +411,7 @@ public class TMLArchiDiagramPanel extends TDiagramPanel implements TDPWithAttrib
 	case VIEW_COMM_PATTERN_MAPPING:
 	    return (tgc instanceof TMLArchiElementInterface) || (tgc instanceof TMLArchiCPInterface) ||  (tgc instanceof TMLArchiPortInterface);
 	case VIEW_SECURITY_MAPPING:
-	    return (tgc instanceof TMLArchiElementInterface) || (tgc instanceof TMLArchiSecurityInterface);
+	    return (tgc instanceof TMLArchiElementInterface) || (tgc instanceof TMLArchiSecurityInterface) || (tgc instanceof TMLArchiTaskInterface);
 	default:
 	    return true;
 	}
-- 
GitLab