Commits

Lynn Rees committed cadc9f6

- for java

Comments (0)

Files changed (5)

scripts/childToDetail.groovy

+c.selecteds.each {
+  it.createChild(it.details.string)
+  it.details = null
+}

scripts/childToNote.groovy

+c.selecteds.each {
+  it.createChild(it.note.string)
+  it.note = null
+}

scripts/detailToChild.groovy

+c.selecteds.each {
+  it.parent.details = it.text
+  it.delete()
+}

scripts/noteToChild.groovy

+c.selecteds.each {
+  it.parent.note = it.text
+  it.delete()
+}
 <map version="freeplane 1.2.0">
 <!--To view this file, download free mind mapping software Freeplane from http://freeplane.sourceforge.net -->
-<node TEXT="wikdNode" FOLDED="false" ID="ID_1723255651" CREATED="1283093380553" MODIFIED="1361572963234" BACKGROUND_COLOR="#97c7dc" LINK="https://bitbucket.org/lcrees/wikdnode/">
+<node TEXT="wikdNode" FOLDED="false" ID="ID_1723255651" CREATED="1283093380553" MODIFIED="1362700059313" BACKGROUND_COLOR="#97c7dc" LINK="https://bitbucket.org/lcrees/wikdnode/">
 <font SIZE="16" BOLD="true" ITALIC="true"/>
 <hook NAME="MapStyle">
     <properties show_icon_for_attributes="true" show_note_icons="true"/>
 <hook NAME="AutomaticEdgeColor" COUNTER="6"/>
 <attribute_layout NAME_WIDTH="103" VALUE_WIDTH="103"/>
 <attribute NAME="name" VALUE="wikdNode"/>
-<attribute NAME="version" VALUE="v0.7.0" OBJECT="org.freeplane.features.format.FormattedObject|v0.7.0|number:decimal:#0.####"/>
+<attribute NAME="version" VALUE="v0.7.5" OBJECT="org.freeplane.features.format.FormattedObject|v0.7.5|number:decimal:#0.####"/>
 <attribute NAME="author" VALUE="L. C. Rees"/>
 <attribute NAME="freeplaneVersionFrom" VALUE="1.2.15"/>
 <attribute NAME="freeplaneVersionTo" VALUE=""/>
 </html>
 </richcontent>
 <hook NAME="FlexibleLayout" VALUE="CHILDREN"/>
-<node TEXT="description" POSITION="left" ID="ID_143630176" CREATED="1357715826843" MODIFIED="1359873140107">
+<node TEXT="description" POSITION="left" ID="ID_143630176" CREATED="1357715826843" MODIFIED="1362698428471">
 <edge COLOR="#ff0000"/>
 <richcontent TYPE="NOTE">
 
 </html>
 </richcontent>
 <attribute_layout NAME_WIDTH="100" VALUE_WIDTH="100"/>
-<node ID="ID_419235551" CREATED="1357715987721" MODIFIED="1361577385819"><richcontent TYPE="NODE">
+<node ID="ID_419235551" CREATED="1357715987721" MODIFIED="1362699867699"><richcontent TYPE="NODE">
 
 <html>
   <head>
       <li>
         convert node children to parent node attributes
       </li>
+      <li>
+        <p>
+          convert parent note to child node
+        </p>
+      </li>
+      <li>
+        <p>
+          convert parent details to child node
+        </p>
+      </li>
+      <li>
+        <p>
+          convert child node to parent details
+        </p>
+      </li>
+      <li>
+        <p>
+          convert child node to parent note
+        </p>
+      </li>
     </ul>
     <p>
       Using the Java sped-up version of wikdNode requires adding <i>&quot;scripts&quot; </i>to the script classpath in Freeplane's preferences.
     </p>
   </body>
 </html>
-
 </richcontent>
 <attribute_layout NAME_WIDTH="100" VALUE_WIDTH="100"/>
 </node>
 </node>
