Skip to content

Commit 489f411

Browse files
committed
WIP
1 parent 63280dc commit 489f411

2 files changed

Lines changed: 41 additions & 29 deletions

File tree

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

Lines changed: 26 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
</li>
4343
</ul>
4444
</body>
45-
</html></richcontent>
45+
</html>
46+
</richcontent>
4647
<hook NAME="MapStyle" background="#f9f9f8">
4748
<properties mapUsesOwnSaveOptions="true" edgeColorConfiguration="#808080ff,#ff0000ff,#0000ffff,#00ff00ff,#ff00ffff,#00ffffff,#7c0000ff,#00007cff,#007c00ff,#7c007cff,#007c7cff,#7c7c00ff" show_icon_for_attributes="true" save_folding="save_folding_if_map_is_changed" associatedTemplateLocation="file:/C:/Users/Edo/Documents/GitHub/Freeplane_My-Menu-Inator/Menu-o-Matic/Menu-o-Matic.mm" fit_to_viewport="false" save_modification_times="false" save_last_visited_node="default" show_note_icons="true"/>
4849

@@ -147,7 +148,8 @@
147148
To translate the description you have to define a translation for the key 'addons.${name}.description'.
148149
</p>
149150
</body>
150-
</html></richcontent>
151+
</html>
152+
</richcontent>
151153
<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"/>
152154
</node>
153155
<node TEXT="changes" POSITION="left" ID="ID_461119253">
@@ -162,15 +164,16 @@
162164
Change log of this add-on: append one node for each noteworthy version and put the details for each version into a child node.
163165
</p>
164166
</body>
165-
</html></richcontent>
167+
</html>
168+
</richcontent>
166169
<node TEXT="v0.0.1" ID="ID_1147464075">
167170
<node TEXT="Demo version" ID="ID_1739689712"/>
168171
</node>
169172
<node TEXT="v0.0.2" ID="ID_945484309">
170173
<node TEXT="Bugs corrections:&#xa;- License as plain text&#xa;- Updated version of Demo map" ID="ID_621408353"/>
171174
</node>
172175
<node TEXT="v0.0.3" ID="ID_1106405456">
173-
<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" ID="ID_1550125378"/>
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" ID="ID_1550125378"/>
174177
</node>
175178
</node>
176179
<node TEXT="license" FOLDED="true" POSITION="left" ID="ID_624388795">
@@ -191,7 +194,8 @@
191194
The License text has to be entered as a child of the <i>'license'</i>&nbsp;node, either as plain text or as HTML.
192195
</p>
193196
</body>
194-
</html></richcontent>
197+
</html>
198+
</richcontent>
195199
<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"/>
196200
</node>
197201
<node TEXT="preferences.xml" POSITION="left" ID="ID_1967714695">
@@ -209,7 +213,8 @@
209213
<font color="#000000" face="SansSerif, sans-serif">Every property in the configuration should receive a default value in <i>default.properties</i>&nbsp;node.</font>
210214
</p>
211215
</body>
212-
</html></richcontent>
216+
</html>
217+
</richcontent>
213218
</node>
214219
<node TEXT="default.properties" POSITION="left" ID="ID_1398497950">
215220
<edge COLOR="#00ffff"/>
@@ -231,7 +236,8 @@ For each menu item with an icon add an attribute with the icon key (use develope
231236
</li>
232237
</ul>
233238
</body>
234-
</html></richcontent>
239+
</html>
240+
</richcontent>
235241
</node>
236242
<node TEXT="translations" POSITION="left" ID="ID_546877695">
237243
<edge COLOR="#7c0000"/>
@@ -256,7 +262,8 @@ For each menu item with an icon add an attribute with the icon key (use develope
256262
</li>
257263
</ul>
258264
</body>
259-
</html></richcontent>
265+
</html>
266+
</richcontent>
260267
<node TEXT="en" ID="ID_1998059292">
261268
<attribute_layout NAME_WIDTH="162 pt" VALUE_WIDTH="281.24999 pt"/>
262269
<attribute NAME="addons.${name}" VALUE="Tutorial-o-Matic"/>
@@ -278,7 +285,8 @@ For each menu item with an icon add an attribute with the icon key (use develope
278285
List of files and/or directories to remove on uninstall
279286
</p>
280287
</body>
281-
</html></richcontent>
288+
</html>
289+
</richcontent>
282290
<attribute_layout NAME_WIDTH="42.75 pt" VALUE_WIDTH="207.74999 pt"/>
283291
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}.script.xml"/>
284292
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}/lib/Tutorial-o-Matic.jar"/>
@@ -405,7 +413,8 @@ For each menu item with an icon add an attribute with the icon key (use develope
405413
&nbsp;&nbsp;- In any case set execute_scripts_without_asking to true unless you want to annoy users.
406414
</p>
407415
</body>
408-
</html></richcontent>
416+
</html>
417+
</richcontent>
409418
<node TEXT="executeTutorial.groovy" ID="ID_420702224">
410419
<attribute_layout NAME_WIDTH="200.24999 pt" VALUE_WIDTH="200.24999 pt"/>
411420
<attribute NAME="menuTitleKey" VALUE="addons.${name}.executeTutorial"/>
@@ -467,12 +476,13 @@ For each menu item with an icon add an attribute with the icon key (use develope
467476
&nbsp;- The files will be processed in the sequence as seen in the map.
468477
</p>
469478
</body>
470-
</html></richcontent>
479+
</html>
480+
</richcontent>
471481
<node TEXT="Tutorial-o-Matic.jar" ID="ID_1864463328"/>
472482
<node TEXT="markedj-1.0.16.jar" ID="ID_1060333872"/>
473483
<node TEXT="jsoup-1.10.2.jar" ID="ID_1151792763"/>
474484
</node>
475-
<node TEXT="zips" POSITION="right" ID="ID_1623122610">
485+
<node TEXT="zips" POSITION="right" ID="ID_1623122610" VGAP_QUANTITY="2 px">
476486
<edge COLOR="#007c7c"/>
477487
<richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
478488
<html>
@@ -508,7 +518,8 @@ For each menu item with an icon add an attribute with the icon key (use develope
508518
&nbsp;- The files will be processed in the sequence as seen in the map.
509519
</p>
510520
</body>
511-
</html></richcontent>
521+
</html>
522+
</richcontent>
512523
<node TEXT="doc" ID="ID_281158802"/>
513524
<node TEXT="icons" ID="ID_211861022"/>
514525
<node TEXT="templates" ID="ID_553385296"/>
@@ -545,7 +556,8 @@ For each menu item with an icon add an attribute with the icon key (use develope
545556
Images can be added automatically by releaseAddOn.groovy or must be uploaded into the map via the script <i>Tools-&gt;Scripts-&gt;Insert Binary</i>&nbsp;since they have to be (base64) encoded as simple strings.
546557
</p>
547558
</body>
548-
</html></richcontent>
559+
</html>
560+
</richcontent>
549561
</node>
550562
<node TEXT="DevTools - MoM" POSITION="right" ID="ID_989188638">
551563
<edge COLOR="#ff0000"/>

Tutorial-o-Matic/zips/doc/Tutorial-o-Matic/Tutorial Sample.mm

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<map version="freeplane 1.9.8">
22
<!--To view this file, download free mind mapping software Freeplane from https://www.freeplane.org -->
33
<node TEXT="Tutorial Sample" FOLDED="false" ID="ID_452131666" STYLE="oval">
4-
<font SIZE="18"/>
4+
<font NAME="SansSerif" SIZE="18"/>
55
<hook NAME="MapStyle">
66
<properties mapUsesOwnSaveOptions="true" save_last_visited_node="default" save_modification_times="false" show_icon_for_attributes="true" fit_to_viewport="false" show_note_icons="true" edgeColorConfiguration="#808080ff,#ff0000ff,#0000ffff,#00ff00ff,#ff00ffff,#00ffffff,#7c0000ff,#00007cff,#007c00ff,#7c007cff,#007c7cff,#7c7c00ff" save_folding="default"/>
77

@@ -92,6 +92,7 @@
9292
</map_styles>
9393
</hook>
9494
<node TEXT="demo tutorial" STYLE_REF="ToM-Tutorial" POSITION="right" ID="ID_8892147">
95+
<font NAME="SansSerif"/>
9596
<node TEXT="Greetings" ID="ID_1062081666"><richcontent CONTENT-TYPE="xml/" TYPE="DETAILS">
9697
<html>
9798
<head>
@@ -428,8 +429,7 @@
428429
Here are some example on how you can apply some menu actions on the selected nodes:
429430
</p>
430431
</body>
431-
</html>
432-
</richcontent>
432+
</html></richcontent>
433433
</node>
434434
</node>
435435
<node TEXT="example with menu" STYLE_REF="ToM_menuAction" ID="ID_1636577936">
@@ -445,8 +445,7 @@
445445
This example shows some menu actions applied using the menus
446446
</p>
447447
</body>
448-
</html>
449-
</richcontent>
448+
</html></richcontent>
450449
<node TEXT="New child node" ID="ID_621052079" LINK="menuitem:_NewChildAction"/>
451450
<node TEXT="I am happy" ID="ID_105632108" LINK="menuitem:_IconAction.ksmiletris"/>
452451
</node>
@@ -463,8 +462,7 @@
463462
This example shows some actions applied using hot Keys (or the menus commands)
464463
</p>
465464
</body>
466-
</html>
467-
</richcontent>
465+
</html></richcontent>
468466
<node TEXT="Bold" ID="ID_960114216" LINK="menuitem:_BoldAction"/>
469467
<node TEXT="Filter toolbar" ID="ID_566550762" LINK="menuitem:_ShowFilterToolbarAction"/>
470468
<node TEXT="Map overview" ID="ID_929348152" LINK="menuitem:_ToggleMapOverviewAction"/>
@@ -481,12 +479,12 @@ This example shows some actions applied using hot Keys (or the menus commands)
481479
This example shows some actions applied without showing any message (muted)
482480
</p>
483481
</body>
484-
</html>
485-
</richcontent>
482+
</html></richcontent>
486483
<node TEXT="Map overview" ID="ID_1163331539" LINK="menuitem:_ToggleMapOverviewAction"/>
487484
</node>
488485
</node>
489486
<node TEXT="example scripts" ID="ID_951603887">
487+
<font NAME="SansSerif"/>
490488
<node TEXT="Executing Scripts on selected nodes" STYLE_REF="ToM_newPage" ID="ID_1823886459"/>
491489
<node TEXT="text" STYLE_REF="ToM_note" ID="ID_1988369690">
492490
<node TEXT="execute actions" ID="ID_501440926"><richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
@@ -499,8 +497,7 @@ This example shows some actions applied without showing any message (muted)
499497
Here are some example on how you can apply some scripts on the selected node:
500498
</p>
501499
</body>
502-
</html>
503-
</richcontent>
500+
</html></richcontent>
504501
</node>
505502
</node>
506503
<node TEXT="script" STYLE_REF="ToM_groovy" ID="ID_1613048778">
@@ -670,8 +667,7 @@ This example shows some actions applied without showing any message (muted)
670667
}
671668
</p>
672669
</body>
673-
</html>
674-
</richcontent>
670+
</html></richcontent>
675671
<richcontent CONTENT-TYPE="xml/" TYPE="DETAILS">
676672
<html>
677673
<head>
@@ -682,8 +678,7 @@ This example shows some actions applied without showing any message (muted)
682678
.groovy
683679
</p>
684680
</body>
685-
</html>
686-
</richcontent>
681+
</html></richcontent>
687682
</node>
688683
<node TEXT="ejemplo" ID="ID_464031118"/>
689684
<node TEXT="eduardo" ID="ID_1278090560"/>
@@ -812,6 +807,7 @@ This example shows some actions applied without showing any message (muted)
812807

813808
### Some examples with &quot;adding icons&quot; actions:</text>
814809
</richcontent>
810+
<font NAME="SansSerif"/>
815811
</node>
816812
</node>
817813
<node TEXT="show menu commands" STYLE_REF="ToM_showMenu" ID="ID_1873024763">
@@ -891,6 +887,7 @@ This example shows some actions applied without showing any message (muted)
891887
</node>
892888
</node>
893889
<node TEXT="ToM Builder" STYLE_REF="ToM-Tutorial" FOLDED="true" POSITION="right" ID="ID_815218670">
890+
<font NAME="SansSerif"/>
894891
<node TEXT="Bienvenida" ID="ID_1556820541">
895892
<node TEXT="Tutorial-o-Matic Builder" STYLE_REF="ToM_newPage" ID="ID_1622725650"/>
896893
<node TEXT="Introduction" STYLE_REF="ToM_note" ID="ID_1952124688">
@@ -996,5 +993,8 @@ This example shows some actions applied without showing any message (muted)
996993
</node>
997994
</node>
998995
</node>
996+
<node TEXT="otro vacío" STYLE_REF="ToM-Tutorial" POSITION="right" ID="ID_346385320">
997+
<font NAME="SansSerif"/>
998+
</node>
999999
</node>
10001000
</map>

0 commit comments

Comments
 (0)