aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-11-29 18:52:20 +0200
committerArtur Signell <artur@vaadin.com>2012-11-30 15:21:30 +0200
commit49ef8465e461c22095de7de12e87ead3f42b45e7 (patch)
tree7db5dbdd7e08535719e2a8e2702019a0d43e0ff7
parentfaf6b3861d26571ffefd3dc60c2ff7d5685576d0 (diff)
downloadvaadin-framework-49ef8465e461c22095de7de12e87ead3f42b45e7.tar.gz
vaadin-framework-49ef8465e461c22095de7de12e87ead3f42b45e7.zip
Removed dead code (#10128, #9552)
Change-Id: I0197d14072e8948d338829e51cc71c260e869412
-rw-r--r--client/src/com/vaadin/client/ui/VAccordion.java13
-rw-r--r--client/src/com/vaadin/client/ui/VTabsheet.java9
-rw-r--r--client/src/com/vaadin/client/ui/VTabsheetBase.java7
3 files changed, 0 insertions, 29 deletions
diff --git a/client/src/com/vaadin/client/ui/VAccordion.java b/client/src/com/vaadin/client/ui/VAccordion.java
index d4dad3dc64..962b13e4cd 100644
--- a/client/src/com/vaadin/client/ui/VAccordion.java
+++ b/client/src/com/vaadin/client/ui/VAccordion.java
@@ -207,19 +207,6 @@ public class VAccordion extends VTabsheetBase {
}
- @Override
- protected void selectTab(final int index, final UIDL contentUidl) {
- StackItem item = getStackItem(index);
- if (index != activeTabIndex) {
- open(index);
- iLayout();
- // TODO Check if this is needed
- client.runDescendentsLayout(this);
-
- }
- item.setContent(contentUidl);
- }
-
public void onSelectTab(StackItem item) {
final int index = getWidgetIndex(item);
if (index != activeTabIndex && !disabled && !readonly
diff --git a/client/src/com/vaadin/client/ui/VTabsheet.java b/client/src/com/vaadin/client/ui/VTabsheet.java
index 63aeaa2fc7..a63af0ba6f 100644
--- a/client/src/com/vaadin/client/ui/VTabsheet.java
+++ b/client/src/com/vaadin/client/ui/VTabsheet.java
@@ -918,15 +918,6 @@ public class VTabsheet extends VTabsheetBase implements Focusable,
}
}
- @Override
- protected void selectTab(int index, final UIDL contentUidl) {
- if (index != activeTabIndex) {
- activeTabIndex = index;
- tb.selectTab(activeTabIndex);
- }
- renderContent(contentUidl);
- }
-
private void renderContent(final UIDL contentUIDL) {
final ComponentConnector content = client.getPaintable(contentUIDL);
Widget newWidget = content.getWidget();
diff --git a/client/src/com/vaadin/client/ui/VTabsheetBase.java b/client/src/com/vaadin/client/ui/VTabsheetBase.java
index 02e29a5a87..16d81e569a 100644
--- a/client/src/com/vaadin/client/ui/VTabsheetBase.java
+++ b/client/src/com/vaadin/client/ui/VTabsheetBase.java
@@ -69,13 +69,6 @@ public abstract class VTabsheetBase extends ComplexPanel {
boolean selected, boolean hidden);
/**
- * Implement in extending classes. This method should render any previously
- * non-cached content and set the activeTabIndex property to the specified
- * index.
- */
- protected abstract void selectTab(int index, final UIDL contentUidl);
-
- /**
* Implement in extending classes. This method should return the number of
* tabs currently rendered.
*/