-<node TEXT="changes" POSITION="left" ID="ID_1790870178" CREATED="1357715826877" MODIFIED="1359873140109">
+<node TEXT="changes" POSITION="left" ID="ID_1790870178" CREATED="1357715826877" MODIFIED="1362698428474">
 <edge COLOR="#0000ff"/>
 <richcontent TYPE="NOTE">
 
 <attribute_layout NAME_WIDTH="100" VALUE_WIDTH="100"/>
 </node>
 </node>
+<node TEXT="0.7.5" ID="ID_1941612586" CREATED="1362699668970" MODIFIED="1362699678129">
+<attribute_layout NAME_WIDTH="100" VALUE_WIDTH="100"/>
+<node TEXT="convert parent note to child node" ID="ID_1707943020" CREATED="1362699882172" MODIFIED="1362699882172">
+<attribute_layout NAME_WIDTH="100" VALUE_WIDTH="100"/>
 </node>
-<node TEXT="license" POSITION="left" ID="ID_1348143779" CREATED="1357715826886" MODIFIED="1359873140110">
+<node TEXT="convert parent details to child node" ID="ID_129593823" CREATED="1362699882172" MODIFIED="1362699882172"/>
+<node TEXT="convert child node to parent details" ID="ID_434162471" CREATED="1362699882173" MODIFIED="1362699882173"/>
+<node TEXT="convert child node to parent note" ID="ID_715500628" CREATED="1362699882173" MODIFIED="1362699882173"/>
+</node>
+</node>
+<node TEXT="license" POSITION="left" ID="ID_1348143779" CREATED="1357715826886" MODIFIED="1362698428479">
 <edge COLOR="#00ff00"/>
 <richcontent TYPE="NOTE">
 
 <attribute_layout NAME_WIDTH="100" VALUE_WIDTH="100"/>
 </node>
 </node>
-<node TEXT="preferences.xml" POSITION="left" ID="ID_1772733941" CREATED="1357715826946" MODIFIED="1359873140112">
+<node TEXT="preferences.xml" POSITION="left" ID="ID_1772733941" CREATED="1357715826946" MODIFIED="1362698428482">
 <edge COLOR="#ff00ff"/>
 <richcontent TYPE="NOTE">
 
 <attribute_layout NAME_WIDTH="100" VALUE_WIDTH="100"/>
 </node>
 </node>
-<node TEXT="default.properties" POSITION="left" ID="ID_1954124232" CREATED="1357715826968" MODIFIED="1359873140113">
+<node TEXT="default.properties" POSITION="left" ID="ID_1954124232" CREATED="1357715826968" MODIFIED="1362698428484">
 <edge COLOR="#00ffff"/>
 <richcontent TYPE="NOTE">
 
 <attribute_layout NAME_WIDTH="72" VALUE_WIDTH="72"/>
 <attribute NAME="wikd_first_split" VALUE="false"/>
 </node>
-<node TEXT="translations" POSITION="left" ID="ID_1430168348" CREATED="1357715826977" MODIFIED="1359873140115">
+<node TEXT="translations" POSITION="left" ID="ID_1430168348" CREATED="1357715826977" MODIFIED="1362698428486">
 <edge COLOR="#ffff00"/>
 <richcontent TYPE="NOTE">
 
 </html>
 </richcontent>
 <attribute_layout NAME_WIDTH="100" VALUE_WIDTH="100"/>
-<node TEXT="en" ID="ID_1245393964" CREATED="1357715826986" MODIFIED="1360052539414">
+<node TEXT="en" ID="ID_1245393964" CREATED="1357715826986" MODIFIED="1362700192364">
 <attribute_layout NAME_WIDTH="130" VALUE_WIDTH="246"/>
 <attribute NAME="addons.${name}" VALUE="wikdNode"/>
