]> source.dussan.org Git - vaadin-framework.git/commitdiff
refactored method name to correspond to the one (setDebugId) to be added to GWT ...
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Fri, 14 Dec 2007 10:16:22 +0000 (10:16 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Fri, 14 Dec 2007 10:16:22 +0000 (10:16 +0000)
svn changeset:3241/svn branch:trunk

src/com/itmill/toolkit/data/Buffered.java
src/com/itmill/toolkit/data/Validator.java
src/com/itmill/toolkit/terminal/CompositeErrorMessage.java
src/com/itmill/toolkit/terminal/Paintable.java
src/com/itmill/toolkit/terminal/SystemError.java
src/com/itmill/toolkit/terminal/UserError.java
src/com/itmill/toolkit/terminal/gwt/server/CommunicationManager.java
src/com/itmill/toolkit/ui/AbstractComponent.java
src/com/itmill/toolkit/ui/CustomComponent.java

index 450d63c37cf60f8bd6666cf69515c64675d34629..0556d3e2d27e0562c2558e3d7bd6a5d53b31fb83 100644 (file)
@@ -298,12 +298,12 @@ public interface Buffered {
         public void requestRepaintRequests() {
         }
 
-        public String getTestingIdentifier() {
+        public String getDebugId() {
             // TODO Auto-generated method stub
             return null;
         }
 
-        public void setTestingIdentifier(String id) {
+        public void setDebugId(String id) {
             throw new UnsupportedOperationException(
                     "Setting testing id for this Paintable is not implemented");
         }
index e2cb3b31f96f73204668bed138ea303b701793cc..35cd14a39c067ddc1fd9c07953bceef614e2e178 100644 (file)
@@ -162,11 +162,11 @@ public interface Validator {
         public void requestRepaintRequests() {
         }
 
-        public String getTestingIdentifier() {
+        public String getDebugId() {
             return null;
         }
 
-        public void setTestingIdentifier(String id) {
+        public void setDebugId(String id) {
             throw new UnsupportedOperationException(
                     "Setting testing id for this Paintable is not implemented");
         }
index da4533e62909e242ba5fa44ce06af0b30ac8e822..c1caf6942cd9fdd8166cb29ea4ed49e3b1132871 100644 (file)
@@ -175,11 +175,11 @@ public class CompositeErrorMessage implements ErrorMessage {
         return retval;
     }
 
-    public String getTestingIdentifier() {
+    public String getDebugId() {
         return null;
     }
 
-    public void setTestingIdentifier(String id) {
+    public void setDebugId(String id) {
         throw new UnsupportedOperationException(
                 "Setting testing id for this Paintable is not implemented");
     }
index 4ea9b4ed5eebc973fedbee9d4664a49cd17576dc..0a4b2798c0d265efcd43e5565a2e544e20b369ea 100644 (file)
@@ -48,11 +48,11 @@ public interface Paintable extends java.util.EventListener {
      * testing purposes.
      * 
      * @param id
-     *                A short (< 20 chars) alphanumeric indentifier
+     *                A short (< 20 chars) alphanumeric id
      */
-    public void setTestingIdentifier(String id);
+    public void setDebugId(String id);
 
-    public String getTestingIdentifier();
+    public String getDebugId();
 
     /**
      * Repaint request event is thrown when the paintable needs to be repainted.
index b8571323fed5e1c33a8fbcd52bd1bad2f49c7901..d82aa4d5bcaf995bfbcbf133b53a888281c96be3 100644 (file)
@@ -123,11 +123,11 @@ public class SystemError extends RuntimeException implements ErrorMessage {
     public void requestRepaintRequests() {
     }
 
-    public String getTestingIdentifier() {
+    public String getDebugId() {
         return null;
     }
 
-    public void setTestingIdentifier(String id) {
+    public void setDebugId(String id) {
         throw new UnsupportedOperationException(
                 "Setting testing id for this Paintable is not implemented");
     }
index 5318dbc686ef32f940fce492277b7c347e07eccc..182867bef0df94815abc6a27275c8a51f5f31674 100644 (file)
@@ -140,11 +140,11 @@ public class UserError implements ErrorMessage {
         return msg;
     }
 
-    public String getTestingIdentifier() {
+    public String getDebugId() {
         return null;
     }
 
-    public void setTestingIdentifier(String id) {
+    public void setDebugId(String id) {
         throw new UnsupportedOperationException(
                 "Setting testing id for this Paintable is not implemented");
     }
index e636f4710537e0d23cd1b4fa30ddfd2c2a810686..6453318cef25c9ac40113cb24780de2ce1a943c4 100644 (file)
@@ -738,7 +738,7 @@ public class CommunicationManager implements Paintable.RepaintRequestListener,
         String id = (String) paintableIdMap.get(paintable);
         if (id == null) {
             // use testing identifier as id if set
-            id = paintable.getTestingIdentifier();
+            id = paintable.getDebugId();
             if (id == null) {
                 id = "PID" + Integer.toString(idSequence++);
             }
index 8750fbce8fc9621c2b15a1397c723ecd3a156af5..90099eecc75d77225b51ef320419acc60f33df91 100644 (file)
@@ -132,11 +132,11 @@ public abstract class AbstractComponent implements Component, MethodEventSource
      */
     public abstract String getTag();
 
-    public void setTestingIdentifier(String id) {
+    public void setDebugId(String id) {
         testingId = id;
     }
 
-    public String getTestingIdentifier() {
+    public String getDebugId() {
         return testingId;
     }
 
index f407d1b05a27ce38299a8f3c240df4785cd45b89..453c0fcfb1c8d4b3acd4c4a498ea63d73c80650c 100644 (file)
@@ -500,11 +500,11 @@ public class CustomComponent implements Component {
 
     }
 
-    public void setTestingIdentifier(String id) {
+    public void setDebugId(String id) {
         testingId = id;
     }
 
-    public String getTestingIdentifier() {
+    public String getDebugId() {
         return testingId;
     }