Skip to content

Commit dd03c89

Browse files
committed
WIP
1 parent 5291df9 commit dd03c89

2 files changed

Lines changed: 184 additions & 250 deletions

File tree

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

Lines changed: 71 additions & 44 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" LINK="https://github.com/EdoFro/Freeplane_Tutorial_AddOn" BACKGROUND_COLOR="#97c7dc">
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">
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">
133+
<node TEXT="description" POSITION="left" ID="ID_1678998363" CREATED="1636492385138" MODIFIED="1636495490142">
134134
<edge COLOR="#ff0000"/>
135135
<richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
136136
<html>
@@ -148,10 +148,11 @@
148148
To translate the description you have to define a translation for the key 'addons.${name}.description'.
149149
</p>
150150
</body>
151-
</html></richcontent>
152-
<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"/>
151+
</html>
152+
</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"/>
153154
</node>
154-
<node TEXT="changes" POSITION="left" ID="ID_461119253">
155+
<node TEXT="changes" POSITION="left" ID="ID_461119253" CREATED="1636492385138" MODIFIED="1636495490142">
155156
<edge COLOR="#0000ff"/>
156157
<richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
157158
<html>
@@ -163,18 +164,19 @@
163164
Change log of this add-on: append one node for each noteworthy version and put the details for each version into a child node.
164165
</p>
165166
</body>
166-
</html></richcontent>
167-
<node TEXT="v0.0.1" ID="ID_1147464075">
168-
<node TEXT="Demo version" ID="ID_1739689712"/>
167+
</html>
168+
</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"/>
169171
</node>
170-
<node TEXT="v0.0.2" ID="ID_945484309">
171-
<node TEXT="Bugs corrections:&#xa;- License as plain text&#xa;- Updated version of Demo map" ID="ID_621408353"/>
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"/>
172174
</node>
173-
<node TEXT="v0.0.3" ID="ID_1106405456">
174-
<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"/>
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"/>
175177
</node>
176178
</node>
177-
<node TEXT="license" FOLDED="true" POSITION="left" ID="ID_624388795">
179+
<node TEXT="license" FOLDED="true" POSITION="left" ID="ID_624388795" CREATED="1636492385138" MODIFIED="1636495490142">
178180
<edge COLOR="#00ff00"/>
179181
<richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
180182
<html>
@@ -192,10 +194,11 @@
192194
The License text has to be entered as a child of the <i>'license'</i>&nbsp;node, either as plain text or as HTML.
193195
</p>
194196
</body>
195-
</html></richcontent>
196-
<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"/>
197+
</html>
198+
</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"/>
197200
</node>
198-
<node TEXT="preferences.xml" POSITION="left" ID="ID_1967714695">
201+
<node TEXT="preferences.xml" POSITION="left" ID="ID_1967714695" CREATED="1636492385138" MODIFIED="1636495490158">
199202
<edge COLOR="#ff00ff"/>
200203
<richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
201204
<html>
@@ -210,9 +213,10 @@
210213
<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>
211214
</p>
212215
</body>
213-
</html></richcontent>
216+
</html>
217+
</richcontent>
214218
</node>
215-
<node TEXT="default.properties" POSITION="left" ID="ID_1398497950">
219+
<node TEXT="default.properties" POSITION="left" ID="ID_1398497950" CREATED="1636492385138" MODIFIED="1636495490158">
216220
<edge COLOR="#00ffff"/>
217221
<richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
218222
<html>
@@ -232,9 +236,10 @@ For each menu item with an icon add an attribute with the icon key (use develope
232236
</li>
233237
</ul>
234238
</body>
235-
</html></richcontent>
239+
</html>
240+
</richcontent>
236241
</node>
237-
<node TEXT="translations" POSITION="left" ID="ID_546877695">
242+
<node TEXT="translations" POSITION="left" ID="ID_546877695" CREATED="1636492385138" MODIFIED="1636495490158">
238243
<edge COLOR="#7c0000"/>
239244
<richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
240245
<html>
@@ -257,17 +262,19 @@ For each menu item with an icon add an attribute with the icon key (use develope
257262
</li>
258263
</ul>
259264
</body>
260-
</html></richcontent>
261-
<node TEXT="en" ID="ID_1998059292">
265+
</html>
266+
</richcontent>
267+
<node TEXT="en" ID="ID_1998059292" CREATED="1636492385138" MODIFIED="1636492385138">
262268
<attribute_layout NAME_WIDTH="162 pt" VALUE_WIDTH="281.24999 pt"/>
263269
<attribute NAME="addons.${name}" VALUE="Tutorial-o-Matic"/>
264270
<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;"/>
265271
<attribute NAME="addons.${name}.ActionInstruction2" VALUE="&lt;html&gt;You can also use de keyboard shortcut &lt;b&gt;{0}&lt;/b&gt; for this command&lt;/html&gt;"/>
266272
<attribute NAME="addons.${name}.executeTutorial" VALUE="execute Demo tutorial"/>
267273
<attribute NAME="addons.${name}.openDemoMap" VALUE="open Demo map"/>
274+
<attribute NAME="addons.${name}.ToMDemo" VALUE="Tutorial-o-Matic Demo"/>
268275
</node>
269276
</node>
270-
<node TEXT="deinstall" POSITION="left" ID="ID_378917294">
277+
<node TEXT="deinstall" POSITION="left" ID="ID_378917294" CREATED="1636492385138" MODIFIED="1636496556005">
271278
<edge COLOR="#00007c"/>
272279
<richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
273280
<html>
@@ -279,7 +286,8 @@ For each menu item with an icon add an attribute with the icon key (use develope
279286
List of files and/or directories to remove on uninstall
280287
</p>
281288
</body>
282-
</html></richcontent>
289+
</html>
290+
</richcontent>
283291
<attribute_layout NAME_WIDTH="42.75 pt" VALUE_WIDTH="207.74999 pt"/>
284292
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}.script.xml"/>
285293
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}/lib/Tutorial-o-Matic.jar"/>
@@ -288,8 +296,11 @@ For each menu item with an icon add an attribute with the icon key (use develope
288296
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}/scripts/executeTutorial.groovy"/>
289297
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}/scripts/openDemoMap.groovy"/>
290298
<attribute NAME="delete" VALUE="${installationbase}/doc/Tutorial-o-Matic/Tutorial Sample.mm"/>
299+
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}/scripts/ToMDemo.groovy"/>
300+
<attribute NAME="delete" VALUE="${installationbase}/doc/Tutorial-o-Matic/ExersizingMap.mm"/>
301+
<attribute NAME="delete" VALUE="${installationbase}/doc/Tutorial-o-Matic/ExercisingMap.mm"/>
291302
</node>
292-
<node TEXT="scripts" POSITION="right" ID="ID_1037882722">
303+
<node TEXT="scripts" POSITION="right" ID="ID_1037882722" CREATED="1636492385138" MODIFIED="1636495490174">
293304
<edge COLOR="#007c00"/>
294305
<richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
295306
<html>
@@ -406,8 +417,9 @@ For each menu item with an icon add an attribute with the icon key (use develope
406417
&nbsp;&nbsp;- In any case set execute_scripts_without_asking to true unless you want to annoy users.
407418
</p>
408419
</body>
409-
</html></richcontent>
410-
<node TEXT="executeTutorial.groovy" ID="ID_420702224">
420+
</html>
421+
</richcontent>
422+
<node TEXT="executeTutorial.groovy" ID="ID_420702224" CREATED="1636492385138" MODIFIED="1636492385138">
411423
<attribute_layout NAME_WIDTH="200.24999 pt" VALUE_WIDTH="200.24999 pt"/>
412424
<attribute NAME="menuTitleKey" VALUE="addons.${name}.executeTutorial"/>
413425
<attribute NAME="menuLocation" VALUE="/menu_bar/edoTools/addons.${name}"/>
@@ -419,7 +431,7 @@ For each menu item with an icon add an attribute with the icon key (use develope
419431
<attribute NAME="execute_scripts_without_exec_restriction" VALUE="false"/>
420432
<attribute NAME="execute_scripts_without_network_restriction" VALUE="true"/>
421433
</node>
422-
<node TEXT="openDemoMap.groovy" ID="ID_1629939217">
434+
<node TEXT="openDemoMap.groovy" ID="ID_1629939217" CREATED="1636492385138" MODIFIED="1636492385138">
423435
<attribute_layout NAME_WIDTH="200.24999 pt" VALUE_WIDTH="200.24999 pt"/>
424436
<attribute NAME="menuTitleKey" VALUE="addons.${name}.openDemoMap"/>
425437
<attribute NAME="menuLocation" VALUE="/menu_bar/edoTools/addons.${name}"/>
@@ -431,8 +443,20 @@ For each menu item with an icon add an attribute with the icon key (use develope
431443
<attribute NAME="execute_scripts_without_exec_restriction" VALUE="false"/>
432444
<attribute NAME="execute_scripts_without_network_restriction" VALUE="false"/>
433445
</node>
446+
<node TEXT="ToMDemo.groovy" ID="ID_513310589" CREATED="1636492385138" MODIFIED="1636492385138">
447+
<attribute_layout NAME_WIDTH="200.24999 pt" VALUE_WIDTH="200.24999 pt"/>
448+
<attribute NAME="menuTitleKey" VALUE="addons.${name}.ToMDemo"/>
449+
<attribute NAME="menuLocation" VALUE="/menu_bar/edoTools/addons.${name}"/>
450+
<attribute NAME="executionMode" VALUE="on_single_node"/>
451+
<attribute NAME="keyboardShortcut" VALUE=""/>
452+
<attribute NAME="execute_scripts_without_asking" VALUE="true"/>
453+
<attribute NAME="execute_scripts_without_file_restriction" VALUE="true"/>
454+
<attribute NAME="execute_scripts_without_write_restriction" VALUE="false"/>
455+
<attribute NAME="execute_scripts_without_exec_restriction" VALUE="false"/>
456+
<attribute NAME="execute_scripts_without_network_restriction" VALUE="true"/>
457+
</node>
434458
</node>
435-
<node TEXT="lib" POSITION="right" ID="ID_1814812956">
459+
<node TEXT="lib" POSITION="right" ID="ID_1814812956" CREATED="1636492385138" MODIFIED="1636495490205">
436460
<edge COLOR="#7c007c"/>
437461
<richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
438462
<html>
@@ -468,12 +492,13 @@ For each menu item with an icon add an attribute with the icon key (use develope
468492
&nbsp;- The files will be processed in the sequence as seen in the map.
469493
</p>
470494
</body>
471-
</html></richcontent>
472-
<node TEXT="Tutorial-o-Matic.jar" ID="ID_1864463328"/>
473-
<node TEXT="markedj-1.0.16.jar" ID="ID_1060333872"/>
474-
<node TEXT="jsoup-1.10.2.jar" ID="ID_1151792763"/>
495+
</html>
496+
</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"/>
475500
</node>
476-
<node TEXT="zips" POSITION="right" ID="ID_1623122610" VGAP_QUANTITY="2 px">
501+
<node TEXT="zips" POSITION="right" ID="ID_1623122610" CREATED="1636492385138" MODIFIED="1636495490221" VGAP_QUANTITY="2 px">
477502
<edge COLOR="#007c7c"/>
478503
<richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
479504
<html>
@@ -509,12 +534,13 @@ For each menu item with an icon add an attribute with the icon key (use develope
509534
&nbsp;- The files will be processed in the sequence as seen in the map.
510535
</p>
511536
</body>
512-
</html></richcontent>
513-
<node TEXT="doc" ID="ID_281158802"/>
514-
<node TEXT="icons" ID="ID_211861022"/>
515-
<node TEXT="templates" ID="ID_553385296"/>
537+
</html>
538+
</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"/>
516542
</node>
517-
<node TEXT="images" POSITION="right" ID="ID_1856886559">
543+
<node TEXT="images" POSITION="right" ID="ID_1856886559" CREATED="1636492385138" MODIFIED="1636495490236">
518544
<edge COLOR="#7c7c00"/>
519545
<richcontent TYPE="NOTE" CONTENT-TYPE="xml/">
520546
<html>
@@ -546,17 +572,18 @@ For each menu item with an icon add an attribute with the icon key (use develope
546572
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.
547573
</p>
548574
</body>
549-
</html></richcontent>
575+
</html>
576+
</richcontent>
550577
</node>
551-
<node TEXT="DevTools - MoM" POSITION="right" ID="ID_989188638">
578+
<node TEXT="DevTools - MoM" POSITION="right" ID="ID_989188638" CREATED="1636492385138" MODIFIED="1636492385138">
552579
<edge COLOR="#ff0000"/>
553-
<node TEXT="Build add-on" ID="ID_1016684737" LINK="menuitem:_addons.devtools.checkAddOn_on_single_node">
580+
<node TEXT="Build add-on" ID="ID_1016684737" CREATED="1636492385138" MODIFIED="1636492385138" LINK="menuitem:_addons.devtools.checkAddOn_on_single_node">
554581
<icon BUILTIN="emoji-1F527"/>
555582
</node>
556-
<node TEXT="Package add-on for publication" ID="ID_806418866" LINK="menuitem:_addons.devtools.releaseAddOn_on_single_node">
583+
<node TEXT="Package add-on for publication" ID="ID_806418866" CREATED="1636492385138" MODIFIED="1636492385138" LINK="menuitem:_addons.devtools.releaseAddOn_on_single_node">
557584
<icon BUILTIN="emoji-1F5DC"/>
558585
</node>
559-
<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"/>
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"/>
560587
</node>
561588
</node>
562589
</map>

0 commit comments

Comments
 (0)