Skip to content

Commit 90bf214

Browse files
committed
Update Tutorial-o-Matic.mm
1 parent dd03c89 commit 90bf214

1 file changed

Lines changed: 73 additions & 34 deletions

File tree

Tutorial-o-Matic/Tutorial-o-Matic.mm

Lines changed: 73 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<map version="freeplane 1.9.8">
22
<!--To view this file, download free mind mapping software Freeplane from https://www.freeplane.org -->
3-
<node TEXT="Tutorial-o-Matic" FOLDED="false" ID="ID_696401721" CREATED="1636492385138" MODIFIED="1636495490127" LINK="https://github.com/EdoFro/Freeplane_Tutorial_AddOn" BACKGROUND_COLOR="#97c7dc">
3+
<node TEXT="Tutorial-o-Matic" FOLDED="false" ID="ID_696401721" LINK="https://github.com/EdoFro/Freeplane_Tutorial_AddOn" BACKGROUND_COLOR="#97c7dc">
44
<font SIZE="16" BOLD="true" ITALIC="true"/>
55
<attribute_layout NAME_WIDTH="111.75 pt" VALUE_WIDTH="165.75 pt"/>
66
<attribute NAME="name" VALUE="tutorialOMatic"/>
@@ -130,7 +130,7 @@
130130
</map_styles>
131131
</hook>
132132
<hook NAME="AutomaticEdgeColor" COUNTER="13" RULE="ON_BRANCH_CREATION"/>
133-
<node TEXT="description" POSITION="left" ID="ID_1678998363" CREATED="1636492385138" MODIFIED="1636495490142">
133+
<node TEXT="description" POSITION="left" ID="ID_1678998363">
134134
<edge COLOR="#ff0000"/>
135135
<richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
136136
<html>
@@ -150,9 +150,9 @@
150150
</body>
151151
</html>
152152
</richcontent>
153-
<node TEXT="Tutorial-o-Matic for Freeplane!!&#xa;Tutorial-o-Matic is an AddOn for Freeplane that gives the user the possibility to create his/her own tutorials." ID="ID_1642042079" CREATED="1636492385138" MODIFIED="1636492385138"/>
153+
<node TEXT="Tutorial-o-Matic for Freeplane!!&#xa;Tutorial-o-Matic is an AddOn for Freeplane that gives the user the possibility to create his/her own tutorials." ID="ID_1642042079"/>
154154
</node>
155-
<node TEXT="changes" POSITION="left" ID="ID_461119253" CREATED="1636492385138" MODIFIED="1636495490142">
155+
<node TEXT="changes" POSITION="left" ID="ID_461119253">
156156
<edge COLOR="#0000ff"/>
157157
<richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
158158
<html>
@@ -166,17 +166,17 @@
166166
</body>
167167
</html>
168168
</richcontent>
169-
<node TEXT="v0.0.1" ID="ID_1147464075" CREATED="1636492385138" MODIFIED="1636492385138">
170-
<node TEXT="Demo version" ID="ID_1739689712" CREATED="1636492385138" MODIFIED="1636492385138"/>
169+
<node TEXT="v0.0.1" ID="ID_1147464075">
170+
<node TEXT="Demo version" ID="ID_1739689712"/>
171171
</node>
172-
<node TEXT="v0.0.2" ID="ID_945484309" CREATED="1636492385138" MODIFIED="1636492385138">
173-
<node TEXT="Bugs corrections:&#xa;- License as plain text&#xa;- Updated version of Demo map" ID="ID_621408353" CREATED="1636492385138" MODIFIED="1636492385138"/>
172+
<node TEXT="v0.0.2" ID="ID_945484309">
173+
<node TEXT="Bugs corrections:&#xa;- License as plain text&#xa;- Updated version of Demo map" ID="ID_621408353"/>
174174
</node>
175-
<node TEXT="v0.0.3" ID="ID_1106405456" CREATED="1636492385138" MODIFIED="1636492385138">
176-
<node TEXT="- scrollspeed&#xa;- message when command no present in Menu for active map&#xa;- added execute_scripts_without_network_restriction: true so web images could be loaded&#xa;- improved showMenu to show actions in extended submenus&#xa;- changed &apos;Close tutorial&apos; to &apos;Stop tutorial&apos;&#xa;- tables have now black borders&#xa;- Codeblocks have special style in EditorPanes&#xa;- links in EditorPanes are now clickeable and open the default web browser&#xa;- added a listener to resize height of content panel when tabpanel width changes&#xa;- added newPage styles and functionality&#xa;- added Table of Contents styles and functionality&#xa;- added Table of Contents button to &apos;next page&apos; panel&#xa;- added GOTO style and its functionality&#xa;- added Action style and its functionality&#xa;- added groovy style and its functionality&#xa;- enables multiple tutorials in one map&#xa;- added &apos;copy&apos; style and its functionality&#xa;- added &apos;select&apos; style and its functionality" ID="ID_1550125378" CREATED="1636492385138" MODIFIED="1636492385138"/>
175+
<node TEXT="v0.0.3" ID="ID_1106405456">
176+
<node TEXT="- scrollspeed&#xa;- message when command no present in Menu for active map&#xa;- added execute_scripts_without_network_restriction: true so web images could be loaded&#xa;- improved showMenu to show actions in extended submenus&#xa;- changed &apos;Close tutorial&apos; to &apos;Stop tutorial&apos;&#xa;- tables have now black borders&#xa;- Codeblocks have special style in EditorPanes&#xa;- links in EditorPanes are now clickeable and open the default web browser&#xa;- added a listener to resize height of content panel when tabpanel width changes&#xa;- added newPage styles and functionality&#xa;- added Table of Contents styles and functionality&#xa;- added Table of Contents button to &apos;next page&apos; panel&#xa;- added GOTO style and its functionality&#xa;- added Action style and its functionality&#xa;- added groovy style and its functionality&#xa;- enables multiple tutorials in one map&#xa;- added &apos;copy&apos; style and its functionality&#xa;- added &apos;select&apos; style and its functionality&#xa;- added &apos;openMap&apos; style and its functionality" ID="ID_1550125378"/>
177177
</node>
178178
</node>
179-
<node TEXT="license" FOLDED="true" POSITION="left" ID="ID_624388795" CREATED="1636492385138" MODIFIED="1636495490142">
179+
<node TEXT="license" FOLDED="true" POSITION="left" ID="ID_624388795">
180180
<edge COLOR="#00ff00"/>
181181
<richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
182182
<html>
@@ -196,9 +196,9 @@
196196
</body>
197197
</html>
198198
</richcontent>
199-
<node TEXT="MIT License&#xa;&#xa;Copyright (c) 2021 Eduardo Frohlich.&#xa;&#xa;Permission is hereby granted, free of charge, to any person obtaining a copy&#xa;of this software and associated documentation files (the &quot;Software&quot;), to deal&#xa;in the Software without restriction, including without limitation the rights&#xa;to use, copy, modify, merge, publish, distribute, sublicense, and/or sell&#xa;copies of the Software, and to permit persons to whom the Software is&#xa;furnished to do so, subject to the following conditions:&#xa;&#xa;The above copyright notice and this permission notice shall be included in all&#xa;copies or substantial portions of the Software.&#xa;&#xa;THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR&#xa;IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,&#xa;FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE&#xa;AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER&#xa;LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,&#xa;OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE&#xa;SOFTWARE." ID="ID_444630498" CREATED="1636492385138" MODIFIED="1636492385138"/>
199+
<node TEXT="MIT License&#xa;&#xa;Copyright (c) 2021 Eduardo Frohlich.&#xa;&#xa;Permission is hereby granted, free of charge, to any person obtaining a copy&#xa;of this software and associated documentation files (the &quot;Software&quot;), to deal&#xa;in the Software without restriction, including without limitation the rights&#xa;to use, copy, modify, merge, publish, distribute, sublicense, and/or sell&#xa;copies of the Software, and to permit persons to whom the Software is&#xa;furnished to do so, subject to the following conditions:&#xa;&#xa;The above copyright notice and this permission notice shall be included in all&#xa;copies or substantial portions of the Software.&#xa;&#xa;THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR&#xa;IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,&#xa;FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE&#xa;AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER&#xa;LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,&#xa;OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE&#xa;SOFTWARE." ID="ID_444630498"/>
200200
</node>
201-
<node TEXT="preferences.xml" POSITION="left" ID="ID_1967714695" CREATED="1636492385138" MODIFIED="1636495490158">
201+
<node TEXT="preferences.xml" POSITION="left" ID="ID_1967714695">
202202
<edge COLOR="#ff00ff"/>
203203
<richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
204204
<html>
@@ -216,7 +216,7 @@
216216
</html>
217217
</richcontent>
218218
</node>
219-
<node TEXT="default.properties" POSITION="left" ID="ID_1398497950" CREATED="1636492385138" MODIFIED="1636495490158">
219+
<node TEXT="default.properties" POSITION="left" ID="ID_1398497950">
220220
<edge COLOR="#00ffff"/>
221221
<richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
222222
<html>
@@ -239,7 +239,7 @@ For each menu item with an icon add an attribute with the icon key (use develope
239239
</html>
240240
</richcontent>
241241
</node>
242-
<node TEXT="translations" POSITION="left" ID="ID_546877695" CREATED="1636492385138" MODIFIED="1636495490158">
242+
<node TEXT="translations" POSITION="left" ID="ID_546877695">
243243
<edge COLOR="#7c0000"/>
244244
<richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
245245
<html>
@@ -264,7 +264,7 @@ For each menu item with an icon add an attribute with the icon key (use develope
264264
</body>
265265
</html>
266266
</richcontent>
267-
<node TEXT="en" ID="ID_1998059292" CREATED="1636492385138" MODIFIED="1636492385138">
267+
<node TEXT="en" ID="ID_1998059292">
268268
<attribute_layout NAME_WIDTH="162 pt" VALUE_WIDTH="281.24999 pt"/>
269269
<attribute NAME="addons.${name}" VALUE="Tutorial-o-Matic"/>
270270
<attribute NAME="addons.${name}.ActionInstruction1" VALUE="&lt;html&gt;In submenu &lt;b&gt;{0}&lt;/b&gt; &lt;br&gt;click on &lt;b&gt;{1}&lt;/b&gt;&lt;/html&gt;"/>
@@ -274,7 +274,7 @@ For each menu item with an icon add an attribute with the icon key (use develope
274274
<attribute NAME="addons.${name}.ToMDemo" VALUE="Tutorial-o-Matic Demo"/>
275275
</node>
276276
</node>
277-
<node TEXT="deinstall" POSITION="left" ID="ID_378917294" CREATED="1636492385138" MODIFIED="1636496556005">
277+
<node TEXT="deinstall" POSITION="left" ID="ID_378917294">
278278
<edge COLOR="#00007c"/>
279279
<richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
280280
<html>
@@ -300,7 +300,7 @@ For each menu item with an icon add an attribute with the icon key (use develope
300300
<attribute NAME="delete" VALUE="${installationbase}/doc/Tutorial-o-Matic/ExersizingMap.mm"/>
301301
<attribute NAME="delete" VALUE="${installationbase}/doc/Tutorial-o-Matic/ExercisingMap.mm"/>
302302
</node>
303-
<node TEXT="scripts" POSITION="right" ID="ID_1037882722" CREATED="1636492385138" MODIFIED="1636495490174">
303+
<node TEXT="scripts" POSITION="right" ID="ID_1037882722">
304304
<edge COLOR="#007c00"/>
305305
<richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
306306
<html>
@@ -419,7 +419,7 @@ For each menu item with an icon add an attribute with the icon key (use develope
419419
</body>
420420
</html>
421421
</richcontent>
422-
<node TEXT="executeTutorial.groovy" ID="ID_420702224" CREATED="1636492385138" MODIFIED="1636492385138">
422+
<node TEXT="executeTutorial.groovy" ID="ID_420702224">
423423
<attribute_layout NAME_WIDTH="200.24999 pt" VALUE_WIDTH="200.24999 pt"/>
424424
<attribute NAME="menuTitleKey" VALUE="addons.${name}.executeTutorial"/>
425425
<attribute NAME="menuLocation" VALUE="/menu_bar/edoTools/addons.${name}"/>
@@ -431,7 +431,7 @@ For each menu item with an icon add an attribute with the icon key (use develope
431431
<attribute NAME="execute_scripts_without_exec_restriction" VALUE="false"/>
432432
<attribute NAME="execute_scripts_without_network_restriction" VALUE="true"/>
433433
</node>
434-
<node TEXT="openDemoMap.groovy" ID="ID_1629939217" CREATED="1636492385138" MODIFIED="1636492385138">
434+
<node TEXT="openDemoMap.groovy" ID="ID_1629939217">
435435
<attribute_layout NAME_WIDTH="200.24999 pt" VALUE_WIDTH="200.24999 pt"/>
436436
<attribute NAME="menuTitleKey" VALUE="addons.${name}.openDemoMap"/>
437437
<attribute NAME="menuLocation" VALUE="/menu_bar/edoTools/addons.${name}"/>
@@ -443,7 +443,7 @@ For each menu item with an icon add an attribute with the icon key (use develope
443443
<attribute NAME="execute_scripts_without_exec_restriction" VALUE="false"/>
444444
<attribute NAME="execute_scripts_without_network_restriction" VALUE="false"/>
445445
</node>
446-
<node TEXT="ToMDemo.groovy" ID="ID_513310589" CREATED="1636492385138" MODIFIED="1636492385138">
446+
<node TEXT="ToMDemo.groovy" ID="ID_513310589">
447447
<attribute_layout NAME_WIDTH="200.24999 pt" VALUE_WIDTH="200.24999 pt"/>
448448
<attribute NAME="menuTitleKey" VALUE="addons.${name}.ToMDemo"/>
449449
<attribute NAME="menuLocation" VALUE="/menu_bar/edoTools/addons.${name}"/>
@@ -456,7 +456,7 @@ For each menu item with an icon add an attribute with the icon key (use develope
456456
<attribute NAME="execute_scripts_without_network_restriction" VALUE="true"/>
457457
</node>
458458
</node>
459-
<node TEXT="lib" POSITION="right" ID="ID_1814812956" CREATED="1636492385138" MODIFIED="1636495490205">
459+
<node TEXT="lib" POSITION="right" ID="ID_1814812956">
460460
<edge COLOR="#7c007c"/>
461461
<richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
462462
<html>
@@ -494,11 +494,11 @@ For each menu item with an icon add an attribute with the icon key (use develope
494494
</body>
495495
</html>
496496
</richcontent>
497-
<node TEXT="Tutorial-o-Matic.jar" ID="ID_1864463328" CREATED="1636492385138" MODIFIED="1636492385138"/>
498-
<node TEXT="markedj-1.0.16.jar" ID="ID_1060333872" CREATED="1636492385138" MODIFIED="1636492385138"/>
499-
<node TEXT="jsoup-1.10.2.jar" ID="ID_1151792763" CREATED="1636492385138" MODIFIED="1636492385138"/>
497+
<node TEXT="Tutorial-o-Matic.jar" ID="ID_1864463328"/>
498+
<node TEXT="markedj-1.0.16.jar" ID="ID_1060333872"/>
499+
<node TEXT="jsoup-1.10.2.jar" ID="ID_1151792763"/>
500500
</node>
501-
<node TEXT="zips" POSITION="right" ID="ID_1623122610" CREATED="1636492385138" MODIFIED="1636495490221" VGAP_QUANTITY="2 px">
501+
<node TEXT="zips" POSITION="right" ID="ID_1623122610" VGAP_QUANTITY="2 px">
502502
<edge COLOR="#007c7c"/>
503503
<richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
504504
<html>
@@ -536,11 +536,11 @@ For each menu item with an icon add an attribute with the icon key (use develope
536536
</body>
537537
</html>
538538
</richcontent>
539-
<node TEXT="doc" ID="ID_281158802" CREATED="1636492385138" MODIFIED="1636492385138"/>
540-
<node TEXT="icons" ID="ID_211861022" CREATED="1636492385138" MODIFIED="1636492385138"/>
541-
<node TEXT="templates" ID="ID_553385296" CREATED="1636492385138" MODIFIED="1636492385138"/>
539+
<node TEXT="doc" ID="ID_281158802"/>
540+
<node TEXT="icons" ID="ID_211861022"/>
541+
<node TEXT="templates" ID="ID_553385296"/>
542542
</node>
543-
<node TEXT="images" POSITION="right" ID="ID_1856886559" CREATED="1636492385138" MODIFIED="1636495490236">
543+
<node TEXT="images" POSITION="right" ID="ID_1856886559">
544544
<edge COLOR="#7c7c00"/>
545545
<richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
546546
<html>
@@ -575,15 +575,54 @@ For each menu item with an icon add an attribute with the icon key (use develope
575575
</html>
576576
</richcontent>
577577
</node>
578-
<node TEXT="DevTools - MoM" POSITION="right" ID="ID_989188638" CREATED="1636492385138" MODIFIED="1636492385138">
578+
<node TEXT="shortcuts" POSITION="right" ID="ID_989188638">
579579
<edge COLOR="#ff0000"/>
580-
<node TEXT="Build add-on" ID="ID_1016684737" CREATED="1636492385138" MODIFIED="1636492385138" LINK="menuitem:_addons.devtools.checkAddOn_on_single_node">
580+
<richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
581+
<html>
582+
<head>
583+
584+
</head>
585+
<body>
586+
<p>
587+
some nodes to build AddOn and test changes easily and fast
588+
</p>
589+
</body>
590+
</html>
591+
</richcontent>
592+
<richcontent CONTENT-TYPE="xml/" TYPE="DETAILS">
593+
<html>
594+
<head>
595+
596+
</head>
597+
<body>
598+
<p>
599+
Edo
600+
</p>
601+
</body>
602+
</html>
603+
</richcontent>
604+
<node TEXT="Build add-on" ID="ID_1016684737" LINK="menuitem:_addons.devtools.checkAddOn_on_single_node">
581605
<icon BUILTIN="emoji-1F527"/>
582606
</node>
583-
<node TEXT="Package add-on for publication" ID="ID_806418866" CREATED="1636492385138" MODIFIED="1636492385138" LINK="menuitem:_addons.devtools.releaseAddOn_on_single_node">
607+
<node TEXT="Package add-on for publication" ID="ID_806418866" LINK="menuitem:_addons.devtools.releaseAddOn_on_single_node">
584608
<icon BUILTIN="emoji-1F5DC"/>
585609
</node>
586-
<node TEXT="Tutorial-o-Matic-v0.0.3.addon.mm" ID="ID_1586148750" CREATED="1636492385138" MODIFIED="1636492385138" LINK="file:/C:/Users/Edo/Documents/GitHub/Freeplane_Tutorial_AddOn/Tutorial-o-Matic/Tutorial-o-Matic-v0.0.3.addon.mm"/>
610+
<node TEXT="Tutorial-o-Matic-v0.0.3.addon.mm" ID="ID_1586148750" LINK="file:/C:/Users/Edo/Documents/GitHub/Freeplane_Tutorial_AddOn/Tutorial-o-Matic/Tutorial-o-Matic-v0.0.3.addon.mm"/>
611+
<node TEXT="loadAndExecuteTutorial.groovy" ID="ID_1523867671" LINK="menuitem:_ExecuteScriptForSelectionAction"><richcontent CONTENT-TYPE="xml/" TYPE="DETAILS">
612+
<html>
613+
<head>
614+
615+
</head>
616+
<body>
617+
<p>
618+
.groovy
619+
</p>
620+
</body>
621+
</html></richcontent>
622+
<attribute_layout VALUE_WIDTH="115.5 pt"/>
623+
<attribute NAME="script1" VALUE="import edofro.tutorialomatic.ToM_ui as tomui&#xa;import edofro.tutorialomatic.ToM as tom&#xa;&#xa;//opens demo map&#xa;def mapFileName = node.children[0].text&#xa;&#xa;//para que use el que estoy modificando&#xa;pathName=&quot;C:\\Users\\Edo\\Documents\\GitHub\\Freeplane_Tutorial_AddOn\\Tutorial-o-Matic\\zips\\doc\\Tutorial-o-Matic\\${mapFileName}&quot;&#xa;&#xa;//def mapa = node.map //usar mapa activo&#xa;def mapa = tom.getMapFromPath(pathName, true) //usar mapa indicado (true: visible, false: oculto)&#xa;&#xa;tom.showTutorials( mapa )&#xa;&#xa;return &apos;tutorial started&apos;"/>
624+
<node TEXT="Tutorial Sample.mm" ID="ID_1495047992"/>
625+
</node>
587626
</node>
588627
</node>
589628
</map>

0 commit comments

Comments
 (0)