summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/metapost/metauml/metauml_usecase.mp
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/metapost/metauml/metauml_usecase.mp')
-rw-r--r--Master/texmf-dist/metapost/metauml/metauml_usecase.mp26
1 files changed, 6 insertions, 20 deletions
diff --git a/Master/texmf-dist/metapost/metauml/metauml_usecase.mp b/Master/texmf-dist/metapost/metauml/metauml_usecase.mp
index e9edf9471b2..f9c666abf3f 100644
--- a/Master/texmf-dist/metapost/metauml/metauml_usecase.mp
+++ b/Master/texmf-dist/metapost/metauml/metauml_usecase.mp
@@ -1,19 +1,5 @@
-% MetaUML, a MetaPost library for typesetting exquisite UML diagrams.
-% Copyright (C) 2005 Ovidiu Gheorghies
-%
-% This program is free software; you can redistribute it and/or
-% modify it under the terms of the GNU General Public License
-% as published by the Free Software Foundation; either version 2
-% of the License, or (at your option) any later version.
-%
-% This program is distributed in the hope that it will be useful,
-% but WITHOUT ANY WARRANTY; without even the implied warranty of
-% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-% GNU General Public License for more details.
-%
-% You should have received a copy of the GNU General Public License
-% along with this program; if not, write to the Free Software
-% Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+% Copyright 2005 2015 Ovidiu Gheorghies
+% Licensed under the Apache License, Version 2.0.
if known _metauml_usecase_mp:
expandafter endinput
@@ -82,10 +68,10 @@ vardef Actor_setDebugMode@#=
enddef;
vardef Actor_layout@#=
- if @#layedout = 1:
+ if @#laidout = 1:
log "Actor " & (str @#) & " has already been layed out";
else:
- @#layedout := 1;
+ @#laidout := 1;
log "Actor layout: " & (str @#);
Human_layout.@#human;
PictureStack_layout.@#nameStack;
@@ -172,10 +158,10 @@ vardef EUsecase@#(text _info)(text contents)=
enddef;
vardef Usecase_layout@#=
- if @#layedout = 1:
+ if @#laidout = 1:
log "Usecase " & (str @#) & " has already been layed out";
else:
- @#layedout := 1;
+ @#laidout := 1;
EPictureStack.@#nameStack(@#info.iNameStack)(scantokens listArray(@#lines)(@#nLines))("vcenterbase");
PictureStack_layout.@#nameStack;