Skip to content

Commit da6f51f

Browse files
committed
wip
1 parent d281c3d commit da6f51f

10 files changed

Lines changed: 2031 additions & 368 deletions

File tree

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

Lines changed: 64 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!--To view this file, download free mind mapping software Freeplane from https://www.freeplane.org -->
33
<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"/>
5-
<attribute_layout NAME_WIDTH="112.5 pt" VALUE_WIDTH="266.99999 pt"/>
5+
<attribute_layout NAME_WIDTH="108 pt" VALUE_WIDTH="262.49999 pt"/>
66
<attribute NAME="name" VALUE="tutorialOMatic"/>
77
<attribute NAME="version" VALUE="v0.0.6"/>
88
<attribute NAME="author" VALUE="EdoFro"/>
@@ -253,6 +253,10 @@
253253
<node TEXT="Added command: &quot;Show tutorials from active map&quot;" ID="ID_624798635"/>
254254
<node TEXT="Added command: &quot;Create new tutorial mind map&quot;" ID="ID_977756201"/>
255255
<node TEXT=" addGroovyPane method updated" ID="ID_1786257563"/>
256+
<node TEXT="Added Tutorial-o-Matic How to" ID="ID_1345715664"/>
257+
<node TEXT="Added command &quot;import Tutorial-o-Matic Styles&quot;" ID="ID_1154840216"/>
258+
<node TEXT="Added command &quot;Open tutorial page from link&quot;" ID="ID_940962261"/>
259+
<node TEXT="Added button that creates a link to current page" ID="ID_698142202"/>
256260
</node>
257261
</node>
258262
<node TEXT="license" FOLDED="true" POSITION="left" ID="ID_624388795"><richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
@@ -405,7 +409,7 @@ For each menu item with an icon add an attribute with the icon key (use develope
405409
</html>
406410
</richcontent>
407411
</node>
408-
<node TEXT="translations" POSITION="left" ID="ID_546877695"><richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
412+
<node TEXT="translations" FOLDED="true" POSITION="left" ID="ID_546877695"><richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
409413
<html>
410414
<head>
411415

@@ -437,8 +441,8 @@ For each menu item with an icon add an attribute with the icon key (use develope
437441
</body>
438442
</html>
439443
</richcontent>
440-
<node TEXT="en" ID="ID_1734971964">
441-
<attribute_layout NAME_WIDTH="209.99999 pt" VALUE_WIDTH="269.24999 pt"/>
444+
<node TEXT="en" ID="ID_835667055">
445+
<attribute_layout NAME_WIDTH="205.49999 pt" VALUE_WIDTH="264.74999 pt"/>
442446
<attribute NAME="addons.${name}.createNewTutorialMindMap" VALUE="Create new tutorial mind map"/>
443447
<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;"/>
444448
<attribute NAME="addons.${name}" VALUE="Tutorial-o-Matic"/>
@@ -447,10 +451,13 @@ For each menu item with an icon add an attribute with the icon key (use develope
447451
<attribute NAME="addons.${name}.getMenuCommand" VALUE="Get menu command"/>
448452
<attribute NAME="addons.${name}.showTutorialsFromActiveMap" VALUE="Show tutorials from active map"/>
449453
<attribute NAME="addons.${name}.ToMDemo" VALUE="Tutorial-o-Matic Demo"/>
454+
<attribute NAME="addons.${name}.ToMTutorial" VALUE="Tutorial-o-Matic How to"/>
455+
<attribute NAME="addons.${name}.importToMStyles" VALUE="Import Tutorial-o-Matic Styles"/>
450456
<attribute NAME="addons.${name}.executeTutorial" VALUE="execute Demo tutorial"/>
457+
<attribute NAME="addons.${name}.openTutorialPageFromLink" VALUE="Open tutorial page from link"/>
451458
</node>
452-
<node TEXT="es" ID="ID_732687859">
453-
<attribute_layout NAME_WIDTH="209.99999 pt" VALUE_WIDTH="233.24999 pt"/>
459+
<node TEXT="es" ID="ID_370825255">
460+
<attribute_layout NAME_WIDTH="205.49999 pt" VALUE_WIDTH="228.74999 pt"/>
454461
<attribute NAME="addons.${name}.createNewTutorialMindMap" VALUE="Crear nuevo mapa para tutoriales"/>
455462
<attribute NAME="addons.${name}.ActionInstruction1" VALUE="&lt;html&gt;En submenu &lt;b&gt;{0}&lt;/b&gt; &lt;br&gt;has click en &lt;b&gt;{1}&lt;/b&gt;&lt;/html&gt;"/>
456463
<attribute NAME="addons.${name}" VALUE="Tutorial-o-Matic"/>
@@ -459,6 +466,8 @@ For each menu item with an icon add an attribute with the icon key (use develope
459466
<attribute NAME="addons.${name}.getMenuCommand" VALUE="Obtener comando desde el menú"/>
460467
<attribute NAME="addons.${name}.showTutorialsFromActiveMap" VALUE="Mostrar tutoriales de mapa activo"/>
461468
<attribute NAME="addons.${name}.ToMDemo" VALUE="Tutorial-o-Matic Demo"/>
469+
<attribute NAME="addons.${name}.ToMTutorial" VALUE="Como usar Tutorial-o-Matic"/>
470+
<attribute NAME="addons.${name}.importToMStyles" VALUE="Importar estilos Tutorial-o-Matic"/>
462471
<attribute NAME="addons.${name}.executeTutorial" VALUE="ejecutar Demo tutorial"/>
463472
</node>
464473
</node>
@@ -490,8 +499,15 @@ For each menu item with an icon add an attribute with the icon key (use develope
490499
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}/scripts/getMenuCommand.groovy"/>
491500
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}/scripts/showTutorialsFromActiveMap.groovy"/>
492501
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}/scripts/createNewTutorialMindMap.groovy"/>
502+
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}/scripts/ToMTutorial.groovy"/>
503+
<attribute NAME="delete" VALUE="${installationbase}/doc/Tutorial-o-Matic/HowToTutorial-o-Matic.mm"/>
504+
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}/scripts/importToMStyles.groovy"/>
505+
<attribute NAME="delete" VALUE="${installationbase}/doc/Tutorial-o-Matic/Tutorial-o-Matic Intro.mm"/>
506+
<attribute NAME="delete" VALUE="${installationbase}/doc/Tutorial-o-Matic/Tutorial-o-MaticCommands.mm"/>
507+
<attribute NAME="delete" VALUE="${installationbase}/doc/Tutorial-o-Matic/Tutorial-o-MaticStepByStep.mm"/>
508+
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}/scripts/openTutorialPageFromLink.groovy"/>
493509
</node>
494-
<node TEXT="scripts" POSITION="right" ID="ID_1037882722"><richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
510+
<node TEXT="scripts" FOLDED="true" POSITION="right" ID="ID_1037882722"><richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
495511
<html>
496512
<head>
497513

