diff --git a/src/net/sourceforge/plantuml/classdiagram/command/CommandHideShowByGender.java b/src/net/sourceforge/plantuml/classdiagram/command/CommandHideShowByGender.java index 68f2ac6c4..37aa37f98 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.equalsIgnoreCase("exception")) { gender = EntityGenderUtils.byEntityType(LeafType.EXCEPTION); } else if (arg1.startsWith("<<")) {