diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2008-05-02 12:10:03 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2008-05-02 12:10:03 +0000 |
commit | 9c2741a6af14b52025aeeb0f4aa734b7fee693d3 (patch) | |
tree | 9567a138d21bc8e0226a486c6049bfe1f7d7b35d /src/com/itmill/toolkit/demo/featurebrowser/TableExample.java | |
parent | ef750de11da02f2a19df8622fed76f7f19b72401 (diff) | |
download | vaadin-framework-9c2741a6af14b52025aeeb0f4aa734b7fee693d3.tar.gz vaadin-framework-9c2741a6af14b52025aeeb0f4aa734b7fee693d3.zip |
removed obsolete forced repaints
svn changeset:4315/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/demo/featurebrowser/TableExample.java')
-rw-r--r-- | src/com/itmill/toolkit/demo/featurebrowser/TableExample.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/com/itmill/toolkit/demo/featurebrowser/TableExample.java b/src/com/itmill/toolkit/demo/featurebrowser/TableExample.java index 4b3e1b758e..625e94da68 100644 --- a/src/com/itmill/toolkit/demo/featurebrowser/TableExample.java +++ b/src/com/itmill/toolkit/demo/featurebrowser/TableExample.java @@ -179,11 +179,9 @@ public class TableExample extends CustomComponent implements Action.Handler, if (action == ACTION_HIRE) {
// set HIRED property to true
item.getItemProperty(PROPERTY_HIRED).setValue(Boolean.TRUE);
- source.requestRepaint();
if (saved.containsId(target)) {
item = saved.getItem(target);
item.getItemProperty(PROPERTY_HIRED).setValue(Boolean.TRUE);
- saved.requestRepaint();
}
getWindow().showNotification("Hired", "" + item);
@@ -247,7 +245,6 @@ public class TableExample extends CustomComponent implements Action.Handler, }
}
getWindow().showNotification("Saved " + s);
- saved.requestRepaint();
} else if (b == hireSelected) {
// loop each selected and set property HIRED to true
@@ -259,14 +256,12 @@ public class TableExample extends CustomComponent implements Action.Handler, final Property p = item.getItemProperty(PROPERTY_HIRED);
if (p.getValue() == Boolean.FALSE) {
p.setValue(Boolean.TRUE);
- source.requestRepaint();
s++;
}
if (saved.containsId(id)) {
// also update "saved" table
item = saved.getItem(id);
item.getItemProperty(PROPERTY_HIRED).setValue(Boolean.TRUE);
- saved.requestRepaint();
}
}
getWindow().showNotification("Hired " + s);
@@ -280,7 +275,6 @@ public class TableExample extends CustomComponent implements Action.Handler, if (source.containsId(id)) {
s++;
source.removeItem(id);
- source.requestRepaint();
}
}
getWindow().showNotification("Deleted " + s);
|