You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
updateUrl: URL of the file containing information (version, download url) on the latest version of this add-on. By default: "${homepage}/version.properties"
42
45
</li>
46
+
<li>
47
+
addonsMenu: Defines the addon's main menu location, defaults menu 'main_menu_scripting'.<br/>Use developer tool menuItemInfo to inspect menu location keys.<br/>This attribute is mandatory.<br/>Example: '/menu_bar/myAddons'
48
+
</li>
49
+
<li>
50
+
downloadUrl: URL from the place where the AddOn file will be available for downloading.<br/>By default is the same as the homepage.<br/>You can define a different place or a subfolder of the homepage.<br/>Example: "${homepage}/files/"
To translate the description you have to define a translation for the key 'addons.${name}.description'.
148
158
</p>
149
159
</body>
150
-
</html></richcontent>
160
+
</html>
161
+
</richcontent>
151
162
<nodeTEXT="Tutorial-o-Matic for Freeplane!!
Tutorial-o-Matic is an AddOn for Freeplane that gives the user the possibility to create his/her own tutorials."ID="ID_1642042079"/>
The License text has to be entered as a child of the <i>'license'</i> node, either as plain text or as HTML.
198
211
</p>
199
212
</body>
200
-
</html></richcontent>
213
+
</html>
214
+
</richcontent>
201
215
<node TEXT="MIT License

Copyright (c) 2021 Eduardo Frohlich.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE." ID="ID_444630498"/>
<fontcolor="#000000"face="SansSerif, sans-serif">The child node contains the add-on configuration as an extension to mindmapmodemenu.xml (in Tools->Preferences->Add-ons). </font>
213
227
</p>
214
228
<p>
215
-
<fontcolor="#000000"face="SansSerif, sans-serif">Every property in the configuration should receive a default value in <i>default.properties</i> node.</font>
<fontcolor="#000000"face="SansSerif, sans-serif">Every property in the configuration should receive a default value in <i>default.properties</i> node. </font>
216
233
</p>
234
+
<p>
235
+
236
+
</p>
237
+
<p>
238
+
<b>Automatic way (new since v0.9.30): </b>
239
+
</p>
240
+
<p>
241
+
you can add the preferences parameters as attributes to this node and then, by checking AddOn it will:
242
+
</p>
243
+
<ul>
244
+
<li>
245
+
create the child node containing <fontcolor="#000000"face="SansSerif, sans-serif">the add-on configuration as an extension to mindmapmodemenu.xml</font>
246
+
</li>
247
+
<li>
248
+
add the properties to the <fontcolor="#000000"face="SansSerif, sans-serif"><i>default.properties</i> node</font>
249
+
</li>
250
+
<li>
251
+
add the properties to the <i>translations</i><fontcolor="#000000"face="SansSerif, sans-serif"> node</font>
252
+
</li>
253
+
</ul>
254
+
<p>
255
+
256
+
</p>
257
+
<p>
258
+
<b>How? </b>
259
+
</p>
260
+
<ul>
261
+
<li>
262
+
Add an attribute for each preference.
263
+
</li>
264
+
<li>
265
+
the attribute name should be the preference name.
266
+
</li>
267
+
<li>
268
+
as attribute value you should specify if it is a <b>boolean</b>, <b>string</b> or <b>number</b> preference
269
+
</li>
270
+
<li>
271
+
if it is a <b>number</b> preference. you should add the min and max value for it (separed by comma)
<attributeNAME="addons.${name}.ActionInstruction1"VALUE="<html>In submenu <b>{0}</b><br>click on <b>{1}</b></html>"/>
270
380
<attributeNAME="addons.${name}.ActionInstruction2"VALUE="<html>You can also use de keyboard shortcut <b>{0}</b> for this command</html>"/>
@@ -519,7 +633,8 @@ For each menu item with an icon add an attribute with the icon key (use develope
519
633
- The files will be processed in the sequence as seen in the map.
520
634
</p>
521
635
</body>
522
-
</html></richcontent>
636
+
</html>
637
+
</richcontent>
523
638
<nodeTEXT="doc"ID="ID_281158802"/>
524
639
<nodeTEXT="icons"ID="ID_211861022"/>
525
640
<nodeTEXT="templates"ID="ID_553385296"/>
@@ -556,42 +671,28 @@ For each menu item with an icon add an attribute with the icon key (use develope
556
671
Images can be added automatically by releaseAddOn.groovy or must be uploaded into the map via the script <i>Tools->Scripts->Insert Binary</i> since they have to be (base64) encoded as simple strings.
0 commit comments