1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-06-07 10:50:53 +00:00

Merge pull request #348 from matschaffer/remove-license-message-on-empty-diagram

Move license message below getting started
This commit is contained in:
arnaudroques 2021-03-02 18:00:55 +01:00 committed by GitHub
commit 0f034043df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,12 +5,12 @@
* (C) Copyright 2009-2020, Arnaud Roques
*
* Project Info: http://plantuml.com
*
*
* If you like this project or if you find it useful, you can support us at:
*
*
* http://plantuml.com/patreon (only 1$ per month!)
* http://plantuml.com/paypal
*
*
* This file is part of PlantUML.
*
* PlantUML is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
*
*
* Original Author: Arnaud Roques
*
*
*
*/
package net.sourceforge.plantuml.eggs;
@ -63,9 +63,6 @@ public class PSystemWelcome extends AbstractPSystem {
this.position = position;
strings.add("<b>Welcome to PlantUML!");
strings.add(" ");
strings.add("If you use this software, you accept its license.");
strings.add("(details by typing \"\"license\"\" keyword)");
strings.add(" ");
strings.add("You can start with a simple UML Diagram like:");
strings.add(" ");
strings.add("\"\"Bob->Alice: Hello\"\"");
@ -75,6 +72,9 @@ public class PSystemWelcome extends AbstractPSystem {
strings.add("\"\"class Example\"\"");
strings.add(" ");
strings.add("You will find more information about PlantUML syntax on <u>https://plantuml.com</u>");
strings.add(" ");
strings.add("If you use this software, you accept its license.");
strings.add("(details by typing \"\"license\"\" keyword)");
if (position == GraphicPosition.BACKGROUND_CORNER_BOTTOM_RIGHT) {
strings.add(" ");
strings.add(" ");