aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/CustomField.java
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2012-05-25 16:09:54 +0300
committerLeif Åstrand <leif@vaadin.com>2012-06-06 09:32:52 +0300
commitf7da26697a01cfda4334557fe94579abffee09bb (patch)
treeef4d19dfe67e9477e8a2b49f96db3cc2a96efe61 /src/com/vaadin/ui/CustomField.java
parent564f67f77b535f490fb7c7783d89bf83a55c8cab (diff)
downloadvaadin-framework-f7da26697a01cfda4334557fe94579abffee09bb.tar.gz
vaadin-framework-f7da26697a01cfda4334557fe94579abffee09bb.zip
Initial extension support (#6690)
Diffstat (limited to 'src/com/vaadin/ui/CustomField.java')
-rw-r--r--src/com/vaadin/ui/CustomField.java9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/com/vaadin/ui/CustomField.java b/src/com/vaadin/ui/CustomField.java
index 806ee91335..269f24fb2c 100644
--- a/src/com/vaadin/ui/CustomField.java
+++ b/src/com/vaadin/ui/CustomField.java
@@ -63,11 +63,9 @@ public abstract class CustomField<T> extends AbstractField<T> implements
@Override
public void attach() {
root = getContent();
- super.attach();
getContent().setParent(this);
- getContent().attach();
-
fireComponentAttachEvent(getContent());
+ super.attach();
}
/**
@@ -79,7 +77,6 @@ public abstract class CustomField<T> extends AbstractField<T> implements
@Override
public void detach() {
super.detach();
- getContent().detach();
}
/**
@@ -154,10 +151,6 @@ public abstract class CustomField<T> extends AbstractField<T> implements
return (null != getContent()) ? 1 : 0;
}
- public void requestRepaintAll() {
- AbstractComponentContainer.requestRepaintAll(this);
- }
-
/**
* Fires the component attached event. This should be called by the
* addComponent methods after the component have been added to this