-<attribute NAME="wikdConvert" VALUE="Convert..."/>
+<attribute NAME="wikdTextConvert" VALUE="Convert text..."/>
+<attribute NAME="wikdConvert" VALUE="Konvertieren"/>
 <attribute NAME="wikdDelete" VALUE="Delete..."/>
 <attribute NAME="wikdJoin" VALUE="Join..."/>
 <attribute NAME="wikdSplit" VALUE="Split..."/>
 <attribute NAME="wikd.replaceParent" VALUE="Child to parent"/>
 <attribute NAME="wikd.childrenToAttrs" VALUE="Child nodes to attributes"/>
 <attribute NAME="wikd.attrsToChildren" VALUE="Attributes to child nodes"/>
+<attribute NAME="wikd.noteToChild" VALUE="Parent note to child"/>
+<attribute NAME="wikd.detailToChild" VALUE="Parent details to child"/>
+<attribute NAME="wikd.childToDetail" VALUE="Child to parent details"/>
+<attribute NAME="wikd.childToNote" VALUE="Child to parent note"/>
 <attribute NAME="wikd.joinPeriod" VALUE="With periods"/>
 <attribute NAME="wikd.joinComma" VALUE="With commas"/>
 <attribute NAME="wikd.joinSpace" VALUE="With spaces"/>
 <attribute NAME="OptionPanel.separator.wikd" VALUE="wikdNode"/>
 <attribute NAME="OptionPanel.wikd_first_split" VALUE="Keep first split as parent"/>
 </node>
-<node TEXT="de" ID="ID_726128733" CREATED="1357715826986" MODIFIED="1360051995660">
+<node TEXT="de" ID="ID_726128733" CREATED="1357715826986" MODIFIED="1362699629534">
 <attribute_layout NAME_WIDTH="130" VALUE_WIDTH="224"/>
 <attribute NAME="addons.${name}" VALUE="wikdNode"/>
+<attribute NAME="wikdTextConvert" VALUE="Konvertieren von Text"/>
 <attribute NAME="wikdConvert" VALUE="Konvertieren"/>
-<attribute NAME="wikdDelete" VALUE="Delete"/>
-<attribute NAME="wikdJoin" VALUE="Join"/>
-<attribute NAME="wikdSplit" VALUE="Join"/>
-<attribute NAME="wikd.capitalize" VALUE="1. Anfangsbuchst. gro&#xdf;"/>
+<attribute NAME="wikdDelete" VALUE="l&#xf6;schen"/>
+<attribute NAME="wikdJoin" VALUE="Beitreten"/>
+<attribute NAME="wikdSplit" VALUE="Gespalten"/>
+<attribute NAME="wikd.capitalize" VALUE="Anfangsbuchst. gro&#xdf;"/>
 <attribute NAME="wikd.capitalizeAll" VALUE="Alle Anfangsbuchst. gro&#xdf;"/>
-<attribute NAME="wikd.upperCase" VALUE="To upper case"/>
-<attribute NAME="wikd.lowerCase" VALUE="To lower case"/>
-<attribute NAME="wikd.makeChild" VALUE="Copy to child"/>
+<attribute NAME="wikd.upperCase" VALUE="In Gro&#xdf;buchstaben"/>
+<attribute NAME="wikd.lowerCase" VALUE="Um Kleinbuchstaben"/>
+<attribute NAME="wikd.makeChild" VALUE="Kopieren Sie auf das Kind"/>
 <attribute NAME="wikd.replaceParent" VALUE="Ersetze Elternknoten"/>
 <attribute NAME="wikd.childrenToAttrs" VALUE="Kinder um die Attribute"/>
 <attribute NAME="wikd.attrsToChildren" VALUE="Attribute f&#xfc;r Kinder"/>
