diff options
author | Jouni Koivuviita <jouni.koivuviita@itmill.com> | 2009-11-02 14:44:55 +0000 |
---|---|---|
committer | Jouni Koivuviita <jouni.koivuviita@itmill.com> | 2009-11-02 14:44:55 +0000 |
commit | 256ba54000a8baffa475193f6f8bf48eae929880 (patch) | |
tree | b75fb7cc5b15c14dda5656f941634ded3b0c9069 | |
parent | 34743c68848f6f2bb871eae02ebf8335fa6c4583 (diff) | |
download | vaadin-framework-256ba54000a8baffa475193f6f8bf48eae929880.tar.gz vaadin-framework-256ba54000a8baffa475193f6f8bf48eae929880.zip |
Allow inhering Widgets to specify VPopupView popup position (changed showPopup from private to protected).
svn changeset:9577/svn branch:6.2
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ui/VPopupView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VPopupView.java b/src/com/vaadin/terminal/gwt/client/ui/VPopupView.java index 8e8a640e47..36706bdede 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VPopupView.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VPopupView.java @@ -150,7 +150,7 @@ public class VPopupView extends HTML implements Container, Iterable<Widget> { popup.show(); } - private void showPopup(final CustomPopup popup) { + protected void showPopup(final CustomPopup popup) { int windowTop = RootPanel.get().getAbsoluteTop(); int windowLeft = RootPanel.get().getAbsoluteLeft(); int windowRight = windowLeft + RootPanel.get().getOffsetWidth(); |