You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by js...@apache.org on 2005/01/05 23:32:38 UTC
cvs commit: jakarta-jmeter/src/components/org/apache/jmeter/control/gui ModuleControllerGui.java
jsalvata 2005/01/05 14:32:38
Modified: src/components/org/apache/jmeter/control/gui Tag: rel-2_0
ModuleControllerGui.java
Log:
Removing code I "temporarily" commented out one year (minus 14 days) ago.
Revision Changes Path
No revision
No revision
1.16.2.1 +2 -30 jakarta-jmeter/src/components/org/apache/jmeter/control/gui/ModuleControllerGui.java
Index: ModuleControllerGui.java
===================================================================
RCS file: /home/cvs/jakarta-jmeter/src/components/org/apache/jmeter/control/gui/ModuleControllerGui.java,v
retrieving revision 1.16
retrieving revision 1.16.2.1
diff -u -r1.16 -r1.16.2.1
--- ModuleControllerGui.java 5 Mar 2004 01:32:37 -0000 1.16
+++ ModuleControllerGui.java 5 Jan 2005 22:32:38 -0000 1.16.2.1
@@ -142,34 +142,6 @@
nodesModel = new DefaultComboBoxModel();
nodes = new JComboBox(nodesModel);
reinitialize();
-
- /* This listener subscription prevents freeing up the GUI when it's no longer in use
- * (e.g. on locale change)...
- * ... plus I don't think it's really necessary: configure(TestElement) already takes
- * care of reinitializing the target combo when we come back to it. And I can't see how
- * the tree can change in a relevant way without we leaving this GUI.
- * I'll comment it out for the time being:
- * TODO: remove once we're convinced it's really unnecessary.
- */
- /*try
- {
- Class addToTree =
- Class.forName("org.apache.jmeter.gui.action.AddToTree");
- Class remove = Class.forName("org.apache.jmeter.gui.action.Remove");
- ActionListener listener = new ActionListener()
- {
- public void actionPerformed(ActionEvent e)
- {
- reinitialize();
- }
- };
- ActionRouter ar = ActionRouter.getInstance();
- ar.addPostActionListener(addToTree, listener);
- ar.addPostActionListener(remove, listener);
- }
- catch (ClassNotFoundException e)
- {
- }*/
modulesPanel.add(nodes);
add(modulesPanel);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org