mirror of
https://github.com/octoleo/plantuml.git
synced 2024-12-22 10:59:01 +00:00
Start major packages refactoring
This commit is contained in:
parent
aa53729752
commit
4888ac976d
@ -41,12 +41,12 @@ import net.sourceforge.plantuml.version.Version;
|
|||||||
|
|
||||||
public class RunInit {
|
public class RunInit {
|
||||||
|
|
||||||
public static String pathStdlib;
|
public static String cheerpjPath;
|
||||||
|
|
||||||
public static void main(String[] argsArray) throws IOException {
|
public static void main(String[] argsArray) throws IOException {
|
||||||
pathStdlib = argsArray[0];
|
cheerpjPath = argsArray[0];
|
||||||
System.err.println("RunInit: " + Version.versionString());
|
System.err.println("RunInit: " + Version.versionString());
|
||||||
System.err.println("Internal path for stblib: " + pathStdlib);
|
System.err.println("cheerpjPath is " + cheerpjPath);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -21,9 +21,9 @@ package jcckit.util;
|
|||||||
import java.awt.Color;
|
import java.awt.Color;
|
||||||
import java.util.StringTokenizer;
|
import java.util.StringTokenizer;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.ugraphic.color.ColorMapper;
|
import net.sourceforge.plantuml.klimt.color.ColorMapper;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColorSet;
|
import net.sourceforge.plantuml.klimt.color.HColorSet;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.NoSuchColorException;
|
import net.sourceforge.plantuml.klimt.color.NoSuchColorException;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -33,15 +33,16 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package net.sourceforge.plantuml;
|
package net.atmp;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.creole.CreoleMode;
|
import net.sourceforge.plantuml.creole.CreoleMode;
|
||||||
import net.sourceforge.plantuml.creole.SheetBuilder;
|
import net.sourceforge.plantuml.creole.SheetBuilder;
|
||||||
import net.sourceforge.plantuml.graphic.FontConfiguration;
|
import net.sourceforge.plantuml.klimt.color.HColorSet;
|
||||||
import net.sourceforge.plantuml.graphic.HorizontalAlignment;
|
import net.sourceforge.plantuml.klimt.font.FontConfiguration;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColorSet;
|
import net.sourceforge.plantuml.klimt.geom.HorizontalAlignment;
|
||||||
|
import net.sourceforge.plantuml.sprite.SpriteContainer;
|
||||||
|
|
||||||
public interface ISkinSimple extends SpriteContainer {
|
public interface ISkinSimple extends SpriteContainer {
|
||||||
|
|
@ -33,14 +33,15 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
package net.sourceforge.plantuml.graphic;
|
package net.atmp;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.awt.geom.XDimension2D;
|
import net.sourceforge.plantuml.awt.geom.XDimension2D;
|
||||||
|
import net.sourceforge.plantuml.graphic.TextBlock;
|
||||||
|
import net.sourceforge.plantuml.klimt.UShapeIgnorableForCompression;
|
||||||
|
import net.sourceforge.plantuml.klimt.UTranslate;
|
||||||
|
import net.sourceforge.plantuml.klimt.comp.CompressionMode;
|
||||||
import net.sourceforge.plantuml.ugraphic.UEmpty;
|
import net.sourceforge.plantuml.ugraphic.UEmpty;
|
||||||
import net.sourceforge.plantuml.ugraphic.UGraphic;
|
import net.sourceforge.plantuml.ugraphic.UGraphic;
|
||||||
import net.sourceforge.plantuml.ugraphic.UShapeIgnorableForCompression;
|
|
||||||
import net.sourceforge.plantuml.ugraphic.UTranslate;
|
|
||||||
import net.sourceforge.plantuml.ugraphic.comp.CompressionMode;
|
|
||||||
|
|
||||||
public class SpecialText implements UShapeIgnorableForCompression {
|
public class SpecialText implements UShapeIgnorableForCompression {
|
||||||
|
|
@ -50,13 +50,14 @@ import net.sourceforge.plantuml.core.UmlSource;
|
|||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
import net.sourceforge.plantuml.cucadiagram.DisplayPositioned;
|
import net.sourceforge.plantuml.cucadiagram.DisplayPositioned;
|
||||||
import net.sourceforge.plantuml.cucadiagram.DisplayPositionned;
|
import net.sourceforge.plantuml.cucadiagram.DisplayPositionned;
|
||||||
import net.sourceforge.plantuml.graphic.HorizontalAlignment;
|
|
||||||
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.ColorMapper;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.NoSuchColorException;
|
||||||
|
import net.sourceforge.plantuml.klimt.geom.HorizontalAlignment;
|
||||||
import net.sourceforge.plantuml.stats.StatsUtilsIncrement;
|
import net.sourceforge.plantuml.stats.StatsUtilsIncrement;
|
||||||
import net.sourceforge.plantuml.style.ClockwiseTopRightBottomLeft;
|
import net.sourceforge.plantuml.style.ClockwiseTopRightBottomLeft;
|
||||||
|
import net.sourceforge.plantuml.text.BackSlash;
|
||||||
import net.sourceforge.plantuml.ugraphic.ImageBuilder;
|
import net.sourceforge.plantuml.ugraphic.ImageBuilder;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.ColorMapper;
|
|
||||||
import net.sourceforge.plantuml.ugraphic.color.NoSuchColorException;
|
|
||||||
import net.sourceforge.plantuml.utils.BlocLines;
|
import net.sourceforge.plantuml.utils.BlocLines;
|
||||||
import net.sourceforge.plantuml.version.License;
|
import net.sourceforge.plantuml.version.License;
|
||||||
import net.sourceforge.plantuml.version.Version;
|
import net.sourceforge.plantuml.version.Version;
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
*/
|
*/
|
||||||
package net.sourceforge.plantuml;
|
package net.sourceforge.plantuml;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.graphic.HorizontalAlignment;
|
import net.sourceforge.plantuml.klimt.geom.HorizontalAlignment;
|
||||||
|
|
||||||
|
|
||||||
public enum AlignmentParam {
|
public enum AlignmentParam {
|
||||||
|
@ -42,23 +42,24 @@ import net.sourceforge.plantuml.cucadiagram.Display;
|
|||||||
import net.sourceforge.plantuml.cucadiagram.DisplayPositioned;
|
import net.sourceforge.plantuml.cucadiagram.DisplayPositioned;
|
||||||
import net.sourceforge.plantuml.cucadiagram.DisplaySection;
|
import net.sourceforge.plantuml.cucadiagram.DisplaySection;
|
||||||
import net.sourceforge.plantuml.graphic.BigFrame;
|
import net.sourceforge.plantuml.graphic.BigFrame;
|
||||||
import net.sourceforge.plantuml.graphic.FontConfiguration;
|
|
||||||
import net.sourceforge.plantuml.graphic.HorizontalAlignment;
|
|
||||||
import net.sourceforge.plantuml.graphic.InnerStrategy;
|
import net.sourceforge.plantuml.graphic.InnerStrategy;
|
||||||
import net.sourceforge.plantuml.graphic.StringBounder;
|
|
||||||
import net.sourceforge.plantuml.graphic.SymbolContext;
|
import net.sourceforge.plantuml.graphic.SymbolContext;
|
||||||
import net.sourceforge.plantuml.graphic.TextBlock;
|
import net.sourceforge.plantuml.graphic.TextBlock;
|
||||||
import net.sourceforge.plantuml.graphic.TextBlockUtils;
|
import net.sourceforge.plantuml.graphic.TextBlockUtils;
|
||||||
|
import net.sourceforge.plantuml.klimt.UTranslate;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.FontConfiguration;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.FontParam;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.StringBounder;
|
||||||
|
import net.sourceforge.plantuml.klimt.geom.HorizontalAlignment;
|
||||||
|
import net.sourceforge.plantuml.klimt.geom.MinMax;
|
||||||
import net.sourceforge.plantuml.style.ClockwiseTopRightBottomLeft;
|
import net.sourceforge.plantuml.style.ClockwiseTopRightBottomLeft;
|
||||||
import net.sourceforge.plantuml.style.SName;
|
import net.sourceforge.plantuml.style.SName;
|
||||||
import net.sourceforge.plantuml.style.Style;
|
import net.sourceforge.plantuml.style.Style;
|
||||||
import net.sourceforge.plantuml.style.StyleSignatureBasic;
|
import net.sourceforge.plantuml.style.StyleSignatureBasic;
|
||||||
import net.sourceforge.plantuml.svek.DecorateEntityImage;
|
import net.sourceforge.plantuml.svek.DecorateEntityImage;
|
||||||
import net.sourceforge.plantuml.svek.TextBlockBackcolored;
|
import net.sourceforge.plantuml.svek.TextBlockBackcolored;
|
||||||
import net.sourceforge.plantuml.ugraphic.MinMax;
|
|
||||||
import net.sourceforge.plantuml.ugraphic.UGraphic;
|
import net.sourceforge.plantuml.ugraphic.UGraphic;
|
||||||
import net.sourceforge.plantuml.ugraphic.UTranslate;
|
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
|
||||||
|
|
||||||
public class AnnotatedBuilder {
|
public class AnnotatedBuilder {
|
||||||
|
|
||||||
|
@ -36,9 +36,9 @@
|
|||||||
package net.sourceforge.plantuml;
|
package net.sourceforge.plantuml;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.DisplayPositioned;
|
import net.sourceforge.plantuml.cucadiagram.DisplayPositioned;
|
||||||
import net.sourceforge.plantuml.graphic.HorizontalAlignment;
|
|
||||||
import net.sourceforge.plantuml.graphic.StringBounder;
|
|
||||||
import net.sourceforge.plantuml.graphic.TextBlock;
|
import net.sourceforge.plantuml.graphic.TextBlock;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.StringBounder;
|
||||||
|
import net.sourceforge.plantuml.klimt.geom.HorizontalAlignment;
|
||||||
import net.sourceforge.plantuml.svek.DecorateEntityImage;
|
import net.sourceforge.plantuml.svek.DecorateEntityImage;
|
||||||
import net.sourceforge.plantuml.svek.TextBlockBackcolored;
|
import net.sourceforge.plantuml.svek.TextBlockBackcolored;
|
||||||
|
|
||||||
|
@ -48,20 +48,22 @@ import java.util.HashSet;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
|
import net.atmp.ISkinSimple;
|
||||||
import net.sourceforge.plantuml.code.AsciiEncoder;
|
import net.sourceforge.plantuml.code.AsciiEncoder;
|
||||||
import net.sourceforge.plantuml.code.Transcoder;
|
import net.sourceforge.plantuml.code.Transcoder;
|
||||||
import net.sourceforge.plantuml.code.TranscoderUtil;
|
import net.sourceforge.plantuml.code.TranscoderUtil;
|
||||||
import net.sourceforge.plantuml.command.regex.Matcher2;
|
|
||||||
import net.sourceforge.plantuml.core.Diagram;
|
import net.sourceforge.plantuml.core.Diagram;
|
||||||
import net.sourceforge.plantuml.error.PSystemErrorPreprocessor;
|
import net.sourceforge.plantuml.error.PSystemErrorPreprocessor;
|
||||||
import net.sourceforge.plantuml.log.Logme;
|
import net.sourceforge.plantuml.log.Logme;
|
||||||
import net.sourceforge.plantuml.preproc.Defines;
|
import net.sourceforge.plantuml.preproc.Defines;
|
||||||
import net.sourceforge.plantuml.preproc.FileWithSuffix;
|
import net.sourceforge.plantuml.preproc.FileWithSuffix;
|
||||||
import net.sourceforge.plantuml.preproc2.PreprocessorModeSet;
|
import net.sourceforge.plantuml.preproc2.PreprocessorModeSet;
|
||||||
|
import net.sourceforge.plantuml.regex.Matcher2;
|
||||||
|
import net.sourceforge.plantuml.text.BackSlash;
|
||||||
|
import net.sourceforge.plantuml.text.StringLocated;
|
||||||
import net.sourceforge.plantuml.tim.TimLoader;
|
import net.sourceforge.plantuml.tim.TimLoader;
|
||||||
import net.sourceforge.plantuml.utils.LineLocationImpl;
|
import net.sourceforge.plantuml.utils.LineLocationImpl;
|
||||||
import net.sourceforge.plantuml.utils.StartUtils;
|
import net.sourceforge.plantuml.utils.StartUtils;
|
||||||
import net.sourceforge.plantuml.utils.StringLocated;
|
|
||||||
import net.sourceforge.plantuml.version.Version;
|
import net.sourceforge.plantuml.version.Version;
|
||||||
|
|
||||||
public class BlockUml {
|
public class BlockUml {
|
||||||
|
@ -55,8 +55,8 @@ import net.sourceforge.plantuml.preproc.ReadLineReader;
|
|||||||
import net.sourceforge.plantuml.preproc.UncommentReadLine;
|
import net.sourceforge.plantuml.preproc.UncommentReadLine;
|
||||||
import net.sourceforge.plantuml.preproc2.Preprocessor;
|
import net.sourceforge.plantuml.preproc2.Preprocessor;
|
||||||
import net.sourceforge.plantuml.security.SFile;
|
import net.sourceforge.plantuml.security.SFile;
|
||||||
|
import net.sourceforge.plantuml.text.StringLocated;
|
||||||
import net.sourceforge.plantuml.utils.StartUtils;
|
import net.sourceforge.plantuml.utils.StartUtils;
|
||||||
import net.sourceforge.plantuml.utils.StringLocated;
|
|
||||||
|
|
||||||
public final class BlockUmlBuilder implements DefinitionsContainer {
|
public final class BlockUmlBuilder implements DefinitionsContainer {
|
||||||
|
|
||||||
|
@ -35,12 +35,12 @@
|
|||||||
*/
|
*/
|
||||||
package net.sourceforge.plantuml;
|
package net.sourceforge.plantuml;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.annotation.HaxeIgnored;
|
|
||||||
import net.sourceforge.plantuml.graphic.color.ColorType;
|
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColors;
|
|
||||||
|
|
||||||
@HaxeIgnored
|
import net.sourceforge.plantuml.klimt.color.ColorType;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.HColors;
|
||||||
|
|
||||||
|
|
||||||
public enum ColorParam {
|
public enum ColorParam {
|
||||||
background(HColors.WHITE, true, ColorType.BACK),
|
background(HColors.WHITE, true, ColorType.BACK),
|
||||||
hyperlink(HColors.BLUE),
|
hyperlink(HColors.BLUE),
|
||||||
|
@ -43,24 +43,25 @@ import java.util.Arrays;
|
|||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import net.atmp.ISkinSimple;
|
||||||
import net.sourceforge.plantuml.awt.geom.XDimension2D;
|
import net.sourceforge.plantuml.awt.geom.XDimension2D;
|
||||||
import net.sourceforge.plantuml.core.Diagram;
|
import net.sourceforge.plantuml.core.Diagram;
|
||||||
import net.sourceforge.plantuml.creole.Neutron;
|
import net.sourceforge.plantuml.creole.Neutron;
|
||||||
import net.sourceforge.plantuml.creole.atom.Atom;
|
import net.sourceforge.plantuml.creole.atom.Atom;
|
||||||
import net.sourceforge.plantuml.graphic.AbstractTextBlock;
|
import net.sourceforge.plantuml.graphic.AbstractTextBlock;
|
||||||
import net.sourceforge.plantuml.graphic.HorizontalAlignment;
|
|
||||||
import net.sourceforge.plantuml.graphic.Line;
|
import net.sourceforge.plantuml.graphic.Line;
|
||||||
import net.sourceforge.plantuml.graphic.StringBounder;
|
import net.sourceforge.plantuml.klimt.UImage;
|
||||||
|
import net.sourceforge.plantuml.klimt.UShape;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.StringBounder;
|
||||||
|
import net.sourceforge.plantuml.klimt.geom.HorizontalAlignment;
|
||||||
import net.sourceforge.plantuml.log.Logme;
|
import net.sourceforge.plantuml.log.Logme;
|
||||||
import net.sourceforge.plantuml.preproc.Defines;
|
import net.sourceforge.plantuml.preproc.Defines;
|
||||||
import net.sourceforge.plantuml.security.SImageIO;
|
import net.sourceforge.plantuml.security.SImageIO;
|
||||||
|
import net.sourceforge.plantuml.text.StringLocated;
|
||||||
import net.sourceforge.plantuml.ugraphic.AffineTransformType;
|
import net.sourceforge.plantuml.ugraphic.AffineTransformType;
|
||||||
import net.sourceforge.plantuml.ugraphic.PixelImage;
|
import net.sourceforge.plantuml.ugraphic.PixelImage;
|
||||||
import net.sourceforge.plantuml.ugraphic.UGraphic;
|
import net.sourceforge.plantuml.ugraphic.UGraphic;
|
||||||
import net.sourceforge.plantuml.ugraphic.UImage;
|
|
||||||
import net.sourceforge.plantuml.ugraphic.UImageSvg;
|
import net.sourceforge.plantuml.ugraphic.UImageSvg;
|
||||||
import net.sourceforge.plantuml.ugraphic.UShape;
|
|
||||||
import net.sourceforge.plantuml.utils.StringLocated;
|
|
||||||
|
|
||||||
public class EmbeddedDiagram extends AbstractTextBlock implements Line, Atom {
|
public class EmbeddedDiagram extends AbstractTextBlock implements Line, Atom {
|
||||||
|
|
||||||
@ -154,7 +155,7 @@ public class EmbeddedDiagram extends AbstractTextBlock implements Line, Atom {
|
|||||||
|
|
||||||
public XDimension2D calculateDimension(StringBounder stringBounder) {
|
public XDimension2D calculateDimension(StringBounder stringBounder) {
|
||||||
try {
|
try {
|
||||||
if (stringBounder.getNativeFormat() == FileFormat.SVG) {
|
if (stringBounder.matchesProperty("SVG")) {
|
||||||
final String imageSvg = getImageSvg();
|
final String imageSvg = getImageSvg();
|
||||||
final UImageSvg svg = new UImageSvg(imageSvg, 1);
|
final UImageSvg svg = new UImageSvg(imageSvg, 1);
|
||||||
return new XDimension2D(svg.getWidth(), svg.getHeight());
|
return new XDimension2D(svg.getWidth(), svg.getHeight());
|
||||||
|
@ -46,11 +46,11 @@ import java.util.ArrayList;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.dot.GraphvizUtils;
|
import net.sourceforge.plantuml.cucadiagram.dot.GraphvizUtils;
|
||||||
import net.sourceforge.plantuml.graphic.StringBounder;
|
import net.sourceforge.plantuml.klimt.UAntiAliasing;
|
||||||
import net.sourceforge.plantuml.ugraphic.UAntiAliasing;
|
import net.sourceforge.plantuml.klimt.color.ColorMapper;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.ColorMapper;
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
import net.sourceforge.plantuml.klimt.color.HColors;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColors;
|
import net.sourceforge.plantuml.klimt.font.StringBounder;
|
||||||
import net.sourceforge.plantuml.ugraphic.g2d.UGraphicG2d;
|
import net.sourceforge.plantuml.ugraphic.g2d.UGraphicG2d;
|
||||||
import net.sourceforge.plantuml.utils.Log;
|
import net.sourceforge.plantuml.utils.Log;
|
||||||
|
|
||||||
|
@ -46,13 +46,14 @@ import java.io.IOException;
|
|||||||
import net.sourceforge.plantuml.awt.geom.XDimension2D;
|
import net.sourceforge.plantuml.awt.geom.XDimension2D;
|
||||||
import net.sourceforge.plantuml.braille.BrailleCharFactory;
|
import net.sourceforge.plantuml.braille.BrailleCharFactory;
|
||||||
import net.sourceforge.plantuml.braille.UGraphicBraille;
|
import net.sourceforge.plantuml.braille.UGraphicBraille;
|
||||||
import net.sourceforge.plantuml.graphic.StringBounder;
|
import net.sourceforge.plantuml.klimt.font.StringBounder;
|
||||||
import net.sourceforge.plantuml.graphic.StringBounderRaw;
|
import net.sourceforge.plantuml.klimt.font.StringBounderRaw;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.UFont;
|
||||||
import net.sourceforge.plantuml.log.Logme;
|
import net.sourceforge.plantuml.log.Logme;
|
||||||
import net.sourceforge.plantuml.png.MetadataTag;
|
import net.sourceforge.plantuml.png.MetadataTag;
|
||||||
import net.sourceforge.plantuml.security.SFile;
|
import net.sourceforge.plantuml.security.SFile;
|
||||||
import net.sourceforge.plantuml.svg.SvgGraphics;
|
import net.sourceforge.plantuml.svg.SvgGraphics;
|
||||||
import net.sourceforge.plantuml.ugraphic.UFont;
|
import net.sourceforge.plantuml.text.SvgCharSizeHack;
|
||||||
import net.sourceforge.plantuml.ugraphic.debug.StringBounderDebug;
|
import net.sourceforge.plantuml.ugraphic.debug.StringBounderDebug;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -168,8 +169,8 @@ public enum FileFormat {
|
|||||||
return getJavaDimension(font, text);
|
return getJavaDimension(font, text);
|
||||||
}
|
}
|
||||||
|
|
||||||
public FileFormat getNativeFormat() {
|
public boolean matchesProperty(String propertyName) {
|
||||||
return FileFormat.this;
|
return "SVG".equalsIgnoreCase(propertyName);
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
@ -185,8 +186,8 @@ public enum FileFormat {
|
|||||||
return getJavaDimension(font, text);
|
return getJavaDimension(font, text);
|
||||||
}
|
}
|
||||||
|
|
||||||
public FileFormat getNativeFormat() {
|
public boolean matchesProperty(String propertyName) {
|
||||||
return FileFormat.this;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
@ -219,8 +220,8 @@ public enum FileFormat {
|
|||||||
return UGraphicBraille.QUANTA;
|
return UGraphicBraille.QUANTA;
|
||||||
}
|
}
|
||||||
|
|
||||||
public FileFormat getNativeFormat() {
|
public boolean matchesProperty(String propertyName) {
|
||||||
return FileFormat.this;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
@ -244,8 +245,8 @@ public enum FileFormat {
|
|||||||
return w2.withWidth(Math.max(w1.getWidth(), magnify * w2.getWidth() - delta));
|
return w2.withWidth(Math.max(w1.getWidth(), magnify * w2.getWidth() - delta));
|
||||||
}
|
}
|
||||||
|
|
||||||
public FileFormat getNativeFormat() {
|
public boolean matchesProperty(String propertyName) {
|
||||||
return FileFormat.this;
|
return false;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -273,13 +274,13 @@ public enum FileFormat {
|
|||||||
OptionFlags.getInstance().getFileSeparator() + String.format("%03d", cpt) + getFileSuffix());
|
OptionFlags.getInstance().getFileSeparator() + String.format("%03d", cpt) + getFileSuffix());
|
||||||
}
|
}
|
||||||
|
|
||||||
private SFile computeFilename(SFile pngFile, int i) {
|
// private SFile computeFilename(SFile pngFile, int i) {
|
||||||
if (i == 0)
|
// if (i == 0)
|
||||||
return pngFile;
|
// return pngFile;
|
||||||
|
//
|
||||||
final SFile dir = pngFile.getParentFile();
|
// final SFile dir = pngFile.getParentFile();
|
||||||
return dir.file(computeFilenameInternal(pngFile.getName(), i));
|
// return dir.file(computeFilenameInternal(pngFile.getName(), i));
|
||||||
}
|
// }
|
||||||
|
|
||||||
private String changeName(String fileName, String replacement) {
|
private String changeName(String fileName, String replacement) {
|
||||||
String result = fileName.replaceAll("\\.\\w+$", replacement);
|
String result = fileName.replaceAll("\\.\\w+$", replacement);
|
||||||
@ -289,13 +290,13 @@ public enum FileFormat {
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
private String computeFilenameInternal(String name, int i) {
|
// private String computeFilenameInternal(String name, int i) {
|
||||||
if (i == 0)
|
// if (i == 0)
|
||||||
return name;
|
// return name;
|
||||||
|
//
|
||||||
return name.replaceAll("\\" + getFileSuffix() + "$",
|
// return name.replaceAll("\\" + getFileSuffix() + "$",
|
||||||
OptionFlags.getInstance().getFileSeparator() + String.format("%03d", i) + getFileSuffix());
|
// OptionFlags.getInstance().getFileSeparator() + String.format("%03d", i) + getFileSuffix());
|
||||||
}
|
// }
|
||||||
|
|
||||||
public boolean doesSupportMetadata() {
|
public boolean doesSupportMetadata() {
|
||||||
return this == PNG || this == SVG;
|
return this == PNG || this == SVG;
|
||||||
|
@ -39,9 +39,9 @@ import java.awt.geom.AffineTransform;
|
|||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.annotation.HaxeIgnored;
|
import net.sourceforge.plantuml.klimt.color.ColorMapper;
|
||||||
import net.sourceforge.plantuml.graphic.StringBounder;
|
import net.sourceforge.plantuml.klimt.font.StringBounder;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.ColorMapper;
|
import net.sourceforge.plantuml.text.SvgCharSizeHack;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A FileFormat with some parameters.
|
* A FileFormat with some parameters.
|
||||||
@ -67,13 +67,13 @@ public final class FileFormatOption implements Serializable {
|
|||||||
return scale;
|
return scale;
|
||||||
}
|
}
|
||||||
|
|
||||||
@HaxeIgnored
|
|
||||||
public FileFormatOption(FileFormat fileFormat) {
|
public FileFormatOption(FileFormat fileFormat) {
|
||||||
this(fileFormat, true, false, null, false, null, TikzFontDistortion.getDefault(), 1.0, null, null,
|
this(fileFormat, true, false, null, false, null, TikzFontDistortion.getDefault(), 1.0, null, null,
|
||||||
ColorMapper.IDENTITY);
|
ColorMapper.IDENTITY);
|
||||||
}
|
}
|
||||||
|
|
||||||
@HaxeIgnored
|
|
||||||
public FileFormatOption(FileFormat fileFormat, boolean withMetadata) {
|
public FileFormatOption(FileFormat fileFormat, boolean withMetadata) {
|
||||||
this(fileFormat, withMetadata, false, null, false, null, TikzFontDistortion.getDefault(), 1.0, null, null,
|
this(fileFormat, withMetadata, false, null, false, null, TikzFontDistortion.getDefault(), 1.0, null, null,
|
||||||
ColorMapper.IDENTITY);
|
ColorMapper.IDENTITY);
|
||||||
|
@ -40,9 +40,9 @@ import java.util.ArrayList;
|
|||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.command.regex.Matcher2;
|
import net.sourceforge.plantuml.regex.Matcher2;
|
||||||
import net.sourceforge.plantuml.command.regex.MyPattern;
|
import net.sourceforge.plantuml.regex.MyPattern;
|
||||||
import net.sourceforge.plantuml.command.regex.Pattern2;
|
import net.sourceforge.plantuml.regex.Pattern2;
|
||||||
|
|
||||||
public class FileGroup {
|
public class FileGroup {
|
||||||
|
|
||||||
|
@ -65,14 +65,21 @@ public class FileSystem {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public SFile getCurrentDir() {
|
public SFile getCurrentDir() {
|
||||||
|
// ::comment when WASM
|
||||||
final String path = this.currentDir.get();
|
final String path = this.currentDir.get();
|
||||||
if (path != null) {
|
if (path != null)
|
||||||
return new SFile(path);
|
return new SFile(path);
|
||||||
}
|
// ::done
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public SFile getFile(String nameOrPath) throws IOException {
|
public SFile getFile(String nameOrPath) throws IOException {
|
||||||
|
// ::uncomment when WASM
|
||||||
|
// return null;
|
||||||
|
// ::done
|
||||||
|
|
||||||
|
// ::comment when WASM
|
||||||
if (isAbsolute(nameOrPath)) {
|
if (isAbsolute(nameOrPath)) {
|
||||||
final SFile result = new SFile(nameOrPath);
|
final SFile result = new SFile(nameOrPath);
|
||||||
Log.info("Trying " + result.getAbsolutePath());
|
Log.info("Trying " + result.getAbsolutePath());
|
||||||
@ -107,12 +114,15 @@ public class FileSystem {
|
|||||||
}
|
}
|
||||||
assert filecurrent != null;
|
assert filecurrent != null;
|
||||||
return filecurrent;
|
return filecurrent;
|
||||||
|
// ::done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ::comment when WASM
|
||||||
private boolean isAbsolute(String nameOrPath) {
|
private boolean isAbsolute(String nameOrPath) {
|
||||||
final SFile f = new SFile(nameOrPath);
|
final SFile f = new SFile(nameOrPath);
|
||||||
return f.isAbsolute();
|
return f.isAbsolute();
|
||||||
}
|
}
|
||||||
|
// ::done
|
||||||
|
|
||||||
public void reset() {
|
public void reset() {
|
||||||
setCurrentDir(new SFile("."));
|
setCurrentDir(new SFile("."));
|
||||||
|
@ -37,12 +37,18 @@ package net.sourceforge.plantuml;
|
|||||||
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.activitydiagram3.ftile.Arrows;
|
import net.atmp.ISkinSimple;
|
||||||
import net.sourceforge.plantuml.cucadiagram.Rankdir;
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
||||||
import net.sourceforge.plantuml.cucadiagram.dot.DotSplines;
|
import net.sourceforge.plantuml.cucadiagram.dot.DotSplines;
|
||||||
import net.sourceforge.plantuml.graphic.HorizontalAlignment;
|
|
||||||
import net.sourceforge.plantuml.graphic.color.Colors;
|
import net.sourceforge.plantuml.graphic.color.Colors;
|
||||||
|
import net.sourceforge.plantuml.klimt.Arrows;
|
||||||
|
import net.sourceforge.plantuml.klimt.UStroke;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.NoSuchColorException;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.FontParam;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.UFont;
|
||||||
|
import net.sourceforge.plantuml.klimt.geom.HorizontalAlignment;
|
||||||
|
import net.sourceforge.plantuml.klimt.geom.Rankdir;
|
||||||
import net.sourceforge.plantuml.skin.ActorStyle;
|
import net.sourceforge.plantuml.skin.ActorStyle;
|
||||||
import net.sourceforge.plantuml.skin.ArrowDirection;
|
import net.sourceforge.plantuml.skin.ArrowDirection;
|
||||||
import net.sourceforge.plantuml.skin.Padder;
|
import net.sourceforge.plantuml.skin.Padder;
|
||||||
@ -52,10 +58,7 @@ import net.sourceforge.plantuml.svek.ConditionEndStyle;
|
|||||||
import net.sourceforge.plantuml.svek.ConditionStyle;
|
import net.sourceforge.plantuml.svek.ConditionStyle;
|
||||||
import net.sourceforge.plantuml.svek.PackageStyle;
|
import net.sourceforge.plantuml.svek.PackageStyle;
|
||||||
import net.sourceforge.plantuml.svg.LengthAdjust;
|
import net.sourceforge.plantuml.svg.LengthAdjust;
|
||||||
import net.sourceforge.plantuml.ugraphic.UFont;
|
import net.sourceforge.plantuml.text.Guillemet;
|
||||||
import net.sourceforge.plantuml.ugraphic.UStroke;
|
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
|
||||||
import net.sourceforge.plantuml.ugraphic.color.NoSuchColorException;
|
|
||||||
|
|
||||||
public interface ISkinParam extends ISkinSimple {
|
public interface ISkinParam extends ISkinSimple {
|
||||||
|
|
||||||
|
@ -35,9 +35,9 @@
|
|||||||
*/
|
*/
|
||||||
package net.sourceforge.plantuml;
|
package net.sourceforge.plantuml;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.graphic.color.ColorType;
|
|
||||||
import net.sourceforge.plantuml.graphic.color.Colors;
|
import net.sourceforge.plantuml.graphic.color.Colors;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
import net.sourceforge.plantuml.klimt.color.ColorType;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
|
|
||||||
public interface LineConfigurable {
|
public interface LineConfigurable {
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ import net.sourceforge.plantuml.core.Diagram;
|
|||||||
import net.sourceforge.plantuml.core.DiagramDescription;
|
import net.sourceforge.plantuml.core.DiagramDescription;
|
||||||
import net.sourceforge.plantuml.core.ImageData;
|
import net.sourceforge.plantuml.core.ImageData;
|
||||||
import net.sourceforge.plantuml.core.UmlSource;
|
import net.sourceforge.plantuml.core.UmlSource;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.NoSuchColorException;
|
import net.sourceforge.plantuml.klimt.color.NoSuchColorException;
|
||||||
import net.sourceforge.plantuml.utils.BlocLines;
|
import net.sourceforge.plantuml.utils.BlocLines;
|
||||||
|
|
||||||
public class NewpagedDiagram extends AbstractPSystem {
|
public class NewpagedDiagram extends AbstractPSystem {
|
||||||
|
@ -46,19 +46,19 @@ import java.util.LinkedHashMap;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.annotation.HaxeIgnored;
|
|
||||||
import net.sourceforge.plantuml.api.ApiWarning;
|
import net.sourceforge.plantuml.api.ApiWarning;
|
||||||
import net.sourceforge.plantuml.command.regex.Matcher2;
|
|
||||||
import net.sourceforge.plantuml.command.regex.MyPattern;
|
|
||||||
import net.sourceforge.plantuml.command.regex.Pattern2;
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.dot.GraphvizUtils;
|
import net.sourceforge.plantuml.cucadiagram.dot.GraphvizUtils;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.ColorMapper;
|
||||||
import net.sourceforge.plantuml.preproc.Defines;
|
import net.sourceforge.plantuml.preproc.Defines;
|
||||||
|
import net.sourceforge.plantuml.regex.Matcher2;
|
||||||
|
import net.sourceforge.plantuml.regex.MyPattern;
|
||||||
|
import net.sourceforge.plantuml.regex.Pattern2;
|
||||||
import net.sourceforge.plantuml.security.SFile;
|
import net.sourceforge.plantuml.security.SFile;
|
||||||
import net.sourceforge.plantuml.stats.StatsUtils;
|
import net.sourceforge.plantuml.stats.StatsUtils;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.ColorMapper;
|
|
||||||
import net.sourceforge.plantuml.utils.Log;
|
import net.sourceforge.plantuml.utils.Log;
|
||||||
|
|
||||||
@HaxeIgnored
|
|
||||||
public class Option {
|
public class Option {
|
||||||
|
|
||||||
private final List<String> excludes = new ArrayList<>();
|
private final List<String> excludes = new ArrayList<>();
|
||||||
@ -407,6 +407,7 @@ public class Option {
|
|||||||
// ::done
|
// ::done
|
||||||
|
|
||||||
public Stdrpt getStdrpt() {
|
public Stdrpt getStdrpt() {
|
||||||
|
// ::comment when WASM
|
||||||
if (stdrpt == 1)
|
if (stdrpt == 1)
|
||||||
return new StdrptV1();
|
return new StdrptV1();
|
||||||
|
|
||||||
@ -416,6 +417,7 @@ public class Option {
|
|||||||
// Legacy case
|
// Legacy case
|
||||||
if (isPipe() || isPipeMap() || isSyntax())
|
if (isPipe() || isPipeMap() || isSyntax())
|
||||||
return new StdrptPipe0();
|
return new StdrptPipe0();
|
||||||
|
// ::done
|
||||||
|
|
||||||
return new StdrptNull();
|
return new StdrptNull();
|
||||||
}
|
}
|
||||||
|
@ -228,6 +228,7 @@ public class OptionFlags {
|
|||||||
// ::done
|
// ::done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ::comment when WASM
|
||||||
public final void setLogData(SFile logData) {
|
public final void setLogData(SFile logData) {
|
||||||
this.logData = logData;
|
this.logData = logData;
|
||||||
logData.delete();
|
logData.delete();
|
||||||
@ -258,6 +259,7 @@ public class OptionFlags {
|
|||||||
public final void setEncodesprite(boolean encodesprite) {
|
public final void setEncodesprite(boolean encodesprite) {
|
||||||
this.encodesprite = encodesprite;
|
this.encodesprite = encodesprite;
|
||||||
}
|
}
|
||||||
|
// ::done
|
||||||
|
|
||||||
public final boolean isOverwrite() {
|
public final boolean isOverwrite() {
|
||||||
return overwrite;
|
return overwrite;
|
||||||
|
@ -47,7 +47,6 @@ import net.sourceforge.plantuml.api.PSystemFactory;
|
|||||||
import net.sourceforge.plantuml.board.BoardDiagramFactory;
|
import net.sourceforge.plantuml.board.BoardDiagramFactory;
|
||||||
import net.sourceforge.plantuml.bpm.BpmDiagramFactory;
|
import net.sourceforge.plantuml.bpm.BpmDiagramFactory;
|
||||||
import net.sourceforge.plantuml.classdiagram.ClassDiagramFactory;
|
import net.sourceforge.plantuml.classdiagram.ClassDiagramFactory;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
|
||||||
import net.sourceforge.plantuml.core.Diagram;
|
import net.sourceforge.plantuml.core.Diagram;
|
||||||
import net.sourceforge.plantuml.core.DiagramType;
|
import net.sourceforge.plantuml.core.DiagramType;
|
||||||
import net.sourceforge.plantuml.core.UmlSource;
|
import net.sourceforge.plantuml.core.UmlSource;
|
||||||
@ -85,8 +84,9 @@ import net.sourceforge.plantuml.openiconic.PSystemListOpenIconicFactory;
|
|||||||
import net.sourceforge.plantuml.openiconic.PSystemOpenIconicFactory;
|
import net.sourceforge.plantuml.openiconic.PSystemOpenIconicFactory;
|
||||||
import net.sourceforge.plantuml.oregon.PSystemOregonFactory;
|
import net.sourceforge.plantuml.oregon.PSystemOregonFactory;
|
||||||
import net.sourceforge.plantuml.project.GanttDiagramFactory;
|
import net.sourceforge.plantuml.project.GanttDiagramFactory;
|
||||||
import net.sourceforge.plantuml.regex.PSystemRegexFactory;
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
import net.sourceforge.plantuml.salt.PSystemSaltFactory2;
|
import net.sourceforge.plantuml.regexdiagram.PSystemRegexFactory;
|
||||||
|
import net.sourceforge.plantuml.salt.PSystemSaltFactory;
|
||||||
import net.sourceforge.plantuml.security.SecurityProfile;
|
import net.sourceforge.plantuml.security.SecurityProfile;
|
||||||
import net.sourceforge.plantuml.security.SecurityUtils;
|
import net.sourceforge.plantuml.security.SecurityUtils;
|
||||||
import net.sourceforge.plantuml.sequencediagram.SequenceDiagramFactory;
|
import net.sourceforge.plantuml.sequencediagram.SequenceDiagramFactory;
|
||||||
@ -96,9 +96,9 @@ import net.sourceforge.plantuml.sprite.StdlibDiagramFactory;
|
|||||||
import net.sourceforge.plantuml.statediagram.StateDiagramFactory;
|
import net.sourceforge.plantuml.statediagram.StateDiagramFactory;
|
||||||
import net.sourceforge.plantuml.stats.StatsUtilsIncrement;
|
import net.sourceforge.plantuml.stats.StatsUtilsIncrement;
|
||||||
import net.sourceforge.plantuml.sudoku.PSystemSudokuFactory;
|
import net.sourceforge.plantuml.sudoku.PSystemSudokuFactory;
|
||||||
|
import net.sourceforge.plantuml.text.StringLocated;
|
||||||
import net.sourceforge.plantuml.timingdiagram.TimingDiagramFactory;
|
import net.sourceforge.plantuml.timingdiagram.TimingDiagramFactory;
|
||||||
import net.sourceforge.plantuml.utils.Log;
|
import net.sourceforge.plantuml.utils.Log;
|
||||||
import net.sourceforge.plantuml.utils.StringLocated;
|
|
||||||
import net.sourceforge.plantuml.version.License;
|
import net.sourceforge.plantuml.version.License;
|
||||||
import net.sourceforge.plantuml.version.PSystemLicenseFactory;
|
import net.sourceforge.plantuml.version.PSystemLicenseFactory;
|
||||||
import net.sourceforge.plantuml.version.PSystemVersionFactory;
|
import net.sourceforge.plantuml.version.PSystemVersionFactory;
|
||||||
@ -169,64 +169,59 @@ public class PSystemBuilder {
|
|||||||
factories.add(new DescriptionDiagramFactory());
|
factories.add(new DescriptionDiagramFactory());
|
||||||
factories.add(new StateDiagramFactory());
|
factories.add(new StateDiagramFactory());
|
||||||
factories.add(new ActivityDiagramFactory3());
|
factories.add(new ActivityDiagramFactory3());
|
||||||
// factories.add(new CompositeDiagramFactory(skinParam));
|
|
||||||
|
// ::comment when WASM
|
||||||
factories.add(new BpmDiagramFactory(DiagramType.BPM));
|
factories.add(new BpmDiagramFactory(DiagramType.BPM));
|
||||||
|
// ::done
|
||||||
|
|
||||||
// factories.add(new PostIdDiagramFactory());
|
// factories.add(new PostIdDiagramFactory());
|
||||||
factories.add(new PSystemLicenseFactory());
|
factories.add(new PSystemLicenseFactory());
|
||||||
factories.add(new PSystemVersionFactory());
|
factories.add(new PSystemVersionFactory());
|
||||||
factories.add(new PSystemDonorsFactory());
|
factories.add(new PSystemDonorsFactory());
|
||||||
|
// ::comment when WASM
|
||||||
factories.add(new PSystemSkinparameterListFactory());
|
factories.add(new PSystemSkinparameterListFactory());
|
||||||
// ::comment when WASM
|
|
||||||
factories.add(new PSystemListFontsFactory());
|
factories.add(new PSystemListFontsFactory());
|
||||||
// ::done
|
|
||||||
factories.add(new PSystemListEmojiFactory());
|
factories.add(new PSystemListEmojiFactory());
|
||||||
// ::comment when WASM
|
|
||||||
factories.add(new PSystemOpenIconicFactory());
|
factories.add(new PSystemOpenIconicFactory());
|
||||||
factories.add(new PSystemListOpenIconicFactory());
|
factories.add(new PSystemListOpenIconicFactory());
|
||||||
factories.add(new PSystemListInternalSpritesFactory());
|
factories.add(new PSystemListInternalSpritesFactory());
|
||||||
// ::done
|
// ::done
|
||||||
factories.add(new PSystemSaltFactory2(DiagramType.SALT));
|
factories.add(new PSystemSaltFactory(DiagramType.UML));
|
||||||
factories.add(new PSystemSaltFactory2(DiagramType.UML));
|
factories.add(new PSystemSaltFactory(DiagramType.SALT));
|
||||||
// ::comment when WASM
|
// ::comment when WASM
|
||||||
factories.add(new PSystemDotFactory(DiagramType.DOT));
|
factories.add(new PSystemDotFactory(DiagramType.DOT));
|
||||||
factories.add(new PSystemDotFactory(DiagramType.UML));
|
factories.add(new PSystemDotFactory(DiagramType.UML));
|
||||||
// ::done
|
// ::done
|
||||||
factories.add(new NwDiagramFactory(DiagramType.NW));
|
|
||||||
factories.add(new NwDiagramFactory(DiagramType.UML));
|
factories.add(new NwDiagramFactory(DiagramType.UML));
|
||||||
|
factories.add(new NwDiagramFactory(DiagramType.NW));
|
||||||
factories.add(new MindMapDiagramFactory());
|
factories.add(new MindMapDiagramFactory());
|
||||||
factories.add(new WBSDiagramFactory());
|
factories.add(new WBSDiagramFactory());
|
||||||
// ::comment when WASM
|
// ::comment when WASM
|
||||||
factories.add(new PSystemDitaaFactory(DiagramType.DITAA));
|
factories.add(new PSystemDitaaFactory());
|
||||||
factories.add(new PSystemDitaaFactory(DiagramType.UML));
|
|
||||||
// ::done
|
// ::done
|
||||||
if (License.getCurrent() == License.GPL || License.getCurrent() == License.GPLV2) {
|
if (License.getCurrent() == License.GPL || License.getCurrent() == License.GPLV2) {
|
||||||
// ::comment when WASM
|
// ::comment when WASM
|
||||||
factories.add(new PSystemJcckitFactory(DiagramType.JCCKIT));
|
factories.add(new PSystemJcckitFactory());
|
||||||
factories.add(new PSystemJcckitFactory(DiagramType.UML));
|
|
||||||
// ::done
|
// ::done
|
||||||
// factories.add(new PSystemLogoFactory());
|
// factories.add(new PSystemLogoFactory());
|
||||||
factories.add(new PSystemSudokuFactory());
|
factories.add(new PSystemSudokuFactory());
|
||||||
}
|
}
|
||||||
// ::comment when WASM
|
// ::comment when WASM
|
||||||
factories.add(new PSystemDefinitionFactory());
|
factories.add(new PSystemDefinitionFactory());
|
||||||
// ::done
|
|
||||||
factories.add(new ListSpriteDiagramFactory());
|
factories.add(new ListSpriteDiagramFactory());
|
||||||
// ::comment when WASM
|
|
||||||
factories.add(new StdlibDiagramFactory());
|
factories.add(new StdlibDiagramFactory());
|
||||||
factories.add(new PSystemMathFactory(DiagramType.MATH));
|
factories.add(new PSystemMathFactory(DiagramType.MATH));
|
||||||
factories.add(new PSystemLatexFactory(DiagramType.LATEX));
|
factories.add(new PSystemLatexFactory(DiagramType.LATEX));
|
||||||
// ::done
|
|
||||||
// factories.add(new PSystemStatsFactory());
|
// factories.add(new PSystemStatsFactory());
|
||||||
factories.add(new PSystemCreoleFactory());
|
factories.add(new PSystemCreoleFactory());
|
||||||
factories.add(new PSystemEggFactory());
|
factories.add(new PSystemEggFactory());
|
||||||
factories.add(new PSystemAppleTwoFactory());
|
factories.add(new PSystemAppleTwoFactory());
|
||||||
factories.add(new PSystemRIPFactory());
|
factories.add(new PSystemRIPFactory());
|
||||||
// factories.add(new PSystemLostFactory());
|
// factories.add(new PSystemLostFactory());
|
||||||
// ::comment when WASM
|
|
||||||
if (SecurityUtils.getSecurityProfile() == SecurityProfile.UNSECURE)
|
if (SecurityUtils.getSecurityProfile() == SecurityProfile.UNSECURE)
|
||||||
factories.add(new PSystemPathFactory());
|
factories.add(new PSystemPathFactory());
|
||||||
// ::done
|
|
||||||
factories.add(new PSystemOregonFactory());
|
factories.add(new PSystemOregonFactory());
|
||||||
|
// ::done
|
||||||
factories.add(new PSystemCharlieFactory());
|
factories.add(new PSystemCharlieFactory());
|
||||||
// ::comment when WASM
|
// ::comment when WASM
|
||||||
if (License.getCurrent() == License.GPL || License.getCurrent() == License.GPLV2) {
|
if (License.getCurrent() == License.GPL || License.getCurrent() == License.GPLV2) {
|
||||||
@ -237,13 +232,19 @@ public class PSystemBuilder {
|
|||||||
factories.add(new FlowDiagramFactory());
|
factories.add(new FlowDiagramFactory());
|
||||||
// factories.add(new PSystemTreeFactory(DiagramType.JUNGLE));
|
// factories.add(new PSystemTreeFactory(DiagramType.JUNGLE));
|
||||||
// factories.add(new PSystemCuteFactory(DiagramType.CUTE));
|
// factories.add(new PSystemCuteFactory(DiagramType.CUTE));
|
||||||
|
// ::comment when WASM
|
||||||
factories.add(new PSystemDedicationFactory());
|
factories.add(new PSystemDedicationFactory());
|
||||||
|
// ::done
|
||||||
factories.add(new TimingDiagramFactory());
|
factories.add(new TimingDiagramFactory());
|
||||||
|
// ::comment when WASM
|
||||||
factories.add(new HelpFactory());
|
factories.add(new HelpFactory());
|
||||||
factories.add(new WireDiagramFactory());
|
factories.add(new WireDiagramFactory());
|
||||||
|
// ::done
|
||||||
factories.add(new JsonDiagramFactory());
|
factories.add(new JsonDiagramFactory());
|
||||||
factories.add(new GitDiagramFactory());
|
factories.add(new GitDiagramFactory());
|
||||||
|
// ::comment when WASM
|
||||||
factories.add(new BoardDiagramFactory());
|
factories.add(new BoardDiagramFactory());
|
||||||
|
// ::done
|
||||||
factories.add(new YamlDiagramFactory());
|
factories.add(new YamlDiagramFactory());
|
||||||
factories.add(new HclDiagramFactory());
|
factories.add(new HclDiagramFactory());
|
||||||
factories.add(new PSystemEbnfFactory());
|
factories.add(new PSystemEbnfFactory());
|
||||||
|
@ -48,11 +48,11 @@ import net.sourceforge.plantuml.baraye.CucaDiagram;
|
|||||||
import net.sourceforge.plantuml.core.Diagram;
|
import net.sourceforge.plantuml.core.Diagram;
|
||||||
import net.sourceforge.plantuml.core.ImageData;
|
import net.sourceforge.plantuml.core.ImageData;
|
||||||
import net.sourceforge.plantuml.html.CucaDiagramHtmlMaker;
|
import net.sourceforge.plantuml.html.CucaDiagramHtmlMaker;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.HColors;
|
||||||
import net.sourceforge.plantuml.png.PngSplitter;
|
import net.sourceforge.plantuml.png.PngSplitter;
|
||||||
import net.sourceforge.plantuml.project.GanttDiagram;
|
import net.sourceforge.plantuml.project.GanttDiagram;
|
||||||
import net.sourceforge.plantuml.security.SFile;
|
import net.sourceforge.plantuml.security.SFile;
|
||||||
import net.sourceforge.plantuml.sequencediagram.SequenceDiagram;
|
import net.sourceforge.plantuml.sequencediagram.SequenceDiagram;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColors;
|
|
||||||
import net.sourceforge.plantuml.utils.Log;
|
import net.sourceforge.plantuml.utils.Log;
|
||||||
|
|
||||||
public class PSystemUtils {
|
public class PSystemUtils {
|
||||||
|
@ -53,24 +53,31 @@ import java.util.Set;
|
|||||||
import java.util.TreeSet;
|
import java.util.TreeSet;
|
||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.activitydiagram3.ftile.Arrows;
|
|
||||||
import net.sourceforge.plantuml.activitydiagram3.ftile.ArrowsRegular;
|
import net.sourceforge.plantuml.activitydiagram3.ftile.ArrowsRegular;
|
||||||
import net.sourceforge.plantuml.activitydiagram3.ftile.ArrowsTriangle;
|
import net.sourceforge.plantuml.activitydiagram3.ftile.ArrowsTriangle;
|
||||||
import net.sourceforge.plantuml.command.regex.Matcher2;
|
|
||||||
import net.sourceforge.plantuml.command.regex.MyPattern;
|
|
||||||
import net.sourceforge.plantuml.command.regex.Pattern2;
|
|
||||||
import net.sourceforge.plantuml.creole.CreoleMode;
|
import net.sourceforge.plantuml.creole.CreoleMode;
|
||||||
import net.sourceforge.plantuml.creole.Parser;
|
import net.sourceforge.plantuml.creole.Parser;
|
||||||
import net.sourceforge.plantuml.creole.SheetBuilder;
|
import net.sourceforge.plantuml.creole.SheetBuilder;
|
||||||
import net.sourceforge.plantuml.creole.legacy.CreoleParser;
|
import net.sourceforge.plantuml.creole.legacy.CreoleParser;
|
||||||
import net.sourceforge.plantuml.cucadiagram.LinkStyle;
|
import net.sourceforge.plantuml.cucadiagram.LinkStyle;
|
||||||
import net.sourceforge.plantuml.cucadiagram.Rankdir;
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
||||||
import net.sourceforge.plantuml.cucadiagram.dot.DotSplines;
|
import net.sourceforge.plantuml.cucadiagram.dot.DotSplines;
|
||||||
import net.sourceforge.plantuml.graphic.FontConfiguration;
|
|
||||||
import net.sourceforge.plantuml.graphic.HorizontalAlignment;
|
|
||||||
import net.sourceforge.plantuml.graphic.color.Colors;
|
import net.sourceforge.plantuml.graphic.color.Colors;
|
||||||
|
import net.sourceforge.plantuml.klimt.Arrows;
|
||||||
|
import net.sourceforge.plantuml.klimt.UStroke;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.HColorSet;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.HColors;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.NoSuchColorException;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.FontConfiguration;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.FontParam;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.UFont;
|
||||||
|
import net.sourceforge.plantuml.klimt.geom.HorizontalAlignment;
|
||||||
|
import net.sourceforge.plantuml.klimt.geom.Rankdir;
|
||||||
import net.sourceforge.plantuml.log.Logme;
|
import net.sourceforge.plantuml.log.Logme;
|
||||||
|
import net.sourceforge.plantuml.regex.Matcher2;
|
||||||
|
import net.sourceforge.plantuml.regex.MyPattern;
|
||||||
|
import net.sourceforge.plantuml.regex.Pattern2;
|
||||||
import net.sourceforge.plantuml.skin.ActorStyle;
|
import net.sourceforge.plantuml.skin.ActorStyle;
|
||||||
import net.sourceforge.plantuml.skin.ArrowDirection;
|
import net.sourceforge.plantuml.skin.ArrowDirection;
|
||||||
import net.sourceforge.plantuml.skin.Padder;
|
import net.sourceforge.plantuml.skin.Padder;
|
||||||
@ -86,12 +93,7 @@ import net.sourceforge.plantuml.svek.ConditionEndStyle;
|
|||||||
import net.sourceforge.plantuml.svek.ConditionStyle;
|
import net.sourceforge.plantuml.svek.ConditionStyle;
|
||||||
import net.sourceforge.plantuml.svek.PackageStyle;
|
import net.sourceforge.plantuml.svek.PackageStyle;
|
||||||
import net.sourceforge.plantuml.svg.LengthAdjust;
|
import net.sourceforge.plantuml.svg.LengthAdjust;
|
||||||
import net.sourceforge.plantuml.ugraphic.UFont;
|
import net.sourceforge.plantuml.text.Guillemet;
|
||||||
import net.sourceforge.plantuml.ugraphic.UStroke;
|
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColorSet;
|
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColors;
|
|
||||||
import net.sourceforge.plantuml.ugraphic.color.NoSuchColorException;
|
|
||||||
import net.sourceforge.plantuml.utils.BlocLines;
|
import net.sourceforge.plantuml.utils.BlocLines;
|
||||||
|
|
||||||
public class SkinParam implements ISkinParam {
|
public class SkinParam implements ISkinParam {
|
||||||
|
@ -38,11 +38,11 @@ package net.sourceforge.plantuml;
|
|||||||
import java.util.EnumMap;
|
import java.util.EnumMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.annotation.HaxeIgnored;
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
|
||||||
|
|
||||||
@HaxeIgnored
|
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
|
|
||||||
|
|
||||||
public class SkinParamBackcolored extends SkinParamDelegator {
|
public class SkinParamBackcolored extends SkinParamDelegator {
|
||||||
|
|
||||||
final private HColor backColorElement;
|
final private HColor backColorElement;
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
package net.sourceforge.plantuml;
|
package net.sourceforge.plantuml;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
|
|
||||||
public class SkinParamBackcoloredReference extends SkinParamDelegator {
|
public class SkinParamBackcoloredReference extends SkinParamDelegator {
|
||||||
|
|
||||||
|
@ -36,9 +36,10 @@
|
|||||||
package net.sourceforge.plantuml;
|
package net.sourceforge.plantuml;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
||||||
import net.sourceforge.plantuml.graphic.color.ColorType;
|
|
||||||
import net.sourceforge.plantuml.graphic.color.Colors;
|
import net.sourceforge.plantuml.graphic.color.Colors;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
import net.sourceforge.plantuml.klimt.color.ColorType;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.FontParam;
|
||||||
|
|
||||||
public class SkinParamColors extends SkinParamDelegator {
|
public class SkinParamColors extends SkinParamDelegator {
|
||||||
|
|
||||||
|
@ -38,15 +38,21 @@ package net.sourceforge.plantuml;
|
|||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.activitydiagram3.ftile.Arrows;
|
|
||||||
import net.sourceforge.plantuml.creole.CreoleMode;
|
import net.sourceforge.plantuml.creole.CreoleMode;
|
||||||
import net.sourceforge.plantuml.creole.SheetBuilder;
|
import net.sourceforge.plantuml.creole.SheetBuilder;
|
||||||
import net.sourceforge.plantuml.cucadiagram.Rankdir;
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
||||||
import net.sourceforge.plantuml.cucadiagram.dot.DotSplines;
|
import net.sourceforge.plantuml.cucadiagram.dot.DotSplines;
|
||||||
import net.sourceforge.plantuml.graphic.FontConfiguration;
|
|
||||||
import net.sourceforge.plantuml.graphic.HorizontalAlignment;
|
|
||||||
import net.sourceforge.plantuml.graphic.color.Colors;
|
import net.sourceforge.plantuml.graphic.color.Colors;
|
||||||
|
import net.sourceforge.plantuml.klimt.Arrows;
|
||||||
|
import net.sourceforge.plantuml.klimt.UStroke;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.HColorSet;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.NoSuchColorException;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.FontConfiguration;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.FontParam;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.UFont;
|
||||||
|
import net.sourceforge.plantuml.klimt.geom.HorizontalAlignment;
|
||||||
|
import net.sourceforge.plantuml.klimt.geom.Rankdir;
|
||||||
import net.sourceforge.plantuml.skin.ActorStyle;
|
import net.sourceforge.plantuml.skin.ActorStyle;
|
||||||
import net.sourceforge.plantuml.skin.ArrowDirection;
|
import net.sourceforge.plantuml.skin.ArrowDirection;
|
||||||
import net.sourceforge.plantuml.skin.Padder;
|
import net.sourceforge.plantuml.skin.Padder;
|
||||||
@ -57,11 +63,7 @@ import net.sourceforge.plantuml.svek.ConditionEndStyle;
|
|||||||
import net.sourceforge.plantuml.svek.ConditionStyle;
|
import net.sourceforge.plantuml.svek.ConditionStyle;
|
||||||
import net.sourceforge.plantuml.svek.PackageStyle;
|
import net.sourceforge.plantuml.svek.PackageStyle;
|
||||||
import net.sourceforge.plantuml.svg.LengthAdjust;
|
import net.sourceforge.plantuml.svg.LengthAdjust;
|
||||||
import net.sourceforge.plantuml.ugraphic.UFont;
|
import net.sourceforge.plantuml.text.Guillemet;
|
||||||
import net.sourceforge.plantuml.ugraphic.UStroke;
|
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColorSet;
|
|
||||||
import net.sourceforge.plantuml.ugraphic.color.NoSuchColorException;
|
|
||||||
|
|
||||||
public class SkinParamDelegator implements ISkinParam {
|
public class SkinParamDelegator implements ISkinParam {
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
package net.sourceforge.plantuml;
|
package net.sourceforge.plantuml;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
|
|
||||||
public class SkinParamForceColor extends SkinParamDelegator {
|
public class SkinParamForceColor extends SkinParamDelegator {
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
package net.sourceforge.plantuml;
|
package net.sourceforge.plantuml;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
|
|
||||||
public class SkinParamForecolored extends SkinParamDelegator {
|
public class SkinParamForecolored extends SkinParamDelegator {
|
||||||
|
|
||||||
|
@ -36,9 +36,10 @@
|
|||||||
package net.sourceforge.plantuml;
|
package net.sourceforge.plantuml;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.FontParam;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.UFont;
|
||||||
import net.sourceforge.plantuml.skin.rose.Rose;
|
import net.sourceforge.plantuml.skin.rose.Rose;
|
||||||
import net.sourceforge.plantuml.ugraphic.UFont;
|
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
|
||||||
|
|
||||||
public class SkinParamUtils {
|
public class SkinParamUtils {
|
||||||
|
|
||||||
|
@ -41,12 +41,12 @@ import java.io.IOException;
|
|||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.annotation.HaxeIgnored;
|
|
||||||
import net.sourceforge.plantuml.preproc.Defines;
|
import net.sourceforge.plantuml.preproc.Defines;
|
||||||
import net.sourceforge.plantuml.security.SFile;
|
import net.sourceforge.plantuml.security.SFile;
|
||||||
import net.sourceforge.plantuml.utils.Log;
|
import net.sourceforge.plantuml.utils.Log;
|
||||||
|
|
||||||
@HaxeIgnored
|
|
||||||
public class SourceFileReader extends SourceFileReaderAbstract implements ISourceFileReader {
|
public class SourceFileReader extends SourceFileReaderAbstract implements ISourceFileReader {
|
||||||
// ::remove file when WASM
|
// ::remove file when WASM
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ import java.util.Arrays;
|
|||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.annotation.HaxeIgnored;
|
|
||||||
import net.sourceforge.plantuml.core.Diagram;
|
import net.sourceforge.plantuml.core.Diagram;
|
||||||
import net.sourceforge.plantuml.core.DiagramDescription;
|
import net.sourceforge.plantuml.core.DiagramDescription;
|
||||||
import net.sourceforge.plantuml.core.ImageData;
|
import net.sourceforge.plantuml.core.ImageData;
|
||||||
@ -57,7 +57,7 @@ import net.sourceforge.plantuml.security.SFile;
|
|||||||
import net.sourceforge.plantuml.svek.TextBlockBackcolored;
|
import net.sourceforge.plantuml.svek.TextBlockBackcolored;
|
||||||
import net.sourceforge.plantuml.utils.Log;
|
import net.sourceforge.plantuml.utils.Log;
|
||||||
|
|
||||||
@HaxeIgnored
|
|
||||||
public class SourceStringReader {
|
public class SourceStringReader {
|
||||||
|
|
||||||
final private List<BlockUml> blocks;
|
final private List<BlockUml> blocks;
|
||||||
|
@ -37,8 +37,8 @@ package net.sourceforge.plantuml;
|
|||||||
|
|
||||||
import java.awt.Color;
|
import java.awt.Color;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColorSimple;
|
import net.sourceforge.plantuml.klimt.color.HColorSimple;
|
||||||
|
|
||||||
public class SplitParam {
|
public class SplitParam {
|
||||||
|
|
||||||
|
@ -37,16 +37,19 @@ package net.sourceforge.plantuml;
|
|||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
import net.atmp.ISkinSimple;
|
||||||
import net.sourceforge.plantuml.creole.CreoleMode;
|
import net.sourceforge.plantuml.creole.CreoleMode;
|
||||||
import net.sourceforge.plantuml.creole.Parser;
|
import net.sourceforge.plantuml.creole.Parser;
|
||||||
import net.sourceforge.plantuml.creole.SheetBuilder;
|
import net.sourceforge.plantuml.creole.SheetBuilder;
|
||||||
import net.sourceforge.plantuml.creole.legacy.CreoleParser;
|
import net.sourceforge.plantuml.creole.legacy.CreoleParser;
|
||||||
import net.sourceforge.plantuml.graphic.FontConfiguration;
|
import net.sourceforge.plantuml.klimt.color.HColorSet;
|
||||||
import net.sourceforge.plantuml.graphic.HorizontalAlignment;
|
import net.sourceforge.plantuml.klimt.font.FontConfiguration;
|
||||||
|
import net.sourceforge.plantuml.klimt.geom.HorizontalAlignment;
|
||||||
import net.sourceforge.plantuml.sprite.Sprite;
|
import net.sourceforge.plantuml.sprite.Sprite;
|
||||||
|
import net.sourceforge.plantuml.sprite.SpriteContainer;
|
||||||
import net.sourceforge.plantuml.sprite.SpriteImage;
|
import net.sourceforge.plantuml.sprite.SpriteImage;
|
||||||
import net.sourceforge.plantuml.style.Style;
|
import net.sourceforge.plantuml.style.Style;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColorSet;
|
import net.sourceforge.plantuml.text.Guillemet;
|
||||||
|
|
||||||
public class SpriteContainerEmpty implements SpriteContainer, ISkinSimple {
|
public class SpriteContainerEmpty implements SpriteContainer, ISkinSimple {
|
||||||
|
|
||||||
|
@ -45,6 +45,7 @@ import net.sourceforge.plantuml.error.PSystemError;
|
|||||||
import net.sourceforge.plantuml.utils.Log;
|
import net.sourceforge.plantuml.utils.Log;
|
||||||
|
|
||||||
public class StdrptV1 implements Stdrpt {
|
public class StdrptV1 implements Stdrpt {
|
||||||
|
// ::remove file when WASM
|
||||||
|
|
||||||
public void printInfo(final PrintStream output, Diagram sys) {
|
public void printInfo(final PrintStream output, Diagram sys) {
|
||||||
if (sys instanceof PSystemWelcome) {
|
if (sys instanceof PSystemWelcome) {
|
||||||
|
@ -44,6 +44,7 @@ import net.sourceforge.plantuml.eggs.PSystemWelcome;
|
|||||||
import net.sourceforge.plantuml.error.PSystemError;
|
import net.sourceforge.plantuml.error.PSystemError;
|
||||||
|
|
||||||
public class StdrptV2 implements Stdrpt {
|
public class StdrptV2 implements Stdrpt {
|
||||||
|
// ::remove file when WASM
|
||||||
|
|
||||||
public void finalMessage() {
|
public void finalMessage() {
|
||||||
}
|
}
|
||||||
|
@ -43,10 +43,10 @@ import java.util.regex.Matcher;
|
|||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.asciiart.Wcwidth;
|
import net.sourceforge.plantuml.asciiart.Wcwidth;
|
||||||
import net.sourceforge.plantuml.command.regex.Matcher2;
|
|
||||||
import net.sourceforge.plantuml.command.regex.MyPattern;
|
|
||||||
import net.sourceforge.plantuml.command.regex.Pattern2;
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
|
import net.sourceforge.plantuml.regex.Matcher2;
|
||||||
|
import net.sourceforge.plantuml.regex.MyPattern;
|
||||||
|
import net.sourceforge.plantuml.regex.Pattern2;
|
||||||
import net.sourceforge.plantuml.utils.Direction;
|
import net.sourceforge.plantuml.utils.Direction;
|
||||||
import net.sourceforge.plantuml.utils.Log;
|
import net.sourceforge.plantuml.utils.Log;
|
||||||
|
|
||||||
|
@ -49,8 +49,12 @@ import net.sourceforge.plantuml.cucadiagram.Display;
|
|||||||
import net.sourceforge.plantuml.cucadiagram.DisplayPositioned;
|
import net.sourceforge.plantuml.cucadiagram.DisplayPositioned;
|
||||||
import net.sourceforge.plantuml.cucadiagram.DisplayPositionned;
|
import net.sourceforge.plantuml.cucadiagram.DisplayPositionned;
|
||||||
import net.sourceforge.plantuml.cucadiagram.DisplaySection;
|
import net.sourceforge.plantuml.cucadiagram.DisplaySection;
|
||||||
import net.sourceforge.plantuml.graphic.HorizontalAlignment;
|
|
||||||
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.ColorMapper;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.ColorOrder;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.HColors;
|
||||||
|
import net.sourceforge.plantuml.klimt.geom.HorizontalAlignment;
|
||||||
import net.sourceforge.plantuml.sprite.Sprite;
|
import net.sourceforge.plantuml.sprite.Sprite;
|
||||||
import net.sourceforge.plantuml.style.ClockwiseTopRightBottomLeft;
|
import net.sourceforge.plantuml.style.ClockwiseTopRightBottomLeft;
|
||||||
import net.sourceforge.plantuml.style.PName;
|
import net.sourceforge.plantuml.style.PName;
|
||||||
@ -60,10 +64,6 @@ import net.sourceforge.plantuml.style.StyleBuilder;
|
|||||||
import net.sourceforge.plantuml.style.StyleLoader;
|
import net.sourceforge.plantuml.style.StyleLoader;
|
||||||
import net.sourceforge.plantuml.style.StyleSignatureBasic;
|
import net.sourceforge.plantuml.style.StyleSignatureBasic;
|
||||||
import net.sourceforge.plantuml.ugraphic.ImageBuilder;
|
import net.sourceforge.plantuml.ugraphic.ImageBuilder;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.ColorMapper;
|
|
||||||
import net.sourceforge.plantuml.ugraphic.color.ColorOrder;
|
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColors;
|
|
||||||
|
|
||||||
public abstract class TitledDiagram extends AbstractPSystem implements Diagram, Annotated {
|
public abstract class TitledDiagram extends AbstractPSystem implements Diagram, Annotated {
|
||||||
|
|
||||||
|
@ -65,6 +65,9 @@ import net.sourceforge.plantuml.fun.IconLoader;
|
|||||||
import net.sourceforge.plantuml.graphic.GraphicPosition;
|
import net.sourceforge.plantuml.graphic.GraphicPosition;
|
||||||
import net.sourceforge.plantuml.graphic.GraphicStrings;
|
import net.sourceforge.plantuml.graphic.GraphicStrings;
|
||||||
import net.sourceforge.plantuml.graphic.UDrawable;
|
import net.sourceforge.plantuml.graphic.UDrawable;
|
||||||
|
import net.sourceforge.plantuml.klimt.UImage;
|
||||||
|
import net.sourceforge.plantuml.klimt.UTranslate;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.FontParam;
|
||||||
import net.sourceforge.plantuml.log.Logme;
|
import net.sourceforge.plantuml.log.Logme;
|
||||||
import net.sourceforge.plantuml.mjpeg.MJPEGGenerator;
|
import net.sourceforge.plantuml.mjpeg.MJPEGGenerator;
|
||||||
import net.sourceforge.plantuml.pdf.PdfConverter;
|
import net.sourceforge.plantuml.pdf.PdfConverter;
|
||||||
@ -78,8 +81,6 @@ import net.sourceforge.plantuml.svek.TextBlockBackcolored;
|
|||||||
import net.sourceforge.plantuml.ugraphic.AffineTransformType;
|
import net.sourceforge.plantuml.ugraphic.AffineTransformType;
|
||||||
import net.sourceforge.plantuml.ugraphic.PixelImage;
|
import net.sourceforge.plantuml.ugraphic.PixelImage;
|
||||||
import net.sourceforge.plantuml.ugraphic.UGraphic;
|
import net.sourceforge.plantuml.ugraphic.UGraphic;
|
||||||
import net.sourceforge.plantuml.ugraphic.UImage;
|
|
||||||
import net.sourceforge.plantuml.ugraphic.UTranslate;
|
|
||||||
import net.sourceforge.plantuml.utils.Log;
|
import net.sourceforge.plantuml.utils.Log;
|
||||||
import net.sourceforge.plantuml.version.Version;
|
import net.sourceforge.plantuml.version.Version;
|
||||||
|
|
||||||
@ -200,6 +201,7 @@ public abstract class UmlDiagram extends TitledDiagram implements Diagram, Annot
|
|||||||
plainImageBuilder(drawable, fileFormat).metadata(metadata).seed(seed).write(os);
|
plainImageBuilder(drawable, fileFormat).metadata(metadata).seed(seed).write(os);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ::comment when WASM
|
||||||
private static void exportDiagramErrorText(OutputStream os, Throwable exception, List<String> strings) {
|
private static void exportDiagramErrorText(OutputStream os, Throwable exception, List<String> strings) {
|
||||||
final PrintWriter pw = SecurityUtils.createPrintWriter(os);
|
final PrintWriter pw = SecurityUtils.createPrintWriter(os);
|
||||||
exception.printStackTrace(pw);
|
exception.printStackTrace(pw);
|
||||||
@ -211,6 +213,7 @@ public abstract class UmlDiagram extends TitledDiagram implements Diagram, Annot
|
|||||||
}
|
}
|
||||||
pw.flush();
|
pw.flush();
|
||||||
}
|
}
|
||||||
|
// ::done
|
||||||
|
|
||||||
public String getFlashData() {
|
public String getFlashData() {
|
||||||
final UmlSource source = getSource();
|
final UmlSource source = getSource();
|
||||||
|
@ -42,11 +42,11 @@ import java.util.Map;
|
|||||||
|
|
||||||
import ext.plantuml.com.ctreber.acearth.plugins.markers.Marker;
|
import ext.plantuml.com.ctreber.acearth.plugins.markers.Marker;
|
||||||
import net.sourceforge.plantuml.command.PSystemBasicFactory;
|
import net.sourceforge.plantuml.command.PSystemBasicFactory;
|
||||||
import net.sourceforge.plantuml.command.regex.Matcher2;
|
|
||||||
import net.sourceforge.plantuml.command.regex.MyPattern;
|
|
||||||
import net.sourceforge.plantuml.command.regex.Pattern2;
|
|
||||||
import net.sourceforge.plantuml.core.UmlSource;
|
import net.sourceforge.plantuml.core.UmlSource;
|
||||||
import net.sourceforge.plantuml.log.Logme;
|
import net.sourceforge.plantuml.log.Logme;
|
||||||
|
import net.sourceforge.plantuml.regex.Matcher2;
|
||||||
|
import net.sourceforge.plantuml.regex.MyPattern;
|
||||||
|
import net.sourceforge.plantuml.regex.Pattern2;
|
||||||
|
|
||||||
public class PSystemXearthFactory extends PSystemBasicFactory<PSystemXearth> {
|
public class PSystemXearthFactory extends PSystemBasicFactory<PSystemXearth> {
|
||||||
|
|
||||||
|
@ -39,10 +39,10 @@ import net.sourceforge.plantuml.activitydiagram.ActivityDiagram;
|
|||||||
import net.sourceforge.plantuml.baraye.EntityImp;
|
import net.sourceforge.plantuml.baraye.EntityImp;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandElse extends SingleLineCommand2<ActivityDiagram> {
|
public class CommandElse extends SingleLineCommand2<ActivityDiagram> {
|
||||||
|
@ -38,11 +38,11 @@ package net.sourceforge.plantuml.activitydiagram.command;
|
|||||||
import net.sourceforge.plantuml.activitydiagram.ActivityDiagram;
|
import net.sourceforge.plantuml.activitydiagram.ActivityDiagram;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexOr;
|
import net.sourceforge.plantuml.regex.RegexOr;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandEndPartition extends SingleLineCommand2<ActivityDiagram> {
|
public class CommandEndPartition extends SingleLineCommand2<ActivityDiagram> {
|
||||||
|
@ -38,10 +38,10 @@ package net.sourceforge.plantuml.activitydiagram.command;
|
|||||||
import net.sourceforge.plantuml.activitydiagram.ActivityDiagram;
|
import net.sourceforge.plantuml.activitydiagram.ActivityDiagram;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandEndif extends SingleLineCommand2<ActivityDiagram> {
|
public class CommandEndif extends SingleLineCommand2<ActivityDiagram> {
|
||||||
|
@ -41,18 +41,18 @@ import net.sourceforge.plantuml.baraye.EntityImp;
|
|||||||
import net.sourceforge.plantuml.classdiagram.command.CommandLinkClass;
|
import net.sourceforge.plantuml.classdiagram.command.CommandLinkClass;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexOptional;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexOr;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
import net.sourceforge.plantuml.cucadiagram.Link;
|
import net.sourceforge.plantuml.cucadiagram.Link;
|
||||||
import net.sourceforge.plantuml.cucadiagram.LinkArg;
|
import net.sourceforge.plantuml.cucadiagram.LinkArg;
|
||||||
import net.sourceforge.plantuml.cucadiagram.LinkDecor;
|
import net.sourceforge.plantuml.cucadiagram.LinkDecor;
|
||||||
import net.sourceforge.plantuml.cucadiagram.LinkType;
|
import net.sourceforge.plantuml.cucadiagram.LinkType;
|
||||||
import net.sourceforge.plantuml.descdiagram.command.CommandLinkElement;
|
import net.sourceforge.plantuml.descdiagram.command.CommandLinkElement;
|
||||||
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexOptional;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexOr;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.Direction;
|
import net.sourceforge.plantuml.utils.Direction;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
|
@ -39,10 +39,10 @@ import net.sourceforge.plantuml.activitydiagram.ActivityDiagram;
|
|||||||
import net.sourceforge.plantuml.baraye.EntityUtils;
|
import net.sourceforge.plantuml.baraye.EntityUtils;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandInnerConcurrent extends SingleLineCommand2<ActivityDiagram> {
|
public class CommandInnerConcurrent extends SingleLineCommand2<ActivityDiagram> {
|
||||||
|
@ -36,22 +36,12 @@
|
|||||||
package net.sourceforge.plantuml.activitydiagram.command;
|
package net.sourceforge.plantuml.activitydiagram.command;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.StringUtils;
|
import net.sourceforge.plantuml.StringUtils;
|
||||||
import net.sourceforge.plantuml.Url;
|
|
||||||
import net.sourceforge.plantuml.UrlBuilder;
|
|
||||||
import net.sourceforge.plantuml.UrlMode;
|
|
||||||
import net.sourceforge.plantuml.activitydiagram.ActivityDiagram;
|
import net.sourceforge.plantuml.activitydiagram.ActivityDiagram;
|
||||||
import net.sourceforge.plantuml.baraye.EntityImp;
|
import net.sourceforge.plantuml.baraye.EntityImp;
|
||||||
import net.sourceforge.plantuml.baraye.Quark;
|
import net.sourceforge.plantuml.baraye.Quark;
|
||||||
import net.sourceforge.plantuml.classdiagram.command.CommandLinkClass;
|
import net.sourceforge.plantuml.classdiagram.command.CommandLinkClass;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexOptional;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexOr;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexPartialMatch;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
import net.sourceforge.plantuml.cucadiagram.GroupType;
|
import net.sourceforge.plantuml.cucadiagram.GroupType;
|
||||||
import net.sourceforge.plantuml.cucadiagram.LeafType;
|
import net.sourceforge.plantuml.cucadiagram.LeafType;
|
||||||
@ -61,9 +51,19 @@ import net.sourceforge.plantuml.cucadiagram.LinkDecor;
|
|||||||
import net.sourceforge.plantuml.cucadiagram.LinkType;
|
import net.sourceforge.plantuml.cucadiagram.LinkType;
|
||||||
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
||||||
import net.sourceforge.plantuml.descdiagram.command.CommandLinkElement;
|
import net.sourceforge.plantuml.descdiagram.command.CommandLinkElement;
|
||||||
import net.sourceforge.plantuml.graphic.color.ColorParser;
|
import net.sourceforge.plantuml.klimt.color.ColorParser;
|
||||||
import net.sourceforge.plantuml.graphic.color.ColorType;
|
import net.sourceforge.plantuml.klimt.color.ColorType;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.NoSuchColorException;
|
import net.sourceforge.plantuml.klimt.color.NoSuchColorException;
|
||||||
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexOptional;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexOr;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexPartialMatch;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
|
import net.sourceforge.plantuml.url.Url;
|
||||||
|
import net.sourceforge.plantuml.url.UrlBuilder;
|
||||||
|
import net.sourceforge.plantuml.url.UrlMode;
|
||||||
import net.sourceforge.plantuml.utils.Direction;
|
import net.sourceforge.plantuml.utils.Direction;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
|
@ -37,11 +37,7 @@ package net.sourceforge.plantuml.activitydiagram.command;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.BackSlash;
|
|
||||||
import net.sourceforge.plantuml.StringUtils;
|
import net.sourceforge.plantuml.StringUtils;
|
||||||
import net.sourceforge.plantuml.Url;
|
|
||||||
import net.sourceforge.plantuml.UrlBuilder;
|
|
||||||
import net.sourceforge.plantuml.UrlMode;
|
|
||||||
import net.sourceforge.plantuml.activitydiagram.ActivityDiagram;
|
import net.sourceforge.plantuml.activitydiagram.ActivityDiagram;
|
||||||
import net.sourceforge.plantuml.baraye.EntityImp;
|
import net.sourceforge.plantuml.baraye.EntityImp;
|
||||||
import net.sourceforge.plantuml.baraye.Quark;
|
import net.sourceforge.plantuml.baraye.Quark;
|
||||||
@ -50,13 +46,6 @@ import net.sourceforge.plantuml.command.CommandExecutionResult;
|
|||||||
import net.sourceforge.plantuml.command.CommandMultilines2;
|
import net.sourceforge.plantuml.command.CommandMultilines2;
|
||||||
import net.sourceforge.plantuml.command.MultilinesStrategy;
|
import net.sourceforge.plantuml.command.MultilinesStrategy;
|
||||||
import net.sourceforge.plantuml.command.Trim;
|
import net.sourceforge.plantuml.command.Trim;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
|
||||||
import net.sourceforge.plantuml.command.regex.MyPattern;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexOptional;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexOr;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
import net.sourceforge.plantuml.cucadiagram.GroupType;
|
import net.sourceforge.plantuml.cucadiagram.GroupType;
|
||||||
import net.sourceforge.plantuml.cucadiagram.LeafType;
|
import net.sourceforge.plantuml.cucadiagram.LeafType;
|
||||||
@ -66,11 +55,22 @@ import net.sourceforge.plantuml.cucadiagram.LinkDecor;
|
|||||||
import net.sourceforge.plantuml.cucadiagram.LinkType;
|
import net.sourceforge.plantuml.cucadiagram.LinkType;
|
||||||
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
||||||
import net.sourceforge.plantuml.descdiagram.command.CommandLinkElement;
|
import net.sourceforge.plantuml.descdiagram.command.CommandLinkElement;
|
||||||
import net.sourceforge.plantuml.graphic.color.ColorType;
|
import net.sourceforge.plantuml.klimt.color.ColorType;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.NoSuchColorException;
|
import net.sourceforge.plantuml.klimt.color.NoSuchColorException;
|
||||||
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
|
import net.sourceforge.plantuml.regex.MyPattern;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexOptional;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexOr;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
|
import net.sourceforge.plantuml.text.BackSlash;
|
||||||
|
import net.sourceforge.plantuml.text.StringLocated;
|
||||||
|
import net.sourceforge.plantuml.url.Url;
|
||||||
|
import net.sourceforge.plantuml.url.UrlBuilder;
|
||||||
|
import net.sourceforge.plantuml.url.UrlMode;
|
||||||
import net.sourceforge.plantuml.utils.BlocLines;
|
import net.sourceforge.plantuml.utils.BlocLines;
|
||||||
import net.sourceforge.plantuml.utils.Direction;
|
import net.sourceforge.plantuml.utils.Direction;
|
||||||
import net.sourceforge.plantuml.utils.StringLocated;
|
|
||||||
|
|
||||||
public class CommandLinkLongActivity extends CommandMultilines2<ActivityDiagram> {
|
public class CommandLinkLongActivity extends CommandMultilines2<ActivityDiagram> {
|
||||||
|
|
||||||
|
@ -40,18 +40,18 @@ import net.sourceforge.plantuml.baraye.EntityImp;
|
|||||||
import net.sourceforge.plantuml.baraye.Quark;
|
import net.sourceforge.plantuml.baraye.Quark;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexOr;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
import net.sourceforge.plantuml.cucadiagram.GroupType;
|
import net.sourceforge.plantuml.cucadiagram.GroupType;
|
||||||
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
||||||
import net.sourceforge.plantuml.graphic.color.ColorParser;
|
|
||||||
import net.sourceforge.plantuml.graphic.color.ColorType;
|
|
||||||
import net.sourceforge.plantuml.graphic.color.Colors;
|
import net.sourceforge.plantuml.graphic.color.Colors;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.NoSuchColorException;
|
import net.sourceforge.plantuml.klimt.color.ColorParser;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.ColorType;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.NoSuchColorException;
|
||||||
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexOr;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandPartition extends SingleLineCommand2<ActivityDiagram> {
|
public class CommandPartition extends SingleLineCommand2<ActivityDiagram> {
|
||||||
|
@ -37,12 +37,13 @@ package net.sourceforge.plantuml.activitydiagram3;
|
|||||||
|
|
||||||
import net.sourceforge.plantuml.ISkinParam;
|
import net.sourceforge.plantuml.ISkinParam;
|
||||||
import net.sourceforge.plantuml.activitydiagram3.gtile.Gtile;
|
import net.sourceforge.plantuml.activitydiagram3.gtile.Gtile;
|
||||||
import net.sourceforge.plantuml.graphic.StringBounder;
|
import net.sourceforge.plantuml.klimt.font.StringBounder;
|
||||||
|
|
||||||
abstract class AbstractInstruction {
|
abstract class AbstractInstruction {
|
||||||
|
|
||||||
|
// ::comment when WASM
|
||||||
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
||||||
throw new UnsupportedOperationException("" + getClass());
|
throw new UnsupportedOperationException("" + getClass());
|
||||||
}
|
}
|
||||||
|
// ::done
|
||||||
}
|
}
|
||||||
|
@ -43,7 +43,6 @@ import java.util.Objects;
|
|||||||
import net.sourceforge.plantuml.FileFormatOption;
|
import net.sourceforge.plantuml.FileFormatOption;
|
||||||
import net.sourceforge.plantuml.UmlDiagram;
|
import net.sourceforge.plantuml.UmlDiagram;
|
||||||
import net.sourceforge.plantuml.UmlDiagramType;
|
import net.sourceforge.plantuml.UmlDiagramType;
|
||||||
import net.sourceforge.plantuml.Url;
|
|
||||||
import net.sourceforge.plantuml.activitydiagram3.ftile.BoxStyle;
|
import net.sourceforge.plantuml.activitydiagram3.ftile.BoxStyle;
|
||||||
import net.sourceforge.plantuml.activitydiagram3.ftile.Swimlanes;
|
import net.sourceforge.plantuml.activitydiagram3.ftile.Swimlanes;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
@ -53,17 +52,18 @@ import net.sourceforge.plantuml.core.UmlSource;
|
|||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
||||||
import net.sourceforge.plantuml.graphic.Rainbow;
|
import net.sourceforge.plantuml.graphic.Rainbow;
|
||||||
import net.sourceforge.plantuml.graphic.StringBounder;
|
|
||||||
import net.sourceforge.plantuml.graphic.TextBlock;
|
import net.sourceforge.plantuml.graphic.TextBlock;
|
||||||
import net.sourceforge.plantuml.graphic.TextBlockRecentred;
|
import net.sourceforge.plantuml.graphic.TextBlockRecentred;
|
||||||
import net.sourceforge.plantuml.graphic.USymbol;
|
import net.sourceforge.plantuml.graphic.USymbol;
|
||||||
import net.sourceforge.plantuml.graphic.color.Colors;
|
import net.sourceforge.plantuml.graphic.color.Colors;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
|
import net.sourceforge.plantuml.klimt.comp.CompressionMode;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.StringBounder;
|
||||||
import net.sourceforge.plantuml.sequencediagram.NotePosition;
|
import net.sourceforge.plantuml.sequencediagram.NotePosition;
|
||||||
import net.sourceforge.plantuml.sequencediagram.NoteType;
|
import net.sourceforge.plantuml.sequencediagram.NoteType;
|
||||||
import net.sourceforge.plantuml.style.Style;
|
import net.sourceforge.plantuml.style.Style;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
|
||||||
import net.sourceforge.plantuml.ugraphic.comp.CompressionMode;
|
|
||||||
import net.sourceforge.plantuml.ugraphic.comp.CompressionXorYBuilder;
|
import net.sourceforge.plantuml.ugraphic.comp.CompressionXorYBuilder;
|
||||||
|
import net.sourceforge.plantuml.url.Url;
|
||||||
|
|
||||||
public class ActivityDiagram3 extends UmlDiagram {
|
public class ActivityDiagram3 extends UmlDiagram {
|
||||||
|
|
||||||
|
@ -48,13 +48,14 @@ import net.sourceforge.plantuml.activitydiagram3.gtile.Gtile;
|
|||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.creole.CreoleMode;
|
import net.sourceforge.plantuml.creole.CreoleMode;
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
import net.sourceforge.plantuml.graphic.FontConfiguration;
|
|
||||||
import net.sourceforge.plantuml.graphic.HorizontalAlignment;
|
|
||||||
import net.sourceforge.plantuml.graphic.Rainbow;
|
import net.sourceforge.plantuml.graphic.Rainbow;
|
||||||
import net.sourceforge.plantuml.graphic.StringBounder;
|
|
||||||
import net.sourceforge.plantuml.graphic.TextBlock;
|
import net.sourceforge.plantuml.graphic.TextBlock;
|
||||||
import net.sourceforge.plantuml.graphic.TextBlockUtils;
|
import net.sourceforge.plantuml.graphic.TextBlockUtils;
|
||||||
import net.sourceforge.plantuml.graphic.color.Colors;
|
import net.sourceforge.plantuml.graphic.color.Colors;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.FontConfiguration;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.StringBounder;
|
||||||
|
import net.sourceforge.plantuml.klimt.geom.HorizontalAlignment;
|
||||||
import net.sourceforge.plantuml.sequencediagram.NotePosition;
|
import net.sourceforge.plantuml.sequencediagram.NotePosition;
|
||||||
import net.sourceforge.plantuml.sequencediagram.NoteType;
|
import net.sourceforge.plantuml.sequencediagram.NoteType;
|
||||||
import net.sourceforge.plantuml.style.PName;
|
import net.sourceforge.plantuml.style.PName;
|
||||||
@ -62,7 +63,6 @@ import net.sourceforge.plantuml.style.SName;
|
|||||||
import net.sourceforge.plantuml.style.Style;
|
import net.sourceforge.plantuml.style.Style;
|
||||||
import net.sourceforge.plantuml.style.StyleBuilder;
|
import net.sourceforge.plantuml.style.StyleBuilder;
|
||||||
import net.sourceforge.plantuml.style.StyleSignatureBasic;
|
import net.sourceforge.plantuml.style.StyleSignatureBasic;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
|
||||||
|
|
||||||
public class Branch {
|
public class Branch {
|
||||||
|
|
||||||
@ -78,7 +78,9 @@ public class Branch {
|
|||||||
private final HColor color;
|
private final HColor color;
|
||||||
|
|
||||||
private Ftile ftile;
|
private Ftile ftile;
|
||||||
|
// ::comment when WASM
|
||||||
private Gtile gtile;
|
private Gtile gtile;
|
||||||
|
// ::done
|
||||||
|
|
||||||
public StyleSignatureBasic getDefaultStyleDefinitionArrow() {
|
public StyleSignatureBasic getDefaultStyleDefinitionArrow() {
|
||||||
return StyleSignatureBasic.of(SName.root, SName.element, SName.activityDiagram, SName.arrow);
|
return StyleSignatureBasic.of(SName.root, SName.element, SName.activityDiagram, SName.arrow);
|
||||||
@ -130,9 +132,11 @@ public class Branch {
|
|||||||
this.ftile = factory.decorateOut(list.createFtile(factory), inlinkRendering);
|
this.ftile = factory.decorateOut(list.createFtile(factory), inlinkRendering);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ::comment when WASM
|
||||||
public void updateGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
public void updateGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
||||||
this.gtile = list.createGtile(skinParam, stringBounder);
|
this.gtile = list.createGtile(skinParam, stringBounder);
|
||||||
}
|
}
|
||||||
|
// ::done
|
||||||
|
|
||||||
public Collection<? extends Swimlane> getSwimlanes() {
|
public Collection<? extends Swimlane> getSwimlanes() {
|
||||||
return list.getSwimlanes();
|
return list.getSwimlanes();
|
||||||
@ -186,13 +190,17 @@ public class Branch {
|
|||||||
return ftile;
|
return ftile;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ::comment when WASM
|
||||||
public Gtile getGtile() {
|
public Gtile getGtile() {
|
||||||
return gtile;
|
return gtile;
|
||||||
}
|
}
|
||||||
|
// ::done
|
||||||
|
|
||||||
public ISkinParam skinParam() {
|
public ISkinParam skinParam() {
|
||||||
|
// ::comment when WASM
|
||||||
if (gtile != null)
|
if (gtile != null)
|
||||||
return gtile.skinParam();
|
return gtile.skinParam();
|
||||||
|
// ::done
|
||||||
return ftile.skinParam();
|
return ftile.skinParam();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43,8 +43,8 @@ import net.sourceforge.plantuml.activitydiagram3.ftile.Swimlane;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.gtile.Gtile;
|
import net.sourceforge.plantuml.activitydiagram3.gtile.Gtile;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
import net.sourceforge.plantuml.graphic.StringBounder;
|
|
||||||
import net.sourceforge.plantuml.graphic.color.Colors;
|
import net.sourceforge.plantuml.graphic.color.Colors;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.StringBounder;
|
||||||
import net.sourceforge.plantuml.sequencediagram.NotePosition;
|
import net.sourceforge.plantuml.sequencediagram.NotePosition;
|
||||||
import net.sourceforge.plantuml.sequencediagram.NoteType;
|
import net.sourceforge.plantuml.sequencediagram.NoteType;
|
||||||
|
|
||||||
@ -52,8 +52,10 @@ public interface Instruction extends Swimable {
|
|||||||
|
|
||||||
public Ftile createFtile(FtileFactory factory);
|
public Ftile createFtile(FtileFactory factory);
|
||||||
|
|
||||||
|
// ::comment when WASM
|
||||||
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder);
|
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder);
|
||||||
|
// ::done
|
||||||
|
|
||||||
public CommandExecutionResult add(Instruction other);
|
public CommandExecutionResult add(Instruction other);
|
||||||
|
|
||||||
public boolean kill();
|
public boolean kill();
|
||||||
|
@ -45,7 +45,7 @@ import net.sourceforge.plantuml.activitydiagram3.ftile.Swimlane;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.gtile.Gtile;
|
import net.sourceforge.plantuml.activitydiagram3.gtile.Gtile;
|
||||||
import net.sourceforge.plantuml.activitydiagram3.gtile.GtileBreak;
|
import net.sourceforge.plantuml.activitydiagram3.gtile.GtileBreak;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.graphic.StringBounder;
|
import net.sourceforge.plantuml.klimt.font.StringBounder;
|
||||||
|
|
||||||
public class InstructionBreak extends MonoSwimable implements Instruction {
|
public class InstructionBreak extends MonoSwimable implements Instruction {
|
||||||
|
|
||||||
@ -61,10 +61,12 @@ public class InstructionBreak extends MonoSwimable implements Instruction {
|
|||||||
return new FtileBreak(factory.skinParam(), getSwimlaneIn());
|
return new FtileBreak(factory.skinParam(), getSwimlaneIn());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ::comment when WASM
|
||||||
@Override
|
@Override
|
||||||
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
||||||
return new GtileBreak(stringBounder, skinParam, getSwimlaneIn());
|
return new GtileBreak(stringBounder, skinParam, getSwimlaneIn());
|
||||||
}
|
}
|
||||||
|
// ::done
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public CommandExecutionResult add(Instruction other) {
|
public CommandExecutionResult add(Instruction other) {
|
||||||
|
@ -44,9 +44,9 @@ import net.sourceforge.plantuml.activitydiagram3.ftile.Swimlane;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.gtile.Gtile;
|
import net.sourceforge.plantuml.activitydiagram3.gtile.Gtile;
|
||||||
import net.sourceforge.plantuml.activitydiagram3.gtile.GtileCircleStart;
|
import net.sourceforge.plantuml.activitydiagram3.gtile.GtileCircleStart;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.graphic.StringBounder;
|
|
||||||
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColors;
|
import net.sourceforge.plantuml.klimt.color.HColors;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.StringBounder;
|
||||||
|
|
||||||
public class InstructionEnd extends MonoSwimable implements Instruction {
|
public class InstructionEnd extends MonoSwimable implements Instruction {
|
||||||
|
|
||||||
@ -57,10 +57,12 @@ public class InstructionEnd extends MonoSwimable implements Instruction {
|
|||||||
this.inlinkRendering = Objects.requireNonNull(inlinkRendering);
|
this.inlinkRendering = Objects.requireNonNull(inlinkRendering);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ::comment when WASM
|
||||||
@Override
|
@Override
|
||||||
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
||||||
return new GtileCircleStart(stringBounder, skinParam, HColors.BLACK, getSwimlaneIn());
|
return new GtileCircleStart(stringBounder, skinParam, HColors.BLACK, getSwimlaneIn());
|
||||||
}
|
}
|
||||||
|
// ::done
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Ftile createFtile(FtileFactory factory) {
|
public Ftile createFtile(FtileFactory factory) {
|
||||||
|
@ -52,9 +52,9 @@ import net.sourceforge.plantuml.activitydiagram3.gtile.Gtiles;
|
|||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
import net.sourceforge.plantuml.graphic.Rainbow;
|
import net.sourceforge.plantuml.graphic.Rainbow;
|
||||||
import net.sourceforge.plantuml.graphic.StringBounder;
|
|
||||||
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
||||||
import net.sourceforge.plantuml.graphic.color.Colors;
|
import net.sourceforge.plantuml.graphic.color.Colors;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.StringBounder;
|
||||||
import net.sourceforge.plantuml.sequencediagram.NotePosition;
|
import net.sourceforge.plantuml.sequencediagram.NotePosition;
|
||||||
import net.sourceforge.plantuml.sequencediagram.NoteType;
|
import net.sourceforge.plantuml.sequencediagram.NoteType;
|
||||||
|
|
||||||
@ -98,6 +98,7 @@ public class InstructionFork extends WithNote implements Instruction {
|
|||||||
return getLastList().add(ins);
|
return getLastList().add(ins);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ::comment when WASM
|
||||||
@Override
|
@Override
|
||||||
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
||||||
final List<Gtile> all = new ArrayList<>();
|
final List<Gtile> all = new ArrayList<>();
|
||||||
@ -110,6 +111,7 @@ public class InstructionFork extends WithNote implements Instruction {
|
|||||||
|
|
||||||
return new GtileSplit(all, swimlaneIn, getInLinkRenderingColor(skinParam).getColor());
|
return new GtileSplit(all, swimlaneIn, getInLinkRenderingColor(skinParam).getColor());
|
||||||
}
|
}
|
||||||
|
// ::done
|
||||||
|
|
||||||
private Rainbow getInLinkRenderingColor(ISkinParam skinParam) {
|
private Rainbow getInLinkRenderingColor(ISkinParam skinParam) {
|
||||||
Rainbow color;
|
Rainbow color;
|
||||||
|
@ -43,7 +43,7 @@ import net.sourceforge.plantuml.activitydiagram3.ftile.Swimlane;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.gtile.Gtile;
|
import net.sourceforge.plantuml.activitydiagram3.gtile.Gtile;
|
||||||
import net.sourceforge.plantuml.activitydiagram3.gtile.GtileEmpty;
|
import net.sourceforge.plantuml.activitydiagram3.gtile.GtileEmpty;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.graphic.StringBounder;
|
import net.sourceforge.plantuml.klimt.font.StringBounder;
|
||||||
|
|
||||||
public class InstructionGoto extends MonoSwimable implements Instruction {
|
public class InstructionGoto extends MonoSwimable implements Instruction {
|
||||||
|
|
||||||
@ -59,10 +59,12 @@ public class InstructionGoto extends MonoSwimable implements Instruction {
|
|||||||
return new FtileGoto(factory.skinParam(), getSwimlaneIn(), name);
|
return new FtileGoto(factory.skinParam(), getSwimlaneIn(), name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ::comment when WASM
|
||||||
@Override
|
@Override
|
||||||
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
||||||
return new GtileEmpty(stringBounder, skinParam);
|
return new GtileEmpty(stringBounder, skinParam);
|
||||||
}
|
}
|
||||||
|
// ::done
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public CommandExecutionResult add(Instruction other) {
|
public CommandExecutionResult add(Instruction other) {
|
||||||
|
@ -47,15 +47,15 @@ import net.sourceforge.plantuml.activitydiagram3.gtile.Gtile;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.gtile.GtileGroup;
|
import net.sourceforge.plantuml.activitydiagram3.gtile.GtileGroup;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
import net.sourceforge.plantuml.graphic.StringBounder;
|
|
||||||
import net.sourceforge.plantuml.graphic.USymbol;
|
import net.sourceforge.plantuml.graphic.USymbol;
|
||||||
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
||||||
import net.sourceforge.plantuml.graphic.color.Colors;
|
import net.sourceforge.plantuml.graphic.color.Colors;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.HColors;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.StringBounder;
|
||||||
import net.sourceforge.plantuml.sequencediagram.NotePosition;
|
import net.sourceforge.plantuml.sequencediagram.NotePosition;
|
||||||
import net.sourceforge.plantuml.sequencediagram.NoteType;
|
import net.sourceforge.plantuml.sequencediagram.NoteType;
|
||||||
import net.sourceforge.plantuml.style.Style;
|
import net.sourceforge.plantuml.style.Style;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColors;
|
|
||||||
|
|
||||||
public class InstructionGroup extends AbstractInstruction implements Instruction, InstructionCollection {
|
public class InstructionGroup extends AbstractInstruction implements Instruction, InstructionCollection {
|
||||||
|
|
||||||
@ -90,11 +90,13 @@ public class InstructionGroup extends AbstractInstruction implements Instruction
|
|||||||
return list.add(ins);
|
return list.add(ins);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ::comment when WASM
|
||||||
@Override
|
@Override
|
||||||
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
||||||
Gtile tmp = list.createGtile(skinParam, stringBounder);
|
Gtile tmp = list.createGtile(skinParam, stringBounder);
|
||||||
return new GtileGroup(tmp, title, null, HColors.BLUE, backColor, tmp.skinParam(), type, style);
|
return new GtileGroup(tmp, title, null, HColors.BLUE, backColor, tmp.skinParam(), type, style);
|
||||||
}
|
}
|
||||||
|
// ::done
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Ftile createFtile(FtileFactory factory) {
|
public Ftile createFtile(FtileFactory factory) {
|
||||||
|
@ -43,7 +43,6 @@ import java.util.Objects;
|
|||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.ISkinParam;
|
import net.sourceforge.plantuml.ISkinParam;
|
||||||
import net.sourceforge.plantuml.Url;
|
|
||||||
import net.sourceforge.plantuml.activitydiagram3.ftile.Ftile;
|
import net.sourceforge.plantuml.activitydiagram3.ftile.Ftile;
|
||||||
import net.sourceforge.plantuml.activitydiagram3.ftile.FtileDecorateWelding;
|
import net.sourceforge.plantuml.activitydiagram3.ftile.FtileDecorateWelding;
|
||||||
import net.sourceforge.plantuml.activitydiagram3.ftile.FtileFactory;
|
import net.sourceforge.plantuml.activitydiagram3.ftile.FtileFactory;
|
||||||
@ -55,12 +54,13 @@ import net.sourceforge.plantuml.activitydiagram3.gtile.GtileIfAlone;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.gtile.GtileIfHexagon;
|
import net.sourceforge.plantuml.activitydiagram3.gtile.GtileIfHexagon;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
import net.sourceforge.plantuml.graphic.StringBounder;
|
|
||||||
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
||||||
import net.sourceforge.plantuml.graphic.color.Colors;
|
import net.sourceforge.plantuml.graphic.color.Colors;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.StringBounder;
|
||||||
import net.sourceforge.plantuml.sequencediagram.NotePosition;
|
import net.sourceforge.plantuml.sequencediagram.NotePosition;
|
||||||
import net.sourceforge.plantuml.sequencediagram.NoteType;
|
import net.sourceforge.plantuml.sequencediagram.NoteType;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
import net.sourceforge.plantuml.url.Url;
|
||||||
|
|
||||||
public class InstructionIf extends WithNote implements Instruction, InstructionCollection {
|
public class InstructionIf extends WithNote implements Instruction, InstructionCollection {
|
||||||
|
|
||||||
@ -108,6 +108,7 @@ public class InstructionIf extends WithNote implements Instruction, InstructionC
|
|||||||
return current.add(ins);
|
return current.add(ins);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ::comment when WASM
|
||||||
@Override
|
@Override
|
||||||
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
||||||
for (Branch branch : thens)
|
for (Branch branch : thens)
|
||||||
@ -129,6 +130,7 @@ public class InstructionIf extends WithNote implements Instruction, InstructionC
|
|||||||
return new GtileIfAlone(swimlane, gtiles.get(0), branches.get(0));
|
return new GtileIfAlone(swimlane, gtiles.get(0), branches.get(0));
|
||||||
return GtileIfHexagon.build(swimlane, gtiles, branches);
|
return GtileIfHexagon.build(swimlane, gtiles, branches);
|
||||||
}
|
}
|
||||||
|
// ::done
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Ftile createFtile(FtileFactory factory) {
|
public Ftile createFtile(FtileFactory factory) {
|
||||||
|
@ -43,7 +43,7 @@ import net.sourceforge.plantuml.activitydiagram3.ftile.Swimlane;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.gtile.Gtile;
|
import net.sourceforge.plantuml.activitydiagram3.gtile.Gtile;
|
||||||
import net.sourceforge.plantuml.activitydiagram3.gtile.GtileEmpty;
|
import net.sourceforge.plantuml.activitydiagram3.gtile.GtileEmpty;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.graphic.StringBounder;
|
import net.sourceforge.plantuml.klimt.font.StringBounder;
|
||||||
|
|
||||||
public class InstructionLabel extends MonoSwimable implements Instruction {
|
public class InstructionLabel extends MonoSwimable implements Instruction {
|
||||||
|
|
||||||
@ -59,10 +59,12 @@ public class InstructionLabel extends MonoSwimable implements Instruction {
|
|||||||
return new FtileLabel(factory.skinParam(), getSwimlaneIn(), name);
|
return new FtileLabel(factory.skinParam(), getSwimlaneIn(), name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ::comment when WASM
|
||||||
@Override
|
@Override
|
||||||
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
||||||
return new GtileEmpty(stringBounder, skinParam);
|
return new GtileEmpty(stringBounder, skinParam);
|
||||||
}
|
}
|
||||||
|
// ::done
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public CommandExecutionResult add(Instruction other) {
|
public CommandExecutionResult add(Instruction other) {
|
||||||
|
@ -53,9 +53,9 @@ import net.sourceforge.plantuml.activitydiagram3.gtile.GtileAssembly;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.gtile.GtileEmpty;
|
import net.sourceforge.plantuml.activitydiagram3.gtile.GtileEmpty;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
import net.sourceforge.plantuml.graphic.StringBounder;
|
|
||||||
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
||||||
import net.sourceforge.plantuml.graphic.color.Colors;
|
import net.sourceforge.plantuml.graphic.color.Colors;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.StringBounder;
|
||||||
import net.sourceforge.plantuml.sequencediagram.NotePosition;
|
import net.sourceforge.plantuml.sequencediagram.NotePosition;
|
||||||
import net.sourceforge.plantuml.sequencediagram.NoteType;
|
import net.sourceforge.plantuml.sequencediagram.NoteType;
|
||||||
|
|
||||||
@ -101,6 +101,7 @@ public class InstructionList extends WithNote implements Instruction, Instructio
|
|||||||
return CommandExecutionResult.ok();
|
return CommandExecutionResult.ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ::comment when WASM
|
||||||
@Override
|
@Override
|
||||||
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
||||||
if (all.size() == 0)
|
if (all.size() == 0)
|
||||||
@ -118,6 +119,7 @@ public class InstructionList extends WithNote implements Instruction, Instructio
|
|||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
// ::done
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Ftile createFtile(FtileFactory factory) {
|
public Ftile createFtile(FtileFactory factory) {
|
||||||
|
@ -52,12 +52,12 @@ import net.sourceforge.plantuml.activitydiagram3.gtile.GtileBox;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.gtile.GtileRepeat;
|
import net.sourceforge.plantuml.activitydiagram3.gtile.GtileRepeat;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
import net.sourceforge.plantuml.graphic.StringBounder;
|
|
||||||
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
||||||
import net.sourceforge.plantuml.graphic.color.Colors;
|
import net.sourceforge.plantuml.graphic.color.Colors;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.StringBounder;
|
||||||
import net.sourceforge.plantuml.sequencediagram.NotePosition;
|
import net.sourceforge.plantuml.sequencediagram.NotePosition;
|
||||||
import net.sourceforge.plantuml.sequencediagram.NoteType;
|
import net.sourceforge.plantuml.sequencediagram.NoteType;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
|
||||||
|
|
||||||
public class InstructionRepeat extends AbstractInstruction implements Instruction {
|
public class InstructionRepeat extends AbstractInstruction implements Instruction {
|
||||||
|
|
||||||
@ -127,6 +127,7 @@ public class InstructionRepeat extends AbstractInstruction implements Instructio
|
|||||||
return repeatList.add(ins);
|
return repeatList.add(ins);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ::comment when WASM
|
||||||
@Override
|
@Override
|
||||||
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
||||||
|
|
||||||
@ -146,6 +147,7 @@ public class InstructionRepeat extends AbstractInstruction implements Instructio
|
|||||||
// }
|
// }
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
// ::done
|
||||||
|
|
||||||
public Ftile createFtile(FtileFactory factory) {
|
public Ftile createFtile(FtileFactory factory) {
|
||||||
final Ftile back = getFtileBackward(factory);
|
final Ftile back = getFtileBackward(factory);
|
||||||
|
@ -39,7 +39,6 @@ import java.util.Collection;
|
|||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.ISkinParam;
|
import net.sourceforge.plantuml.ISkinParam;
|
||||||
import net.sourceforge.plantuml.Url;
|
|
||||||
import net.sourceforge.plantuml.activitydiagram3.ftile.BoxStyle;
|
import net.sourceforge.plantuml.activitydiagram3.ftile.BoxStyle;
|
||||||
import net.sourceforge.plantuml.activitydiagram3.ftile.Ftile;
|
import net.sourceforge.plantuml.activitydiagram3.ftile.Ftile;
|
||||||
import net.sourceforge.plantuml.activitydiagram3.ftile.FtileFactory;
|
import net.sourceforge.plantuml.activitydiagram3.ftile.FtileFactory;
|
||||||
@ -52,9 +51,10 @@ import net.sourceforge.plantuml.activitydiagram3.gtile.GtileWithNotes;
|
|||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
||||||
import net.sourceforge.plantuml.graphic.StringBounder;
|
|
||||||
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
||||||
import net.sourceforge.plantuml.graphic.color.Colors;
|
import net.sourceforge.plantuml.graphic.color.Colors;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.StringBounder;
|
||||||
|
import net.sourceforge.plantuml.url.Url;
|
||||||
|
|
||||||
public class InstructionSimple extends MonoSwimable implements Instruction {
|
public class InstructionSimple extends MonoSwimable implements Instruction {
|
||||||
|
|
||||||
@ -82,6 +82,7 @@ public class InstructionSimple extends MonoSwimable implements Instruction {
|
|||||||
this.colors = Objects.requireNonNull(colors);
|
this.colors = Objects.requireNonNull(colors);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ::comment when WASM
|
||||||
@Override
|
@Override
|
||||||
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
||||||
GtileBox result = GtileBox.create(stringBounder, colors.mute(skinParam), label, getSwimlaneIn(), style,
|
GtileBox result = GtileBox.create(stringBounder, colors.mute(skinParam), label, getSwimlaneIn(), style,
|
||||||
@ -98,6 +99,7 @@ public class InstructionSimple extends MonoSwimable implements Instruction {
|
|||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
// ::done
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Ftile createFtile(FtileFactory factory) {
|
public Ftile createFtile(FtileFactory factory) {
|
||||||
|
@ -50,8 +50,8 @@ import net.sourceforge.plantuml.activitydiagram3.gtile.Gtiles;
|
|||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
import net.sourceforge.plantuml.graphic.Rainbow;
|
import net.sourceforge.plantuml.graphic.Rainbow;
|
||||||
import net.sourceforge.plantuml.graphic.StringBounder;
|
|
||||||
import net.sourceforge.plantuml.graphic.color.Colors;
|
import net.sourceforge.plantuml.graphic.color.Colors;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.StringBounder;
|
||||||
import net.sourceforge.plantuml.sequencediagram.NotePosition;
|
import net.sourceforge.plantuml.sequencediagram.NotePosition;
|
||||||
import net.sourceforge.plantuml.sequencediagram.NoteType;
|
import net.sourceforge.plantuml.sequencediagram.NoteType;
|
||||||
|
|
||||||
@ -89,6 +89,7 @@ public class InstructionSplit extends AbstractInstruction implements Instruction
|
|||||||
return getLast().add(ins);
|
return getLast().add(ins);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ::comment when WASM
|
||||||
@Override
|
@Override
|
||||||
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
||||||
final List<Gtile> all = new ArrayList<>();
|
final List<Gtile> all = new ArrayList<>();
|
||||||
@ -101,6 +102,7 @@ public class InstructionSplit extends AbstractInstruction implements Instruction
|
|||||||
|
|
||||||
return new GtileSplit(all, swimlaneIn, getInLinkRenderingColor(skinParam).getColor());
|
return new GtileSplit(all, swimlaneIn, getInLinkRenderingColor(skinParam).getColor());
|
||||||
}
|
}
|
||||||
|
// ::done
|
||||||
|
|
||||||
private Rainbow getInLinkRenderingColor(ISkinParam skinParam) {
|
private Rainbow getInLinkRenderingColor(ISkinParam skinParam) {
|
||||||
Rainbow color;
|
Rainbow color;
|
||||||
|
@ -37,7 +37,6 @@ package net.sourceforge.plantuml.activitydiagram3;
|
|||||||
|
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.FontParam;
|
|
||||||
import net.sourceforge.plantuml.ISkinParam;
|
import net.sourceforge.plantuml.ISkinParam;
|
||||||
import net.sourceforge.plantuml.activitydiagram3.ftile.Ftile;
|
import net.sourceforge.plantuml.activitydiagram3.ftile.Ftile;
|
||||||
import net.sourceforge.plantuml.activitydiagram3.ftile.FtileFactory;
|
import net.sourceforge.plantuml.activitydiagram3.ftile.FtileFactory;
|
||||||
@ -46,10 +45,11 @@ import net.sourceforge.plantuml.activitydiagram3.ftile.Swimlane;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.gtile.Gtile;
|
import net.sourceforge.plantuml.activitydiagram3.gtile.Gtile;
|
||||||
import net.sourceforge.plantuml.activitydiagram3.gtile.GtileCircleSpot;
|
import net.sourceforge.plantuml.activitydiagram3.gtile.GtileCircleSpot;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.graphic.StringBounder;
|
|
||||||
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
||||||
import net.sourceforge.plantuml.ugraphic.UFont;
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
import net.sourceforge.plantuml.klimt.font.FontParam;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.StringBounder;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.UFont;
|
||||||
|
|
||||||
public class InstructionSpot extends MonoSwimable implements Instruction {
|
public class InstructionSpot extends MonoSwimable implements Instruction {
|
||||||
|
|
||||||
@ -80,13 +80,15 @@ public class InstructionSpot extends MonoSwimable implements Instruction {
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ::comment when WASM
|
||||||
@Override
|
@Override
|
||||||
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
||||||
final UFont font = skinParam.getFont(null, false, FontParam.ACTIVITY);
|
final UFont font = skinParam.getFont(null, false, FontParam.ACTIVITY);
|
||||||
return new GtileCircleSpot(stringBounder, skinParam, color, getSwimlaneIn(), spot, font);
|
return new GtileCircleSpot(stringBounder, skinParam, color, getSwimlaneIn(), spot, font);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
// ::done
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public CommandExecutionResult add(Instruction other) {
|
public CommandExecutionResult add(Instruction other) {
|
||||||
throw new UnsupportedOperationException();
|
throw new UnsupportedOperationException();
|
||||||
|
@ -44,9 +44,9 @@ import net.sourceforge.plantuml.activitydiagram3.ftile.Swimlane;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.gtile.Gtile;
|
import net.sourceforge.plantuml.activitydiagram3.gtile.Gtile;
|
||||||
import net.sourceforge.plantuml.activitydiagram3.gtile.GtileCircleStart;
|
import net.sourceforge.plantuml.activitydiagram3.gtile.GtileCircleStart;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.graphic.StringBounder;
|
|
||||||
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColors;
|
import net.sourceforge.plantuml.klimt.color.HColors;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.StringBounder;
|
||||||
|
|
||||||
public class InstructionStart extends MonoSwimable implements Instruction {
|
public class InstructionStart extends MonoSwimable implements Instruction {
|
||||||
|
|
||||||
@ -62,10 +62,12 @@ public class InstructionStart extends MonoSwimable implements Instruction {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ::comment when WASM
|
||||||
@Override
|
@Override
|
||||||
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
||||||
return new GtileCircleStart(stringBounder, skinParam, HColors.BLACK, getSwimlaneIn());
|
return new GtileCircleStart(stringBounder, skinParam, HColors.BLACK, getSwimlaneIn());
|
||||||
}
|
}
|
||||||
|
// ::done
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Ftile createFtile(FtileFactory factory) {
|
public Ftile createFtile(FtileFactory factory) {
|
||||||
|
@ -44,9 +44,9 @@ import net.sourceforge.plantuml.activitydiagram3.ftile.Swimlane;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.gtile.Gtile;
|
import net.sourceforge.plantuml.activitydiagram3.gtile.Gtile;
|
||||||
import net.sourceforge.plantuml.activitydiagram3.gtile.GtileCircleStart;
|
import net.sourceforge.plantuml.activitydiagram3.gtile.GtileCircleStart;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.graphic.StringBounder;
|
|
||||||
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColors;
|
import net.sourceforge.plantuml.klimt.color.HColors;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.StringBounder;
|
||||||
|
|
||||||
public class InstructionStop extends MonoSwimable implements Instruction {
|
public class InstructionStop extends MonoSwimable implements Instruction {
|
||||||
|
|
||||||
@ -62,10 +62,12 @@ public class InstructionStop extends MonoSwimable implements Instruction {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ::comment when WASM
|
||||||
@Override
|
@Override
|
||||||
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
||||||
return new GtileCircleStart(stringBounder, skinParam, HColors.BLACK, getSwimlaneIn());
|
return new GtileCircleStart(stringBounder, skinParam, HColors.BLACK, getSwimlaneIn());
|
||||||
}
|
}
|
||||||
|
// ::done
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Ftile createFtile(FtileFactory factory) {
|
public Ftile createFtile(FtileFactory factory) {
|
||||||
|
@ -50,12 +50,12 @@ import net.sourceforge.plantuml.activitydiagram3.gtile.Gtile;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.gtile.GtileIfHexagon;
|
import net.sourceforge.plantuml.activitydiagram3.gtile.GtileIfHexagon;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
import net.sourceforge.plantuml.graphic.StringBounder;
|
|
||||||
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
||||||
import net.sourceforge.plantuml.graphic.color.Colors;
|
import net.sourceforge.plantuml.graphic.color.Colors;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.StringBounder;
|
||||||
import net.sourceforge.plantuml.sequencediagram.NotePosition;
|
import net.sourceforge.plantuml.sequencediagram.NotePosition;
|
||||||
import net.sourceforge.plantuml.sequencediagram.NoteType;
|
import net.sourceforge.plantuml.sequencediagram.NoteType;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
|
||||||
|
|
||||||
public class InstructionSwitch extends WithNote implements Instruction, InstructionCollection {
|
public class InstructionSwitch extends WithNote implements Instruction, InstructionCollection {
|
||||||
|
|
||||||
@ -97,6 +97,7 @@ public class InstructionSwitch extends WithNote implements Instruction, Instruct
|
|||||||
return current.add(ins);
|
return current.add(ins);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ::comment when WASM
|
||||||
@Override
|
@Override
|
||||||
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
||||||
for (Branch branch : switches)
|
for (Branch branch : switches)
|
||||||
@ -111,6 +112,7 @@ public class InstructionSwitch extends WithNote implements Instruction, Instruct
|
|||||||
|
|
||||||
return GtileIfHexagon.build(swimlane, gtiles, switches);
|
return GtileIfHexagon.build(swimlane, gtiles, switches);
|
||||||
}
|
}
|
||||||
|
// ::done
|
||||||
|
|
||||||
public Ftile createFtile(FtileFactory factory) {
|
public Ftile createFtile(FtileFactory factory) {
|
||||||
for (Branch branch : switches)
|
for (Branch branch : switches)
|
||||||
|
@ -50,12 +50,12 @@ import net.sourceforge.plantuml.activitydiagram3.gtile.GtileWhile;
|
|||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
import net.sourceforge.plantuml.graphic.Rainbow;
|
import net.sourceforge.plantuml.graphic.Rainbow;
|
||||||
import net.sourceforge.plantuml.graphic.StringBounder;
|
|
||||||
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
import net.sourceforge.plantuml.graphic.VerticalAlignment;
|
||||||
import net.sourceforge.plantuml.graphic.color.Colors;
|
import net.sourceforge.plantuml.graphic.color.Colors;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
|
import net.sourceforge.plantuml.klimt.font.StringBounder;
|
||||||
import net.sourceforge.plantuml.sequencediagram.NotePosition;
|
import net.sourceforge.plantuml.sequencediagram.NotePosition;
|
||||||
import net.sourceforge.plantuml.sequencediagram.NoteType;
|
import net.sourceforge.plantuml.sequencediagram.NoteType;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
|
||||||
|
|
||||||
public class InstructionWhile extends WithNote implements Instruction, InstructionCollection {
|
public class InstructionWhile extends WithNote implements Instruction, InstructionCollection {
|
||||||
|
|
||||||
@ -103,6 +103,7 @@ public class InstructionWhile extends WithNote implements Instruction, Instructi
|
|||||||
return repeatList.add(ins);
|
return repeatList.add(ins);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ::comment when WASM
|
||||||
@Override
|
@Override
|
||||||
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
public Gtile createGtile(ISkinParam skinParam, StringBounder stringBounder) {
|
||||||
final Gtile back = null;
|
final Gtile back = null;
|
||||||
@ -110,6 +111,7 @@ public class InstructionWhile extends WithNote implements Instruction, Instructi
|
|||||||
tmp = GtileWhile.createWhile(swimlane, tmp, test, yes, specialOut, back);
|
tmp = GtileWhile.createWhile(swimlane, tmp, test, yes, specialOut, back);
|
||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
// ::done
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Ftile createFtile(FtileFactory factory) {
|
public Ftile createFtile(FtileFactory factory) {
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
package net.sourceforge.plantuml.activitydiagram3;
|
package net.sourceforge.plantuml.activitydiagram3;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.activitydiagram3.ftile.Swimlane;
|
import net.sourceforge.plantuml.activitydiagram3.ftile.Swimlane;
|
||||||
import net.sourceforge.plantuml.annotation.HaxeIgnored;
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
import net.sourceforge.plantuml.graphic.color.Colors;
|
import net.sourceforge.plantuml.graphic.color.Colors;
|
||||||
import net.sourceforge.plantuml.sequencediagram.NotePosition;
|
import net.sourceforge.plantuml.sequencediagram.NotePosition;
|
||||||
@ -58,7 +58,7 @@ public class PositionedNote {
|
|||||||
this.swimlaneNote = swimlaneNote;
|
this.swimlaneNote = swimlaneNote;
|
||||||
}
|
}
|
||||||
|
|
||||||
@HaxeIgnored
|
|
||||||
public PositionedNote(Display note, NotePosition position, NoteType type, Swimlane swimlaneNote) {
|
public PositionedNote(Display note, NotePosition position, NoteType type, Swimlane swimlaneNote) {
|
||||||
this(note, position, type, swimlaneNote, null);
|
this(note, position, type, swimlaneNote, null);
|
||||||
}
|
}
|
||||||
|
@ -38,23 +38,23 @@ package net.sourceforge.plantuml.activitydiagram3.command;
|
|||||||
import java.util.regex.Matcher;
|
import java.util.regex.Matcher;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.ColorParam;
|
import net.sourceforge.plantuml.ColorParam;
|
||||||
import net.sourceforge.plantuml.Url;
|
|
||||||
import net.sourceforge.plantuml.UrlBuilder;
|
|
||||||
import net.sourceforge.plantuml.UrlMode;
|
|
||||||
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
||||||
import net.sourceforge.plantuml.activitydiagram3.ftile.BoxStyle;
|
import net.sourceforge.plantuml.activitydiagram3.ftile.BoxStyle;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
import net.sourceforge.plantuml.cucadiagram.Stereotype;
|
||||||
import net.sourceforge.plantuml.graphic.color.ColorParser;
|
|
||||||
import net.sourceforge.plantuml.graphic.color.ColorType;
|
|
||||||
import net.sourceforge.plantuml.graphic.color.Colors;
|
import net.sourceforge.plantuml.graphic.color.Colors;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.NoSuchColorException;
|
import net.sourceforge.plantuml.klimt.color.ColorParser;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.ColorType;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.NoSuchColorException;
|
||||||
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
|
import net.sourceforge.plantuml.url.Url;
|
||||||
|
import net.sourceforge.plantuml.url.UrlBuilder;
|
||||||
|
import net.sourceforge.plantuml.url.UrlMode;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandActivity3 extends SingleLineCommand2<ActivityDiagram3> {
|
public class CommandActivity3 extends SingleLineCommand2<ActivityDiagram3> {
|
||||||
|
@ -39,12 +39,12 @@ import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.ftile.BoxStyle;
|
import net.sourceforge.plantuml.activitydiagram3.ftile.BoxStyle;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
import net.sourceforge.plantuml.graphic.color.Colors;
|
import net.sourceforge.plantuml.graphic.color.Colors;
|
||||||
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandActivityLegacy1 extends SingleLineCommand2<ActivityDiagram3> {
|
public class CommandActivityLegacy1 extends SingleLineCommand2<ActivityDiagram3> {
|
||||||
|
@ -41,14 +41,14 @@ import net.sourceforge.plantuml.command.CommandExecutionResult;
|
|||||||
import net.sourceforge.plantuml.command.CommandMultilines3;
|
import net.sourceforge.plantuml.command.CommandMultilines3;
|
||||||
import net.sourceforge.plantuml.command.MultilinesStrategy;
|
import net.sourceforge.plantuml.command.MultilinesStrategy;
|
||||||
import net.sourceforge.plantuml.command.Trim;
|
import net.sourceforge.plantuml.command.Trim;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
|
||||||
import net.sourceforge.plantuml.graphic.color.ColorParser;
|
|
||||||
import net.sourceforge.plantuml.graphic.color.ColorType;
|
|
||||||
import net.sourceforge.plantuml.graphic.color.Colors;
|
import net.sourceforge.plantuml.graphic.color.Colors;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.NoSuchColorException;
|
import net.sourceforge.plantuml.klimt.color.ColorParser;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.ColorType;
|
||||||
|
import net.sourceforge.plantuml.klimt.color.NoSuchColorException;
|
||||||
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.BlocLines;
|
import net.sourceforge.plantuml.utils.BlocLines;
|
||||||
|
|
||||||
public class CommandActivityLong3 extends CommandMultilines3<ActivityDiagram3> {
|
public class CommandActivityLong3 extends CommandMultilines3<ActivityDiagram3> {
|
||||||
|
@ -38,15 +38,15 @@ package net.sourceforge.plantuml.activitydiagram3.command;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexOr;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
import net.sourceforge.plantuml.descdiagram.command.CommandLinkElement;
|
import net.sourceforge.plantuml.descdiagram.command.CommandLinkElement;
|
||||||
import net.sourceforge.plantuml.graphic.Rainbow;
|
import net.sourceforge.plantuml.graphic.Rainbow;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.NoSuchColorException;
|
import net.sourceforge.plantuml.klimt.color.NoSuchColorException;
|
||||||
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexOr;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandArrow3 extends SingleLineCommand2<ActivityDiagram3> {
|
public class CommandArrow3 extends SingleLineCommand2<ActivityDiagram3> {
|
||||||
|
@ -42,14 +42,14 @@ import net.sourceforge.plantuml.command.CommandExecutionResult;
|
|||||||
import net.sourceforge.plantuml.command.CommandMultilines2;
|
import net.sourceforge.plantuml.command.CommandMultilines2;
|
||||||
import net.sourceforge.plantuml.command.MultilinesStrategy;
|
import net.sourceforge.plantuml.command.MultilinesStrategy;
|
||||||
import net.sourceforge.plantuml.command.Trim;
|
import net.sourceforge.plantuml.command.Trim;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexOr;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
|
||||||
import net.sourceforge.plantuml.descdiagram.command.CommandLinkElement;
|
import net.sourceforge.plantuml.descdiagram.command.CommandLinkElement;
|
||||||
import net.sourceforge.plantuml.graphic.Rainbow;
|
import net.sourceforge.plantuml.graphic.Rainbow;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.NoSuchColorException;
|
import net.sourceforge.plantuml.klimt.color.NoSuchColorException;
|
||||||
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexOr;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.BlocLines;
|
import net.sourceforge.plantuml.utils.BlocLines;
|
||||||
|
|
||||||
public class CommandArrowLong3 extends CommandMultilines2<ActivityDiagram3> {
|
public class CommandArrowLong3 extends CommandMultilines2<ActivityDiagram3> {
|
||||||
|
@ -40,16 +40,16 @@ import net.sourceforge.plantuml.activitydiagram3.LinkRendering;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.ftile.BoxStyle;
|
import net.sourceforge.plantuml.activitydiagram3.ftile.BoxStyle;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexOptional;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexOr;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
import net.sourceforge.plantuml.descdiagram.command.CommandLinkElement;
|
import net.sourceforge.plantuml.descdiagram.command.CommandLinkElement;
|
||||||
import net.sourceforge.plantuml.graphic.Rainbow;
|
import net.sourceforge.plantuml.graphic.Rainbow;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.NoSuchColorException;
|
import net.sourceforge.plantuml.klimt.color.NoSuchColorException;
|
||||||
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexOptional;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexOr;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandBackward3 extends SingleLineCommand2<ActivityDiagram3> {
|
public class CommandBackward3 extends SingleLineCommand2<ActivityDiagram3> {
|
||||||
|
@ -42,11 +42,11 @@ import net.sourceforge.plantuml.command.CommandExecutionResult;
|
|||||||
import net.sourceforge.plantuml.command.CommandMultilines3;
|
import net.sourceforge.plantuml.command.CommandMultilines3;
|
||||||
import net.sourceforge.plantuml.command.MultilinesStrategy;
|
import net.sourceforge.plantuml.command.MultilinesStrategy;
|
||||||
import net.sourceforge.plantuml.command.Trim;
|
import net.sourceforge.plantuml.command.Trim;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
import net.sourceforge.plantuml.klimt.color.NoSuchColorException;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.NoSuchColorException;
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.BlocLines;
|
import net.sourceforge.plantuml.utils.BlocLines;
|
||||||
|
|
||||||
public class CommandBackwardLong3 extends CommandMultilines3<ActivityDiagram3> {
|
public class CommandBackwardLong3 extends CommandMultilines3<ActivityDiagram3> {
|
||||||
|
@ -38,10 +38,10 @@ package net.sourceforge.plantuml.activitydiagram3.command;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandBreak extends SingleLineCommand2<ActivityDiagram3> {
|
public class CommandBreak extends SingleLineCommand2<ActivityDiagram3> {
|
||||||
|
@ -38,11 +38,11 @@ package net.sourceforge.plantuml.activitydiagram3.command;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandCase extends SingleLineCommand2<ActivityDiagram3> {
|
public class CommandCase extends SingleLineCommand2<ActivityDiagram3> {
|
||||||
|
@ -38,13 +38,13 @@ package net.sourceforge.plantuml.activitydiagram3.command;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
import net.sourceforge.plantuml.klimt.color.ColorParser;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
import net.sourceforge.plantuml.klimt.color.NoSuchColorException;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
import net.sourceforge.plantuml.graphic.color.ColorParser;
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.NoSuchColorException;
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandCircleSpot3 extends SingleLineCommand2<ActivityDiagram3> {
|
public class CommandCircleSpot3 extends SingleLineCommand2<ActivityDiagram3> {
|
||||||
|
@ -39,14 +39,14 @@ import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.LinkRendering;
|
import net.sourceforge.plantuml.activitydiagram3.LinkRendering;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexOptional;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexOr;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
|
||||||
import net.sourceforge.plantuml.descdiagram.command.CommandLinkElement;
|
import net.sourceforge.plantuml.descdiagram.command.CommandLinkElement;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.NoSuchColorException;
|
import net.sourceforge.plantuml.klimt.color.NoSuchColorException;
|
||||||
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexOptional;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexOr;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandElse3 extends SingleLineCommand2<ActivityDiagram3> {
|
public class CommandElse3 extends SingleLineCommand2<ActivityDiagram3> {
|
||||||
|
@ -39,17 +39,17 @@ import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.LinkRendering;
|
import net.sourceforge.plantuml.activitydiagram3.LinkRendering;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexOptional;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexOr;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
import net.sourceforge.plantuml.descdiagram.command.CommandLinkElement;
|
import net.sourceforge.plantuml.descdiagram.command.CommandLinkElement;
|
||||||
import net.sourceforge.plantuml.graphic.color.ColorParser;
|
import net.sourceforge.plantuml.klimt.color.ColorParser;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.NoSuchColorException;
|
import net.sourceforge.plantuml.klimt.color.NoSuchColorException;
|
||||||
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexOptional;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexOr;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandElseIf2 extends SingleLineCommand2<ActivityDiagram3> {
|
public class CommandElseIf2 extends SingleLineCommand2<ActivityDiagram3> {
|
||||||
|
@ -39,17 +39,17 @@ import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.LinkRendering;
|
import net.sourceforge.plantuml.activitydiagram3.LinkRendering;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexOptional;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexOr;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
import net.sourceforge.plantuml.descdiagram.command.CommandLinkElement;
|
import net.sourceforge.plantuml.descdiagram.command.CommandLinkElement;
|
||||||
import net.sourceforge.plantuml.graphic.color.ColorParser;
|
import net.sourceforge.plantuml.klimt.color.ColorParser;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.NoSuchColorException;
|
import net.sourceforge.plantuml.klimt.color.NoSuchColorException;
|
||||||
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexOptional;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexOr;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandElseIf3 extends SingleLineCommand2<ActivityDiagram3> {
|
public class CommandElseIf3 extends SingleLineCommand2<ActivityDiagram3> {
|
||||||
|
@ -39,11 +39,11 @@ import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.LinkRendering;
|
import net.sourceforge.plantuml.activitydiagram3.LinkRendering;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandElseLegacy1 extends SingleLineCommand2<ActivityDiagram3> {
|
public class CommandElseLegacy1 extends SingleLineCommand2<ActivityDiagram3> {
|
||||||
|
@ -38,10 +38,10 @@ package net.sourceforge.plantuml.activitydiagram3.command;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandEnd3 extends SingleLineCommand2<ActivityDiagram3> {
|
public class CommandEnd3 extends SingleLineCommand2<ActivityDiagram3> {
|
||||||
|
@ -38,10 +38,10 @@ package net.sourceforge.plantuml.activitydiagram3.command;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandEndPartition3 extends SingleLineCommand2<ActivityDiagram3> {
|
public class CommandEndPartition3 extends SingleLineCommand2<ActivityDiagram3> {
|
||||||
|
@ -38,10 +38,10 @@ package net.sourceforge.plantuml.activitydiagram3.command;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandEndSwitch extends SingleLineCommand2<ActivityDiagram3> {
|
public class CommandEndSwitch extends SingleLineCommand2<ActivityDiagram3> {
|
||||||
|
@ -38,10 +38,10 @@ package net.sourceforge.plantuml.activitydiagram3.command;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandEndif3 extends SingleLineCommand2<ActivityDiagram3> {
|
public class CommandEndif3 extends SingleLineCommand2<ActivityDiagram3> {
|
||||||
|
@ -38,10 +38,10 @@ package net.sourceforge.plantuml.activitydiagram3.command;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandFork3 extends SingleLineCommand2<ActivityDiagram3> {
|
public class CommandFork3 extends SingleLineCommand2<ActivityDiagram3> {
|
||||||
|
@ -38,10 +38,10 @@ package net.sourceforge.plantuml.activitydiagram3.command;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandForkAgain3 extends SingleLineCommand2<ActivityDiagram3> {
|
public class CommandForkAgain3 extends SingleLineCommand2<ActivityDiagram3> {
|
||||||
|
@ -39,11 +39,11 @@ import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.ForkStyle;
|
import net.sourceforge.plantuml.activitydiagram3.ForkStyle;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexOr;
|
import net.sourceforge.plantuml.regex.RegexOr;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandForkEnd3 extends SingleLineCommand2<ActivityDiagram3> {
|
public class CommandForkEnd3 extends SingleLineCommand2<ActivityDiagram3> {
|
||||||
|
@ -38,10 +38,10 @@ package net.sourceforge.plantuml.activitydiagram3.command;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandGoto extends SingleLineCommand2<ActivityDiagram3> {
|
public class CommandGoto extends SingleLineCommand2<ActivityDiagram3> {
|
||||||
|
@ -38,10 +38,10 @@ package net.sourceforge.plantuml.activitydiagram3.command;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandGroupEnd3 extends SingleLineCommand2<ActivityDiagram3> {
|
public class CommandGroupEnd3 extends SingleLineCommand2<ActivityDiagram3> {
|
||||||
|
@ -35,21 +35,21 @@
|
|||||||
*/
|
*/
|
||||||
package net.sourceforge.plantuml.activitydiagram3.command;
|
package net.sourceforge.plantuml.activitydiagram3.command;
|
||||||
|
|
||||||
import net.sourceforge.plantuml.Url;
|
|
||||||
import net.sourceforge.plantuml.UrlBuilder;
|
|
||||||
import net.sourceforge.plantuml.UrlMode;
|
|
||||||
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexOptional;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
import net.sourceforge.plantuml.graphic.color.ColorParser;
|
import net.sourceforge.plantuml.klimt.color.ColorParser;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.NoSuchColorException;
|
import net.sourceforge.plantuml.klimt.color.NoSuchColorException;
|
||||||
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexOptional;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
|
import net.sourceforge.plantuml.url.Url;
|
||||||
|
import net.sourceforge.plantuml.url.UrlBuilder;
|
||||||
|
import net.sourceforge.plantuml.url.UrlMode;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandIf2 extends SingleLineCommand2<ActivityDiagram3> {
|
public class CommandIf2 extends SingleLineCommand2<ActivityDiagram3> {
|
||||||
|
@ -38,14 +38,14 @@ package net.sourceforge.plantuml.activitydiagram3.command;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
import net.sourceforge.plantuml.graphic.color.ColorParser;
|
import net.sourceforge.plantuml.klimt.color.ColorParser;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.NoSuchColorException;
|
import net.sourceforge.plantuml.klimt.color.NoSuchColorException;
|
||||||
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandIf4 extends SingleLineCommand2<ActivityDiagram3> {
|
public class CommandIf4 extends SingleLineCommand2<ActivityDiagram3> {
|
||||||
|
@ -38,11 +38,11 @@ package net.sourceforge.plantuml.activitydiagram3.command;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
|
||||||
import net.sourceforge.plantuml.cucadiagram.Display;
|
import net.sourceforge.plantuml.cucadiagram.Display;
|
||||||
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandIfLegacy1 extends SingleLineCommand2<ActivityDiagram3> {
|
public class CommandIfLegacy1 extends SingleLineCommand2<ActivityDiagram3> {
|
||||||
|
@ -38,10 +38,10 @@ package net.sourceforge.plantuml.activitydiagram3.command;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandKill3 extends SingleLineCommand2<ActivityDiagram3> {
|
public class CommandKill3 extends SingleLineCommand2<ActivityDiagram3> {
|
||||||
|
@ -38,10 +38,10 @@ package net.sourceforge.plantuml.activitydiagram3.command;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandLabel extends SingleLineCommand2<ActivityDiagram3> {
|
public class CommandLabel extends SingleLineCommand2<ActivityDiagram3> {
|
||||||
|
@ -38,13 +38,13 @@ package net.sourceforge.plantuml.activitydiagram3.command;
|
|||||||
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
import net.sourceforge.plantuml.activitydiagram3.ActivityDiagram3;
|
||||||
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
import net.sourceforge.plantuml.command.CommandExecutionResult;
|
||||||
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
import net.sourceforge.plantuml.command.SingleLineCommand2;
|
||||||
import net.sourceforge.plantuml.command.regex.IRegex;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexConcat;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexLeaf;
|
|
||||||
import net.sourceforge.plantuml.command.regex.RegexResult;
|
|
||||||
import net.sourceforge.plantuml.graphic.Rainbow;
|
import net.sourceforge.plantuml.graphic.Rainbow;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.HColor;
|
import net.sourceforge.plantuml.klimt.color.HColor;
|
||||||
import net.sourceforge.plantuml.ugraphic.color.NoSuchColorException;
|
import net.sourceforge.plantuml.klimt.color.NoSuchColorException;
|
||||||
|
import net.sourceforge.plantuml.regex.IRegex;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexConcat;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexLeaf;
|
||||||
|
import net.sourceforge.plantuml.regex.RegexResult;
|
||||||
import net.sourceforge.plantuml.utils.LineLocation;
|
import net.sourceforge.plantuml.utils.LineLocation;
|
||||||
|
|
||||||
public class CommandLink3 extends SingleLineCommand2<ActivityDiagram3> {
|
public class CommandLink3 extends SingleLineCommand2<ActivityDiagram3> {
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user