+<attribute NAME="wikd.noteToChild" VALUE="Hinweis auf das Kind"/>
+<attribute NAME="wikd.detailToChild" VALUE="&#xdc;bergeordnetes Details zum Kind"/>
+<attribute NAME="wikd.childToDetail" VALUE="Kind an &#xfc;bergeordnete Details"/>
+<attribute NAME="wikd.childToNote" VALUE="Kind zu Mutter note"/>
 <attribute NAME="wikd.joinPeriod" VALUE="Verbinden mit Punkt"/>
 <attribute NAME="wikd.joinComma" VALUE="Verbinden mit Komma"/>
 <attribute NAME="wikd.joinSpace" VALUE="Verbinden mit Leerzeichen"/>
 <attribute NAME="OptionPanel.wikd_first_split" VALUE="Halten erste Spaltung als Elternknoten"/>
 </node>
 </node>
-<node TEXT="deinstall" POSITION="left" ID="ID_1844997656" CREATED="1357715826998" MODIFIED="1359873140116">
+<node TEXT="deinstall" POSITION="left" ID="ID_1844997656" CREATED="1357715826998" MODIFIED="1362698429691">
 <edge COLOR="#7c0000"/>
 <richcontent TYPE="NOTE">
 
 <attribute NAME="delete" VALUE="${installationbase}/scripts/deleteLinks.groovy"/>
 <attribute NAME="delete" VALUE="${installationbase}/scripts/splitAfterChars.groovy"/>
 <attribute NAME="delete" VALUE="${installationbase}/scripts/splitAfterRegex.groovy"/>
+<attribute NAME="delete" VALUE="${installationbase}/scripts/noteToChild.groovy"/>
+<attribute NAME="delete" VALUE="${installationbase}/scripts/childToDetail.groovy"/>
+<attribute NAME="delete" VALUE="${installationbase}/scripts/detailToChild.groovy"/>
+<attribute NAME="delete" VALUE="${installationbase}/scripts/childToNote.groovy"/>
 </node>
-<node TEXT="scripts" POSITION="right" ID="ID_1324856264" CREATED="1357715827025" MODIFIED="1359873140124">
+<node TEXT="scripts" POSITION="right" ID="ID_1324856264" CREATED="1357715827025" MODIFIED="1362698428498">
 <edge COLOR="#00007c"/>
 <richcontent TYPE="NOTE">
 
 </html>
 </richcontent>
 <attribute_layout NAME_WIDTH="100" VALUE_WIDTH="100"/>
-<node TEXT="capitalize.groovy" ID="ID_1501046977" CREATED="1357794199593" MODIFIED="1358028490172">
+<node TEXT="capitalize.groovy" ID="ID_1501046977" CREATED="1357794199593" MODIFIED="1362698813249">
 <attribute_layout NAME_WIDTH="206" VALUE_WIDTH="206"/>
 <attribute NAME="menuTitleKey" VALUE="wikd.capitalize"/>
-<attribute NAME="menuLocation" VALUE="/menu_bar/edit/wikdConvert"/>
+<attribute NAME="menuLocation" VALUE="/menu_bar/edit/wikdTextConvert"/>
 <attribute NAME="executionMode" VALUE="on_single_node"/>
 <attribute NAME="keyboardShortcut" VALUE="control meta C"/>
 <attribute NAME="execute_scripts_without_asking" VALUE="true"/>
 <attribute NAME="execute_scripts_without_exec_restriction" VALUE="false"/>
 <attribute NAME="execute_scripts_without_network_restriction" VALUE="false"/>
 </node>
-<node TEXT="capitalizeAll.groovy" ID="ID_1766457930" CREATED="1357794199593" MODIFIED="1358028490176">
+<node TEXT="capitalizeAll.groovy" ID="ID_1766457930" CREATED="1357794199593" MODIFIED="1362698816551">
 <attribute_layout NAME_WIDTH="206" VALUE_WIDTH="206"/>
 <attribute NAME="menuTitleKey" VALUE="wikd.capitalizeAll"/>
