Skip to content

Commit 51922db

Browse files
committed
Update Tutorial-o-Matic.mm
1 parent f5cba43 commit 51922db

File tree

1 file changed

+18
-29
lines changed

1 file changed

+18
-29
lines changed

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

Lines changed: 18 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<map version="freeplane 1.9.8">
1+
<map version="freeplane 1.9.13">
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"/>
@@ -42,10 +42,9 @@
4242
</li>
4343
</ul>
4444
</body>
45-
</html>
46-
</richcontent>
45+
</html></richcontent>
4746
<hook NAME="MapStyle" background="#f9f9f8">
48-
<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"/>
47+
<properties edgeColorConfiguration="#808080ff,#ff0000ff,#0000ffff,#00ff00ff,#ff00ffff,#00ffffff,#7c0000ff,#00007cff,#007c00ff,#7c007cff,#007c7cff,#7c7c00ff" show_icon_for_attributes="true" mapUsesOwnSaveOptions="true" save_modification_times="false" save_last_visited_node="default" associatedTemplateLocation="file:/C:/Users/Edo/Documents/GitHub/Freeplane_My-Menu-Inator/Menu-o-Matic/Menu-o-Matic.mm" show_note_icons="true" save_folding="save_folding_if_map_is_changed" fit_to_viewport="false"/>
4948

