You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by sumit shah <sh...@yahoo-inc.com> on 2006/04/15 00:27:37 UTC

Expanding test tree on open

Dear JMeter-Users:


As a convenience, is it possible to expand the JTree that represents the
test plan by default?  I've inserted the following code to
Load.insertLoadedTree method that accomplishes this

    JTree jTree = GuiPackage.getInstance().getMainFrame().getTree();
    for(int i = 0; i < jTree.getRowCount(); i++) {
      jTree.expandRow(i);
    }

Thanks,
Sumit

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Expanding test tree on open

Posted by sebb <se...@gmail.com>.
Seems like a good idea - except perhaps when the test tree is very large.

I'll see about adding it, but there should probably be a property to
stop it happening, just in case.

S.
On 14/04/06, sumit shah <sh...@yahoo-inc.com> wrote:
> Dear JMeter-Users:
>
>
> As a convenience, is it possible to expand the JTree that represents the
> test plan by default?  I've inserted the following code to
> Load.insertLoadedTree method that accomplishes this
>
>     JTree jTree = GuiPackage.getInstance().getMainFrame().getTree();
>     for(int i = 0; i < jTree.getRowCount(); i++) {
>       jTree.expandRow(i);
>     }
>
> Thanks,
> Sumit
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org