-<attribute NAME="menuLocation" VALUE="/menu_bar/edit/wikdConvert"/>
+<attribute NAME="menuLocation" VALUE="/menu_bar/edit/wikdTextConvert"/>
 <attribute NAME="executionMode" VALUE="on_single_node"/>
 <attribute NAME="keyboardShortcut" VALUE="control alt C"/>
 <attribute NAME="execute_scripts_without_asking" VALUE="true"/>
 <attribute NAME="execute_scripts_without_exec_restriction" VALUE="false"/>
 <attribute NAME="execute_scripts_without_network_restriction" VALUE="false"/>
 </node>
-<node TEXT="upperCase.groovy" ID="ID_575754475" CREATED="1357794217131" MODIFIED="1358028490179">
+<node TEXT="upperCase.groovy" ID="ID_575754475" CREATED="1357794217131" MODIFIED="1362698829616">
 <attribute_layout NAME_WIDTH="206" VALUE_WIDTH="206"/>
 <attribute NAME="menuTitleKey" VALUE="wikd.upperCase"/>
-<attribute NAME="menuLocation" VALUE="/menu_bar/edit/wikdConvert"/>
+<attribute NAME="menuLocation" VALUE="/menu_bar/edit/wikdTextConvert"/>
 <attribute NAME="executionMode" VALUE="on_single_node"/>
 <attribute NAME="keyboardShortcut" VALUE="control meta U"/>
 <attribute NAME="execute_scripts_without_asking" VALUE="true"/>
 <attribute NAME="execute_scripts_without_exec_restriction" VALUE="false"/>
 <attribute NAME="execute_scripts_without_network_restriction" VALUE="false"/>
 </node>
-<node TEXT="lowerCase.groovy" ID="ID_1207751289" CREATED="1357794244507" MODIFIED="1358028490183">
+<node TEXT="lowerCase.groovy" ID="ID_1207751289" CREATED="1357794244507" MODIFIED="1362698831756">
 <attribute_layout NAME_WIDTH="206" VALUE_WIDTH="206"/>
 <attribute NAME="menuTitleKey" VALUE="wikd.lowerCase"/>
-<attribute NAME="menuLocation" VALUE="/menu_bar/edit/wikdConvert"/>
+<attribute NAME="menuLocation" VALUE="/menu_bar/edit/wikdTextConvert"/>
 <attribute NAME="executionMode" VALUE="on_single_node"/>
 <attribute NAME="keyboardShortcut" VALUE="control meta L"/>
 <attribute NAME="execute_scripts_without_asking" VALUE="true"/>
 <attribute NAME="execute_scripts_without_exec_restriction" VALUE="false"/>
 <attribute NAME="execute_scripts_without_network_restriction" VALUE="false"/>
 </node>