5049
<map_styles>
5150
<stylenode LOCALIZED_TEXT="styles.root_node" ID="ID_118736178" STYLE="oval" UNIFORM_SHAPE="true" VGAP_QUANTITY="24 pt">
@@ -148,8 +147,7 @@
148147
To translate the description you have to define a translation for the key 'addons.${name}.description'.
149148
</p>
150149
</body>
151-
</html>
152-
</richcontent>
150+
</html></richcontent>
153151
<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"/>
154152
</node>
155153
<node TEXT="changes" POSITION="left" ID="ID_461119253">
@@ -164,8 +162,7 @@
164162
Change log of this add-on: append one node for each noteworthy version and put the details for each version into a child node.
165163
</p>
166164
</body>
167-
</html>
168-
</richcontent>
165+
</html></richcontent>
169166
<node TEXT="v0.0.1" FOLDED="true" ID="ID_1147464075">
170167
<node TEXT="Demo version" ID="ID_1739689712"/>
171168
</node>
@@ -176,7 +173,7 @@
176173
<node TEXT="- better 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&#xa;- added &apos;inspect tutorial map&apos; functionality" ID="ID_1550125378"/>
177174
</node>
178175
<node TEXT="v0.0.4" ID="ID_1654795865">
179-
<node TEXT="- corrected link to version.properties&#xa;- information of pasted nodes now is saved in each map for later exersizes and multiple exercizing maps&#xa;- added &apos;go back&apos; when using &apos;GOTO&apos; panes&#xa;- added &apos;show node from map&apos;&#xa;- added &apos;Show Tutorials&apos; in tutorial&apos;s last page&#xa;- added markedj.Options for Markdown" ID="ID_312985717"/>
176+
<node TEXT="- corrected link to version.properties&#xa;- information of pasted nodes now is saved in each map for later exercises and multiple exercising maps&#xa;- added &apos;go back&apos; when using &apos;GOTO&apos; panes&#xa;- added &apos;show node from map&apos;&#xa;- added &apos;Show Tutorials&apos; in tutorial&apos;s last page&#xa;- added markedj.Options for Markdown" ID="ID_312985717"/>
180177
</node>
181178
</node>
182179
<node TEXT="license" FOLDED="true" POSITION="left" ID="ID_624388795">
@@ -197,8 +194,7 @@
197194
The License text has to be entered as a child of the <i>'license'</i>&nbsp;node, either as plain text or as HTML.
198195
</p>
199196
</body>
200-
</html>
201-
</richcontent>
197+
</html></richcontent>
202198
<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"/>
203199
</node>
204200
<node TEXT="preferences.xml" POSITION="left" ID="ID_1967714695">
@@ -216,8 +212,7 @@
216212
<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>
217213
</p>
218214
</body>
219-
</html>
220-
</richcontent>
215+
</html></richcontent>
221216
</node>
222217
<node TEXT="default.properties" POSITION="left" ID="ID_1398497950">
223218
<edge COLOR="#00ffff"/>
@@ -239,8 +234,7 @@ For each menu item with an icon add an attribute with the icon key (use develope
239234
</li>
240235
</ul>
241236
</body>
242-
</html>
243-
</richcontent>
237+
</html></richcontent>
244238
</node>
245239
<node TEXT="translations" POSITION="left" ID="ID_546877695">
246240
<edge COLOR="#7c0000"/>
@@ -265,8 +259,7 @@ For each menu item with an icon add an attribute with the icon key (use develope
265259
</li>
266260
</ul>
267261
</body>
268-
</html>
269-
</richcontent>
262+
</html></richcontent>
270263
<node TEXT="en" ID="ID_1998059292">
271264
<attribute_layout NAME_WIDTH="162 pt" VALUE_WIDTH="281.24999 pt"/>
272265
<attribute NAME="addons.${name}" VALUE="Tutorial-o-Matic"/>
@@ -289,8 +282,7 @@ For each menu item with an icon add an attribute with the icon key (use develope
289282
List of files and/or directories to remove on uninstall
290283
</p>
291284
</body>
292-
</html>
293-
</richcontent>
285+
</html></richcontent>
294286
<attribute_layout NAME_WIDTH="42.75 pt" VALUE_WIDTH="295.49999 pt"/>
295287
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}.script.xml"/>
296288
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}/lib/Tutorial-o-Matic.jar"/>
@@ -421,8 +413,7 @@ For each menu item with an icon add an attribute with the icon key (use develope
421413
&nbsp;&nbsp;- In any case set execute_scripts_without_asking to true unless you want to annoy users.
422414
</p>
423415
</body>
424-
</html>
425-
</richcontent>
416+
</html></richcontent>
426417
<node TEXT="openDemoMap.groovy" ID="ID_1629939217">
427418
<attribute_layout NAME_WIDTH="200.24999 pt" VALUE_WIDTH="200.24999 pt"/>
428419
<attribute NAME="menuTitleKey" VALUE="addons.${name}.openDemoMap"/>
@@ -484,8 +475,7 @@ For each menu item with an icon add an attribute with the icon key (use develope
484475
&nbsp;- The files will be processed in the sequence as seen in the map.
485476
</p>
486477
</body>
487-
</html>
488-
</richcontent>
478+
</html></richcontent>
489479
<node TEXT="Tutorial-o-Matic.jar" ID="ID_1864463328"/>
490480
<node TEXT="markedj-1.0.16.jar" ID="ID_1060333872"/>
491481
<node TEXT="jsoup-1.10.2.jar" ID="ID_1151792763"/>
@@ -526,8 +516,7 @@ For each menu item with an icon add an attribute with the icon key (use develope
526516
&nbsp;- The files will be processed in the sequence as seen in the map.
527517
</p>
528518
</body>
529-
</html>
530-
</richcontent>
519+
</html></richcontent>
531520
<node TEXT="doc" ID="ID_281158802"/>
532521
<node TEXT="icons" ID="ID_211861022"/>
533522
<node TEXT="templates" ID="ID_553385296"/>
@@ -564,8 +553,7 @@ For each menu item with an icon add an attribute with the icon key (use develope
564553
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.
565554
</p>
566555
</body>
567-
</html>
568-
</richcontent>
556+
</html></richcontent>
569557
<node TEXT="tutorialOMatic.svg" ID="ID_863225553"/>
570558
<node TEXT="tutorialOMatic-icon.svg" ID="ID_1901205001"/>
571559
<node TEXT="tutorialOMatic-screenshot-1.png" ID="ID_791135029"/>
@@ -611,10 +599,11 @@ For each menu item with an icon add an attribute with the icon key (use develope
611599
.groovy
612600
</p>
613601
<p>
614-
abre tutorial indicado en primer nodo hijo
602+
opens tutorial defined in first child node
615603
</p>
616604
</body>
617-
</html></richcontent>
605+
</html>
606+
</richcontent>
618607
<attribute_layout VALUE_WIDTH="115.5 pt"/>
619608
<attribute NAME="script1" VALUE="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;"/>
620609
<node TEXT="SimpleTutorialSample.mm" ID="ID_1123728779"/>

0 commit comments

Comments
 (0)