Menu

#42 more hierarchy in xml class components

Next Release
closed
1
2004-07-28
2004-01-29
No

It would be nice if the component class entries in the
xml-file would be saved according to hierarchy, ideally
also with indention.
e.g. instead of

<component class="javax.swing.JTextField"
id="JTextField Instance" index="1" window="Neue
Untertätigkeit" />
<component class="javax.swing.JButton" id="OK"
index="0" text="OK" window="Neue Untertätigkeit" />
<component class="javax.swing.JButton" id="OK 2"
index="0" text="OK" window="Hinweis" />
<component class="javax.swing.JDialog" id="Neue
Untertätigkeit" index="0" title="Neue Untertätigkeit" />
<component class="javax.swing.JDialog" id="Hinweis"
index="1" title="Hinweis" />

maybe like this
<-- Dialog Neue Untertätigkeit-->
<component class="javax.swing.JDialog" id="Neue
Untertätigkeit" index="0" title="Neue Untertätigkeit" />
<component class="javax.swing.JTextField"
id="JTextField Instance" index="1" window="Neue
Untertätigkeit" />
<component class="javax.swing.JButton" id="OK"
index="0" text="OK" window="Neue Untertätigkeit" />

<-- Dialog Hinweis-->
<component class="javax.swing.JDialog" id="Hinweis"
index="1" title="Hinweis" />
<component class="javax.swing.JButton" id="OK 2"
index="0" text="OK" window="Hinweis" />

or even

<-- Dialog Neue Untertätigkeit-->
<component class="javax.swing.JDialog" id="Neue
Untertätigkeit" index="0" title="Neue Untertätigkeit">
<component class="javax.swing.JTextField"
id="JTextField Instance" index="1"/>
<component class="javax.swing.JButton" id="OK"
index="0" text="OK" />
</component>

Discussion

  • Timothy Wall

    Timothy Wall - 2004-07-28

    Logged In: YES
    user_id=54098

    The script editor provides an "export hierarchy" option which indents the
    XML according to hierarchy. Script file component reference lists are not
    intended for browsing.

     
  • Timothy Wall

    Timothy Wall - 2004-07-28
    • priority: 5 --> 1
    • status: open --> closed