]> source.dussan.org Git - vaadin-framework.git/commitdiff
Updated javadoc (#9684) 68/368/1
authorArtur Signell <artur@vaadin.com>
Fri, 23 Nov 2012 15:33:30 +0000 (17:33 +0200)
committerArtur Signell <artur@vaadin.com>
Fri, 23 Nov 2012 15:33:30 +0000 (17:33 +0200)
Change-Id: I38ca8700d2c6bf0cd2b8514295de607af7c15edb

server/src/com/vaadin/server/AbstractClientConnector.java

index 70a4c342ccc2793a8931879af40b3a8e05aff700..cce73d0fa642c8f58ff170a9890ffd1c1ab80e4b 100644 (file)
@@ -35,6 +35,7 @@ import java.util.logging.Logger;
 import org.json.JSONException;
 import org.json.JSONObject;
 
+import com.vaadin.client.ui.LegacyConnector;
 import com.vaadin.event.EventRouter;
 import com.vaadin.event.MethodEventSource;
 import com.vaadin.shared.communication.ClientRpc;
@@ -117,7 +118,12 @@ public abstract class AbstractClientConnector implements ClientConnector,
     }
 
     /**
-     * @deprecated As of 7.0, use {@link #markAsDirty()} instead
+     * @deprecated As of 7.0, use {@link #markAsDirty()} instead. Note that you
+     *             typically do not need to call {@link #markAsDirty()} as
+     *             {@link #getState()} will mark the connector dirty and the
+     *             framework will then check what, if anything, needs to be sent
+     *             to the client. {@link LegacyConnector}s which rely on paint
+     *             might still need to call this or {@link #markAsDirty()} .
      */
     @Deprecated
     @Override