@@ -609,7 +625,7 @@ For each menu item with an icon add an attribute with the icon key (use develope
609625
</html>
610626
</richcontent>
611627
<node TEXT="openDemoMap.groovy" ID="ID_1629939217">
612-
<attribute_layout NAME_WIDTH="209.24999 pt" VALUE_WIDTH="156.75 pt"/>
628+
<attribute_layout NAME_WIDTH="204.74999 pt" VALUE_WIDTH="152.25 pt"/>
613629
<attribute NAME="menuTitleKey" VALUE="addons.${name}.openDemoMap"/>
614630
<attribute NAME="menuLocation" VALUE="${addonsMenu}/addons.${name}"/>
615631
<attribute NAME="executionMode" VALUE="on_single_node"/>
@@ -621,7 +637,7 @@ For each menu item with an icon add an attribute with the icon key (use develope
621637
<attribute NAME="execute_scripts_without_network_restriction" VALUE="false"/>
622638
</node>
623639
<node TEXT="ToMDemo.groovy" ID="ID_513310589">
624-
<attribute_layout NAME_WIDTH="209.24999 pt" VALUE_WIDTH="156.75 pt"/>
640+
<attribute_layout NAME_WIDTH="204.74999 pt" VALUE_WIDTH="152.25 pt"/>
625641
<attribute NAME="menuTitleKey" VALUE="addons.${name}.ToMDemo"/>
626642
<attribute NAME="menuLocation" VALUE="${addonsMenu}/addons.${name}"/>
627643
<attribute NAME="executionMode" VALUE="on_single_node"/>
@@ -632,8 +648,20 @@ For each menu item with an icon add an attribute with the icon key (use develope
632648
<attribute NAME="execute_scripts_without_exec_restriction" VALUE="false"/>
633649
<attribute NAME="execute_scripts_without_network_restriction" VALUE="true"/>
634650
</node>
651+
<node TEXT="ToMTutorial.groovy" ID="ID_1001747286">
652+
<attribute_layout NAME_WIDTH="204.74999 pt" VALUE_WIDTH="152.25 pt"/>
653+
<attribute NAME="menuTitleKey" VALUE="addons.${name}.ToMTutorial"/>
654+
<attribute NAME="menuLocation" VALUE="${addonsMenu}/addons.${name}"/>
655+
<attribute NAME="executionMode" VALUE="on_single_node"/>
656+
<attribute NAME="keyboardShortcut" VALUE=""/>
657+
<attribute NAME="execute_scripts_without_asking" VALUE="true"/>
658+
<attribute NAME="execute_scripts_without_file_restriction" VALUE="true"/>
659+
<attribute NAME="execute_scripts_without_write_restriction" VALUE="false"/>
660+
<attribute NAME="execute_scripts_without_exec_restriction" VALUE="false"/>
661+
<attribute NAME="execute_scripts_without_network_restriction" VALUE="true"/>
662+
</node>
635663
<node TEXT="getMenuCommand.groovy" ID="ID_863849079">
636-
<attribute_layout NAME_WIDTH="209.24999 pt" VALUE_WIDTH="166.5 pt"/>
664+
<attribute_layout NAME_WIDTH="204.74999 pt" VALUE_WIDTH="162 pt"/>
637665
<attribute NAME="menuTitleKey" VALUE="addons.${name}.getMenuCommand"/>
638666
<attribute NAME="menuLocation" VALUE="${addonsMenu}/addons.${name}"/>
639667
<attribute NAME="executionMode" VALUE="on_single_node"/>
@@ -645,7 +673,7 @@ For each menu item with an icon add an attribute with the icon key (use develope
645673
<attribute NAME="execute_scripts_without_network_restriction" VALUE="false"/>
646674
</node>
647675
<node TEXT="showTutorialsFromActiveMap.groovy" ID="ID_484672073">
648-
<attribute_layout NAME_WIDTH="209.24999 pt" VALUE_WIDTH="209.99999 pt"/>
676+
<attribute_layout NAME_WIDTH="204.74999 pt" VALUE_WIDTH="205.49999 pt"/>
649677
<attribute NAME="menuTitleKey" VALUE="addons.${name}.showTutorialsFromActiveMap"/>
650678
<attribute NAME="menuLocation" VALUE="${addonsMenu}/addons.${name}"/>
651679
<attribute NAME="executionMode" VALUE="on_single_node"/>
@@ -657,7 +685,7 @@ For each menu item with an icon add an attribute with the icon key (use develope
657685
<attribute NAME="execute_scripts_without_network_restriction" VALUE="true"/>
658686
</node>
659687
<node TEXT="createNewTutorialMindMap.groovy" ID="ID_1471194194">
660-
<attribute_layout NAME_WIDTH="209.24999 pt" VALUE_WIDTH="201.74999 pt"/>
688+
<attribute_layout NAME_WIDTH="204.74999 pt" VALUE_WIDTH="197.24999 pt"/>
661689
<attribute NAME="menuTitleKey" VALUE="addons.${name}.createNewTutorialMindMap"/>
662690
<attribute NAME="menuLocation" VALUE="${addonsMenu}/addons.${name}"/>
663691
<attribute NAME="executionMode" VALUE="on_single_node"/>
@@ -668,6 +696,30 @@ For each menu item with an icon add an attribute with the icon key (use develope
668696
<attribute NAME="execute_scripts_without_exec_restriction" VALUE="false"/>
669697
<attribute NAME="execute_scripts_without_network_restriction" VALUE="false"/>
670698
</node>
699+
<node TEXT="importToMStyles.groovy" ID="ID_1858810414">
700+
<attribute_layout NAME_WIDTH="204.74999 pt" VALUE_WIDTH="154.5 pt"/>
701+
<attribute NAME="menuTitleKey" VALUE="addons.${name}.importToMStyles"/>
702+
<attribute NAME="menuLocation" VALUE="${addonsMenu}/addons.${name}"/>
703+
<attribute NAME="executionMode" VALUE="on_single_node"/>
704+
<attribute NAME="keyboardShortcut" VALUE=""/>
705+
<attribute NAME="execute_scripts_without_asking" VALUE="true"/>
706+
<attribute NAME="execute_scripts_without_file_restriction" VALUE="true"/>
707+
<attribute NAME="execute_scripts_without_write_restriction" VALUE="false"/>
708+
<attribute NAME="execute_scripts_without_exec_restriction" VALUE="false"/>
709+
<attribute NAME="execute_scripts_without_network_restriction" VALUE="false"/>
710+
</node>
711+
<node TEXT="openTutorialPageFromLink.groovy" ID="ID_1316819334">
712+
<attribute_layout NAME_WIDTH="204.74999 pt" VALUE_WIDTH="193.49999 pt"/>
713+
<attribute NAME="menuTitleKey" VALUE="addons.${name}.openTutorialPageFromLink"/>
714+
<attribute NAME="menuLocation" VALUE="${addonsMenu}/addons.${name}"/>
715+
<attribute NAME="executionMode" VALUE="on_single_node"/>
716+
<attribute NAME="keyboardShortcut" VALUE=""/>
717+
<attribute NAME="execute_scripts_without_asking" VALUE="true"/>
718+
<attribute NAME="execute_scripts_without_file_restriction" VALUE="true"/>
719+
<attribute NAME="execute_scripts_without_write_restriction" VALUE="false"/>
720+
<attribute NAME="execute_scripts_without_exec_restriction" VALUE="false"/>
721+
<attribute NAME="execute_scripts_without_network_restriction" VALUE="false"/>
722+
</node>
671723
</node>
672724
<node TEXT="lib" POSITION="right" ID="ID_1814812956"><richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
673725
<html>

Tutorial-o-Matic/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ dependencies {
4141
implementation name : 'freeplanelauncher'
4242
implementation name : 'freeplaneviewer'
4343
implementation group: 'org.freeplane.core', name: 'freeplaneeditor', version:"+"
44-
implementation group: 'org.freeplane.script', name: 'plugin', version: '+'
44+
implementation group: 'org.freeplane.script', name: 'plugin', version: '+'
4545
implementation name : 'markedj', version: '+' //<---- para markedj
4646
implementation name : 'jsoup' , version: '+' //<---- para jsoup
4747
//Freeplane now comes with groovy 3.0.8

Tutorial-o-Matic/history.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* Added command: "Show tutorials from active map"
1111
* Added command: "Create new tutorial mind map"
1212
* addGroovyPane method updated
13+
* Added Tutorial-o-Matic How to
1314
* Added command "import Tutorial-o-Matic Styles"
1415
* Added command "Open tutorial page from link"
1516

Tutorial-o-Matic/translations/en.properties

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
#Fri Mar 11 20:49:48 CLST 2022
1+
#Sun Mar 20 22:18:47 CLST 2022
22
addons.${name}.createNewTutorialMindMap=Create new tutorial mind map
3-
addons.${name}.ActionInstruction1=<html>In submenu <b>{0}</b> <br>click on <b>{1}</b></html>
43
addons.${name}=Tutorial-o-Matic
4+
addons.${name}.ToMDemo=Tutorial-o-Matic Demo
5+
addons.${name}.ToMTutorial=Tutorial-o-Matic How to
6+
addons.${name}.importToMStyles=Import Tutorial-o-Matic Styles
7+
addons.${name}.executeTutorial=execute Demo tutorial
8+
addons.${name}.ActionInstruction1=<html>In submenu <b>{0}</b> <br>click on <b>{1}</b></html>
9+
addons.${name}.openTutorialPageFromLink=Open tutorial page from link
510
addons.${name}.ActionInstruction2=<html>You can also use de keyboard shortcut <b>{0}</b> for this command</html>
611
addons.${name}.openDemoMap=open Demo map
712
addons.${name}.getMenuCommand=Get menu command
813
addons.${name}.showTutorialsFromActiveMap=Show tutorials from active map
9-
addons.${name}.ToMDemo=Tutorial-o-Matic Demo
10-
addons.${name}.executeTutorial=execute Demo tutorial
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Fri Mar 11 20:49:48 CLST 2022
1+
#Sun Mar 20 22:18:47 CLST 2022
22
addons.${name}.createNewTutorialMindMap=Crear nuevo mapa para tutoriales
33
addons.${name}.ActionInstruction1=<html>En submenu <b>{0}</b> <br>has click en <b>{1}</b></html>
44
addons.${name}=Tutorial-o-Matic
@@ -7,4 +7,6 @@ addons.${name}.openDemoMap=abrir mapa demo
77
addons.${name}.getMenuCommand=Obtener comando desde el menú
88
addons.${name}.showTutorialsFromActiveMap=Mostrar tutoriales de mapa activo
99
addons.${name}.ToMDemo=Tutorial-o-Matic Demo
10+
addons.${name}.ToMTutorial=Como usar Tutorial-o-Matic
11+
addons.${name}.importToMStyles=Importar estilos Tutorial-o-Matic
1012
addons.${name}.executeTutorial=ejecutar Demo tutorial

0 commit comments

Comments
 (0)