2017-02-01 18:55:51 +00:00
|
|
|
/* ========================================================================
|
|
|
|
* PlantUML : a free UML diagram generator
|
|
|
|
* ========================================================================
|
|
|
|
*
|
2019-01-16 18:34:41 +00:00
|
|
|
* (C) Copyright 2009-2020, Arnaud Roques
|
2017-02-01 18:55:51 +00:00
|
|
|
*
|
|
|
|
* Project Info: http://plantuml.com
|
|
|
|
*
|
2017-03-15 19:13:31 +00:00
|
|
|
* If you like this project or if you find it useful, you can support us at:
|
|
|
|
*
|
|
|
|
* http://plantuml.com/patreon (only 1$ per month!)
|
|
|
|
* http://plantuml.com/paypal
|
|
|
|
*
|
2017-02-01 18:55:51 +00:00
|
|
|
* This file is part of PlantUML.
|
|
|
|
*
|
|
|
|
* PlantUML is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* PlantUML distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
|
|
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
|
|
|
|
* License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
|
|
|
* USA.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Original Author: Arnaud Roques
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
package net.sourceforge.plantuml.timingdiagram;
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
import net.sourceforge.plantuml.command.Command;
|
2018-11-22 08:52:10 +00:00
|
|
|
import net.sourceforge.plantuml.command.CommandFootboxIgnored;
|
2018-11-26 18:46:22 +00:00
|
|
|
import net.sourceforge.plantuml.command.UmlDiagramFactory;
|
2017-02-01 18:55:51 +00:00
|
|
|
|
|
|
|
public class TimingDiagramFactory extends UmlDiagramFactory {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public TimingDiagram createEmptyDiagram() {
|
|
|
|
return new TimingDiagram();
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
protected List<Command> createCommands() {
|
|
|
|
|
|
|
|
final List<Command> cmds = new ArrayList<Command>();
|
|
|
|
|
2019-04-21 20:40:01 +00:00
|
|
|
addCommonCommands1(cmds);
|
2018-11-26 18:46:22 +00:00
|
|
|
cmds.add(new CommandFootboxIgnored());
|
2019-03-01 22:16:29 +00:00
|
|
|
cmds.add(new CommandRobustConcise());
|
|
|
|
cmds.add(new CommandClock());
|
|
|
|
cmds.add(new CommandBinary());
|
2018-05-06 19:59:19 +00:00
|
|
|
cmds.add(new CommandDefineStateShort());
|
|
|
|
cmds.add(new CommandDefineStateLong());
|
2017-04-05 17:37:42 +00:00
|
|
|
cmds.add(new CommandChangeStateByPlayerCode());
|
|
|
|
cmds.add(new CommandChangeStateByTime());
|
2017-02-01 18:55:51 +00:00
|
|
|
cmds.add(new CommandAtTime());
|
2017-02-15 21:34:36 +00:00
|
|
|
cmds.add(new CommandAtPlayer());
|
2017-02-01 18:55:51 +00:00
|
|
|
cmds.add(new CommandTimeMessage());
|
2018-01-04 22:32:45 +00:00
|
|
|
cmds.add(new CommandNote());
|
|
|
|
cmds.add(new CommandNoteLong());
|
2017-02-15 21:34:36 +00:00
|
|
|
cmds.add(new CommandConstraint());
|
2017-04-19 18:30:16 +00:00
|
|
|
cmds.add(new CommandScalePixel());
|
2019-03-29 22:14:07 +00:00
|
|
|
cmds.add(new CommandHideTimeAxis());
|
2020-03-03 22:29:34 +00:00
|
|
|
cmds.add(new CommandHighlight());
|
2017-02-01 18:55:51 +00:00
|
|
|
|
|
|
|
return cmds;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|