+<node TEXT="noteToChild.groovy" ID="ID_1236612243" CREATED="1362698402250" MODIFIED="1362698539912">
+<attribute_layout NAME_WIDTH="206" VALUE_WIDTH="206"/>
+<attribute NAME="menuTitleKey" VALUE="wikd.noteToChild"/>
+<attribute NAME="menuLocation" VALUE="/menu_bar/edit/wikdConvert"/>
+<attribute NAME="executionMode" VALUE="on_single_node"/>
+<attribute NAME="keyboardShortcut" VALUE=""/>
+<attribute NAME="execute_scripts_without_asking" VALUE="true"/>
+<attribute NAME="execute_scripts_without_file_restriction" VALUE="true"/>
+<attribute NAME="execute_scripts_without_write_restriction" VALUE="false"/>
+<attribute NAME="execute_scripts_without_exec_restriction" VALUE="false"/>
+<attribute NAME="execute_scripts_without_network_restriction" VALUE="false"/>
+</node>
+<node TEXT="detailToChild.groovy" ID="ID_436412664" CREATED="1362698402259" MODIFIED="1362698563646">
+<attribute_layout NAME_WIDTH="206" VALUE_WIDTH="206"/>
+<attribute NAME="menuTitleKey" VALUE="wikd.detailToChild"/>
+<attribute NAME="menuLocation" VALUE="/menu_bar/edit/wikdConvert"/>
+<attribute NAME="executionMode" VALUE="on_single_node"/>
+<attribute NAME="keyboardShortcut" VALUE=""/>
+<attribute NAME="execute_scripts_without_asking" VALUE="true"/>
+<attribute NAME="execute_scripts_without_file_restriction" VALUE="true"/>
+<attribute NAME="execute_scripts_without_write_restriction" VALUE="false"/>
+<attribute NAME="execute_scripts_without_exec_restriction" VALUE="false"/>
+<attribute NAME="execute_scripts_without_network_restriction" VALUE="false"/>
+</node>
+<node TEXT="childToDetail.groovy" ID="ID_1077953010" CREATED="1362698402258" MODIFIED="1362698583406">
+<attribute_layout NAME_WIDTH="206" VALUE_WIDTH="206"/>
+<attribute NAME="menuTitleKey" VALUE="wikd.childToDetail"/>
+<attribute NAME="menuLocation" VALUE="/menu_bar/edit/wikdConvert"/>
+<attribute NAME="executionMode" VALUE="on_single_node"/>
+<attribute NAME="keyboardShortcut" VALUE=""/>
+<attribute NAME="execute_scripts_without_asking" VALUE="true"/>
+<attribute NAME="execute_scripts_without_file_restriction" VALUE="true"/>
+<attribute NAME="execute_scripts_without_write_restriction" VALUE="false"/>
+<attribute NAME="execute_scripts_without_exec_restriction" VALUE="false"/>
+<attribute NAME="execute_scripts_without_network_restriction" VALUE="false"/>
+</node>
+<node TEXT="childToNote.groovy" ID="ID_530481661" CREATED="1362698402259" MODIFIED="1362698631325">
+<attribute_layout NAME_WIDTH="206" VALUE_WIDTH="206"/>
+<attribute NAME="menuTitleKey" VALUE="wikd.childToNote"/>
+<attribute NAME="menuLocation" VALUE="/menu_bar/edit/wikdConvert"/>
+<attribute NAME="executionMode" VALUE="on_single_node"/>
+<attribute NAME="keyboardShortcut" VALUE=""/>
+<attribute NAME="execute_scripts_without_asking" VALUE="true"/>
+<attribute NAME="execute_scripts_without_file_restriction" VALUE="true"/>
+<attribute NAME="execute_scripts_without_write_restriction" VALUE="false"/>
+<attribute NAME="execute_scripts_without_exec_restriction" VALUE="false"/>
+<attribute NAME="execute_scripts_without_network_restriction" VALUE="false"/>
+</node>
 <node TEXT="joinPeriod.groovy" ID="ID_1416066303" CREATED="1357718506311" MODIFIED="1359873017980">
 <attribute_layout NAME_WIDTH="206" VALUE_WIDTH="206"/>
 <attribute NAME="menuTitleKey" VALUE="wikd.joinPeriod"/>
 <attribute NAME="execute_scripts_without_network_restriction" VALUE="false"/>
 </node>
 </node>
-<node TEXT="zips" POSITION="right" ID="ID_269135974" CREATED="1357715827053" MODIFIED="1359873140139">
+<node TEXT="zips" POSITION="right" ID="ID_269135974" CREATED="1357715827053" MODIFIED="1362698428669">
 <edge COLOR="#007c00"/>
 <richcontent TYPE="NOTE">
 
 </node>
 </node>
 </node>
-<node TEXT="images" POSITION="right" ID="ID_112966804" CREATED="1357715827065" MODIFIED="1359873140142">
+<node TEXT="images" POSITION="right" ID="ID_112966804" CREATED="1357715827065" MODIFIED="1362698428673">
 <edge COLOR="#7c007c"/>
 <richcontent TYPE="NOTE">