From be7ba6da82c72636b4ce85f240ae3fbfcef8ad2a Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Fri, 30 Mar 2012 19:51:04 +0300 Subject: Converted CustomComponent to use only connector hierarchy change event --- src/com/vaadin/ui/CustomComponent.java | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/com/vaadin/ui') diff --git a/src/com/vaadin/ui/CustomComponent.java b/src/com/vaadin/ui/CustomComponent.java index c11a96101a..691c9d3c32 100644 --- a/src/com/vaadin/ui/CustomComponent.java +++ b/src/com/vaadin/ui/CustomComponent.java @@ -7,8 +7,6 @@ package com.vaadin.ui; import java.io.Serializable; import java.util.Iterator; -import com.vaadin.terminal.PaintException; -import com.vaadin.terminal.PaintTarget; import com.vaadin.terminal.gwt.client.ui.CustomComponentConnector; import com.vaadin.ui.ClientWidget.LoadStyle; @@ -102,17 +100,6 @@ public class CustomComponent extends AbstractComponentContainer { /* Basic component features ------------------------------------------ */ - @Override - public void paintContent(PaintTarget target) throws PaintException { - if (root == null) { - throw new IllegalStateException("Composition root must be set to" - + " non-null value before the " + getClass().getName() - + " can be painted"); - } - - root.paint(target); - } - private class ComponentIterator implements Iterator, Serializable { boolean first = getCompositionRoot() != null; -- cgit v1.2.3