From 2d2086d88fbbb429f9f4673ff6fbb66e16e3f787 Mon Sep 17 00:00:00 2001 From: Steffen Dettmer Date: Thu, 22 Nov 2018 09:52:10 +0100 Subject: [PATCH] Allow "hide footbox" in timing diagrams (ignoring it). http://forum.plantuml.net/8089/hide-footbox-not-recognized-in-timing-diagrams: When placing "hide footbox" at the beginning of a timing diagram, a syntax error is reported. This "hide footbox" is common to all our diagrams (plantuml.cfg file). ------ We have a similar problem with 'hide footbox' in the global config file; the syntax error is not related to the config file though, you can place 'hide footbox' directly in the diagram and will get the syntax error --- .../plantuml/timingdiagram/TimingDiagramFactory.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/net/sourceforge/plantuml/timingdiagram/TimingDiagramFactory.java b/src/net/sourceforge/plantuml/timingdiagram/TimingDiagramFactory.java index 4112fa51e..3f35d23e1 100644 --- a/src/net/sourceforge/plantuml/timingdiagram/TimingDiagramFactory.java +++ b/src/net/sourceforge/plantuml/timingdiagram/TimingDiagramFactory.java @@ -40,6 +40,7 @@ import java.util.List; import net.sourceforge.plantuml.command.Command; import net.sourceforge.plantuml.command.UmlDiagramFactory; +import net.sourceforge.plantuml.command.CommandFootboxIgnored; public class TimingDiagramFactory extends UmlDiagramFactory { @@ -52,6 +53,7 @@ public class TimingDiagramFactory extends UmlDiagramFactory { protected List createCommands() { final List cmds = new ArrayList(); + cmds.add(new CommandFootboxIgnored()); addCommonCommands(cmds);