jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1514271 - in /jmeter/trunk/src/core/org/apache/jmeter/gui: ClearGui.java JMeterGUIComponent.java
Date Thu, 15 Aug 2013 13:41:56 GMT
Author: sebb
Date: Thu Aug 15 13:41:56 2013
New Revision: 1514271

URL: http://svn.apache.org/r1514271
Log:
Move clearGui() into separate interface

Added:
    jmeter/trunk/src/core/org/apache/jmeter/gui/ClearGui.java   (with props)
Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/JMeterGUIComponent.java

Added: jmeter/trunk/src/core/org/apache/jmeter/gui/ClearGui.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/ClearGui.java?rev=1514271&view=auto
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/ClearGui.java (added)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/ClearGui.java Thu Aug 15 13:41:56 2013
@@ -0,0 +1,32 @@
+/*
+ * 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.gui;
+
+public interface ClearGui {
+
+    /**
+     * Clear the gui and return it to initial default values. This is necessary
+     * because most gui classes are instantiated just once and re-used for
+     * multiple test element objects and thus they need to be cleared between
+     * uses.
+     */
+    void clearGui();
+    // N.B. originally called clear()
+    // @see also Clearable
+}

Propchange: jmeter/trunk/src/core/org/apache/jmeter/gui/ClearGui.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: jmeter/trunk/src/core/org/apache/jmeter/gui/ClearGui.java
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/JMeterGUIComponent.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/JMeterGUIComponent.java?rev=1514271&r1=1514270&r2=1514271&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/JMeterGUIComponent.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/JMeterGUIComponent.java Thu Aug 15 13:41:56
2013
@@ -42,7 +42,7 @@ import org.apache.jmeter.testelement.Tes
  *
  */
 
-public interface JMeterGUIComponent {
+public interface JMeterGUIComponent extends ClearGui {
 
     /**
      * Sets the name of the JMeter GUI Component. The name of the component is
@@ -176,14 +176,4 @@ public interface JMeterGUIComponent {
      * @see org.apache.jmeter.gui.util.MenuFactory
      */
     Collection<String> getMenuCategories();
-
-    /**
-     * Clear the gui and return it to initial default values. This is necessary
-     * because most gui classes are instantiated just once and re-used for
-     * multiple test element objects and thus they need to be cleared between
-     * use.
-     */
-    void clearGui();
-    // N.B. originally called clear()
-    // @see also Clearable
 }



Mime
View raw message