mirror of https://github.com/apache/jmeter.git
Bug 58674 - module controller : it should not be possible to select more than one node in the tree
#resolve #31 Bugzilla Id: 58674 git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1717519 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7ecd8b10ec
commit
5a1e12f23f
|
|
@ -45,6 +45,7 @@ import javax.swing.tree.DefaultTreeCellRenderer;
|
|||
import javax.swing.tree.DefaultTreeModel;
|
||||
import javax.swing.tree.TreeNode;
|
||||
import javax.swing.tree.TreePath;
|
||||
import javax.swing.tree.TreeSelectionModel;
|
||||
|
||||
import org.apache.jmeter.control.Controller;
|
||||
import org.apache.jmeter.control.ModuleController;
|
||||
|
|
@ -111,7 +112,8 @@ public class ModuleControllerGui extends AbstractControllerGui implements Action
|
|||
moduleToRunTreeModel = new DefaultTreeModel(new DefaultMutableTreeNode());
|
||||
moduleToRunTreeNodes = new JTree(moduleToRunTreeModel);
|
||||
moduleToRunTreeNodes.setCellRenderer(new ModuleControllerCellRenderer());
|
||||
|
||||
moduleToRunTreeNodes.getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION);
|
||||
|
||||
ImageIcon image = JMeterUtils.getImage("warning.png");
|
||||
warningLabel = new JLabel("", image, SwingConstants.LEFT); // $NON-NLS-1$
|
||||
warningLabel.setForeground(Color.RED);
|
||||
|
|
|
|||
|
|
@ -103,6 +103,7 @@ Summary
|
|||
<li><bug>58281</bug>RandomOrderController : Improve randomization algorithm performance. Contributed by Graham Russell (jmeter at ham1.co.uk)</li>
|
||||
<li><bug>58675</bug>Module controller error message can easily be missed. Contributed by Benoit Wiart (benoit dot wiart at gmail.com)</li>
|
||||
<li><bug>58673</bug>Module controller : when the target element is disabled the default jtree icons are displayed. Contributed by Benoit Wiart (benoit dot wiart at gmail.com)</li>
|
||||
<li><bug>58674</bug>Module controller : it should not be possible to select more than one node in the tree. Contributed by Benoit Wiart (benoit dot wiart at gmail.com)</li>
|
||||
</ul>
|
||||
|
||||
<h3>Listeners</h3>
|
||||
|
|
|
|||
Loading…
Reference in New Issue