Make simple code to remove perspective buttons
FEA: ItEr75S04BugFixing
This commit is contained in:
parent
ad511c51d3
commit
ad3e033ed8
1 changed files with 1 additions and 5 deletions
|
|
@ -257,13 +257,9 @@ public class OrderCRUDController extends GenericForwardComposer {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setupGlobalButtons() {
|
private void setupGlobalButtons() {
|
||||||
|
|
||||||
Hbox perspectiveButtonsInsertionPoint = (Hbox) page
|
Hbox perspectiveButtonsInsertionPoint = (Hbox) page
|
||||||
.getFellow("perspectiveButtonsInsertionPoint");
|
.getFellow("perspectiveButtonsInsertionPoint");
|
||||||
|
perspectiveButtonsInsertionPoint.getChildren().clear();
|
||||||
List<Component> children = perspectiveButtonsInsertionPoint
|
|
||||||
.getChildren();
|
|
||||||
perspectiveButtonsInsertionPoint.getChildren().removeAll(children);
|
|
||||||
|
|
||||||
createOrderButton.setParent(perspectiveButtonsInsertionPoint);
|
createOrderButton.setParent(perspectiveButtonsInsertionPoint);
|
||||||
createOrderButton.addEventListener(Events.ON_CLICK,
|
createOrderButton.addEventListener(Events.ON_CLICK,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue