Skip to content

Commit bfeb1e2

Browse files
committed
WIP
1 parent d48de0a commit bfeb1e2

File tree

3 files changed

+1837
-75
lines changed

3 files changed

+1837
-75
lines changed

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

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -288,16 +288,13 @@ For each menu item with an icon add an attribute with the icon key (use develope
288288
</body>
289289
</html>
290290
</richcontent>
291-
<attribute_layout NAME_WIDTH="42.75 pt" VALUE_WIDTH="207.74999 pt"/>
291+
<attribute_layout NAME_WIDTH="42.75 pt" VALUE_WIDTH="295.49999 pt"/>
292292
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}.script.xml"/>
293293
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}/lib/Tutorial-o-Matic.jar"/>
294294
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}/lib/markedj-1.0.16.jar"/>
295295
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}/lib/jsoup-1.10.2.jar"/>
296-
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}/scripts/executeTutorial.groovy"/>
297296
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}/scripts/openDemoMap.groovy"/>
298-
<attribute NAME="delete" VALUE="${installationbase}/doc/Tutorial-o-Matic/Tutorial Sample.mm"/>
299297
<attribute NAME="delete" VALUE="${installationbase}/addons/${name}/scripts/ToMDemo.groovy"/>
300-
<attribute NAME="delete" VALUE="${installationbase}/doc/Tutorial-o-Matic/ExersizingMap.mm"/>
301298
<attribute NAME="delete" VALUE="${installationbase}/doc/Tutorial-o-Matic/ExercisingMap.mm"/>
302299
<attribute NAME="delete" VALUE="${installationbase}/doc/Tutorial-o-Matic/SimpleTutorialSample.mm"/>
303300
</node>
@@ -576,8 +573,7 @@ For each menu item with an icon add an attribute with the icon key (use develope
576573
some nodes to build AddOn and test changes easily and fast
577574
</p>
578575
</body>
579-
</html>
580-
</richcontent>
576+
</html></richcontent>
581577
<richcontent CONTENT-TYPE="xml/" TYPE="DETAILS">
582578
<html>
583579
<head>
@@ -588,8 +584,7 @@ For each menu item with an icon add an attribute with the icon key (use develope
588584
Edo
589585
</p>
590586
</body>
591-
</html>
592-
</richcontent>
587+
</html></richcontent>
593588
<node TEXT="Build add-on" ID="ID_1016684737" LINK="menuitem:_addons.devtools.checkAddOn_on_single_node">
594589
<icon BUILTIN="emoji-1F527"/>
595590
</node>
@@ -606,10 +601,14 @@ For each menu item with an icon add an attribute with the icon key (use develope
606601
<p>
607602
.groovy
608603
</p>
604+
<p>
605+
abre tutorial indicado en primer nodo hijo
606+
</p>
609607
</body>
610608
</html></richcontent>
611609
<attribute_layout VALUE_WIDTH="115.5 pt"/>
612-
<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;"/>
610+
<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;"/>
611+
<node TEXT="SimpleTutorialSample.mm" ID="ID_1123728779"/>
613612
<node TEXT="Tutorial Sample.mm" ID="ID_1495047992"/>
614613
</node>
615614
</node>

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

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +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 -->
3-
<node TEXT="This is your exersizing map" LOCALIZED_STYLE_REF="AutomaticLayout.level.root" FOLDED="false" ID="Freemind_Link_1513112588" CREATED="1153430895318" MODIFIED="1636495339863">
4-
<hook NAME="accessories/plugins/AutomaticLayout.properties" VALUE="ALL"/>
5-
<hook NAME="MapStyle" background="#ffffff">
6-
<properties fit_to_viewport="false" show_icon_for_attributes="true" show_note_icons="true" edgeColorConfiguration="#808080ff,#ff0000ff,#0000ffff,#00ff00ff,#ff00ffff,#00ffffff,#7c0000ff,#00007cff,#007c00ff,#7c007cff,#007c7cff,#7c7c00ff" associatedTemplateLocation="template:/light_super_hero_template.mm"/>
3+
<node TEXT="This is your exersizing map" LOCALIZED_STYLE_REF="AutomaticLayout.level.root" FOLDED="false" ID="Freemind_Link_1513112588"><hook NAME="MapStyle" background="#ffffff">
4+
<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="template:/light_super_hero_template.mm" fit_to_viewport="false" save_modification_times="false" save_last_visited_node="default" show_note_icons="true"/>
75

86
<map_styles>
97
<stylenode LOCALIZED_TEXT="styles.root_node" STYLE="oval" UNIFORM_SHAPE="true" VGAP_QUANTITY="24 pt">
@@ -91,8 +89,6 @@
9189
Please modify it without hesitation
9290
</p>
9391
</body>
94-
</html>
95-
</richcontent>
96-
<node TEXT="Hi" POSITION="right" ID="ID_1125563606" CREATED="1636494152114" MODIFIED="1636495357401"/>
92+
</html></richcontent>
9793
</node>
9894
</map>

0 commit comments

Comments
 (0)