jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1411011 - in /jmeter/trunk/src/components/org/apache/jmeter/control/gui: ModuleControllerGui.java TreeNodeWrapper.java
Date Sun, 18 Nov 2012 22:50:32 GMT
Author: pmouawad
Date: Sun Nov 18 22:50:31 2012
New Revision: 1411011

URL: http://svn.apache.org/viewvc?rev=1411011&view=rev
Log:
Bug 54165 - Proxy Server: Improve rendering of target controller
Push up for reuse
Bugzilla Id: 54165

Added:
    jmeter/trunk/src/components/org/apache/jmeter/control/gui/TreeNodeWrapper.java   (with
props)
Modified:
    jmeter/trunk/src/components/org/apache/jmeter/control/gui/ModuleControllerGui.java

Modified: jmeter/trunk/src/components/org/apache/jmeter/control/gui/ModuleControllerGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/control/gui/ModuleControllerGui.java?rev=1411011&r1=1411010&r2=1411011&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/control/gui/ModuleControllerGui.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/control/gui/ModuleControllerGui.java Sun
Nov 18 22:50:31 2012
@@ -50,28 +50,6 @@ public class ModuleControllerGui extends
 // implements UnsharedComponent
 {
 
-    private static final class TreeNodeWrapper {
-    
-        private final JMeterTreeNode tn;
-    
-        private final String label;
-    
-        public TreeNodeWrapper(JMeterTreeNode tn, String label) {
-            this.tn = tn;
-            this.label = label;
-        }
-    
-        public JMeterTreeNode getTreeNode() {
-            return tn;
-        }
-    
-        /** {@inheritDoc}} */
-        @Override
-        public String toString() {
-            return label;
-        }
-    
-    }
     private static final long serialVersionUID = 240L;
 
     private JMeterTreeNode selected = null;

Added: jmeter/trunk/src/components/org/apache/jmeter/control/gui/TreeNodeWrapper.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/control/gui/TreeNodeWrapper.java?rev=1411011&view=auto
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/control/gui/TreeNodeWrapper.java (added)
+++ jmeter/trunk/src/components/org/apache/jmeter/control/gui/TreeNodeWrapper.java Sun Nov
18 22:50:31 2012
@@ -0,0 +1,46 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+package org.apache.jmeter.control.gui;
+
+import org.apache.jmeter.gui.tree.JMeterTreeNode;
+
+/**
+ * Used in JComboBoxes to reference JMeterTreeNodes
+ */
+public final class TreeNodeWrapper {
+
+    private final JMeterTreeNode tn;
+
+    private final String label;
+
+    public TreeNodeWrapper(JMeterTreeNode tn, String label) {
+        this.tn = tn;
+        this.label = label;
+    }
+
+    public JMeterTreeNode getTreeNode() {
+        return tn;
+    }
+
+    /** {@inheritDoc}} */
+    @Override
+    public String toString() {
+        return label;
+    }
+}
\ No newline at end of file

Propchange: jmeter/trunk/src/components/org/apache/jmeter/control/gui/TreeNodeWrapper.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message