Make simple code to remove perspective buttons

FEA: ItEr75S04BugFixing
This commit is contained in:
Manuel Rego Casasnovas 2011-10-31 16:46:25 +01:00
parent ad511c51d3
commit ad3e033ed8

View file

@ -257,13 +257,9 @@ public class OrderCRUDController extends GenericForwardComposer {
}
private void setupGlobalButtons() {
Hbox perspectiveButtonsInsertionPoint = (Hbox) page
.getFellow("perspectiveButtonsInsertionPoint");
List<Component> children = perspectiveButtonsInsertionPoint
.getChildren();
perspectiveButtonsInsertionPoint.getChildren().removeAll(children);
perspectiveButtonsInsertionPoint.getChildren().clear();
createOrderButton.setParent(perspectiveButtonsInsertionPoint);
createOrderButton.addEventListener(Events.ON_CLICK,