From 1f2b3980e603f471c094cbe4e2f5b9da780a81c9 Mon Sep 17 00:00:00 2001 From: Bob Jacobsen Date: Wed, 13 Jul 2022 20:17:28 -0400 Subject: [PATCH] include missing clause --- .../classdiagram/command/CommandHideShowByGender.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/net/sourceforge/plantuml/classdiagram/command/CommandHideShowByGender.java b/src/net/sourceforge/plantuml/classdiagram/command/CommandHideShowByGender.java index 6214262ab..35948e341 100644 --- a/src/net/sourceforge/plantuml/classdiagram/command/CommandHideShowByGender.java +++ b/src/net/sourceforge/plantuml/classdiagram/command/CommandHideShowByGender.java @@ -131,6 +131,10 @@ public class CommandHideShowByGender extends SingleLineCommand2 { gender = EntityGenderUtils.byEntityType(LeafType.ABSTRACT_CLASS); } else if (arg1.equalsIgnoreCase("annotation")) { gender = EntityGenderUtils.byEntityType(LeafType.ANNOTATION); + } else if (arg1.equalsIgnoreCase("protocol")) { + gender = EntityGenderUtils.byEntityType(LeafType.PROTOCOL); + } else if (arg1.equalsIgnoreCase("struct")) { + gender = EntityGenderUtils.byEntityType(LeafType.STRUCT); } else if (arg1.startsWith("<<")) { gender = EntityGenderUtils.byStereotype(arg1); } else {