Java Code Examples for com.google.gwt.user.client.ui.Widget.removeFromParent()

The following are Jave code examples for showing how to use removeFromParent() of the com.google.gwt.user.client.ui.Widget class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: empiria.player   File: TextEntryMathGapModule.java   View Source Code Vote up 4 votes
private void installViewInPlaceholder(HasWidgets placeholder) {
    Widget placeholderWidget = (Widget) placeholder;
    HasWidgets placeholderParent = (HasWidgets) placeholderWidget.getParent();
    presenter.installViewInContainer(placeholderParent);
    placeholderWidget.removeFromParent();
}