private void showWindow() { if (window == null) { window = createWindow(); if (isModalSearch()) { window.setIsModal(true); window.setShowModalMask(true); } } window.show(); }
/** * Show the window. */ public void show() { final Window winModal = new Window(); winModal.setWidth(500); winModal.setHeight(300); winModal.setTitle(MESSAGES.rolesWindowUnauthorizedWindowTitle()); winModal.setShowMinimizeButton(false); winModal.setIsModal(true); winModal.setShowModalMask(true); winModal.centerInPage(); winModal.setShowCloseButton(false); winModal.setZIndex(GdmLayout.roleSelectZindex); HTMLPane pane = new HTMLPane(); pane.setContents("<br/><br/><center>" + MESSAGES.rolesWindowInsufficientRightsForDesk() + "</center>"); winModal.addItem(pane); winModal.show(); } }
winModal.setShowMinimizeButton(false); winModal.setIsModal(true); winModal.setShowModalMask(true); winModal.centerInPage(); winModal.setShowCloseButton(false);
private void createWindow() { window = new Window(); window.setWidth(500); window.setHeight(300); window.setShowMinimizeButton(false); window.setIsModal(true); window.setShowModalMask(true); window.centerInPage(); window.setShowCloseButton(true); window.setZIndex(2000); VLayout layout = new VLayout(); layout.setLayoutMargin(25); layout.setMembersMargin(10); fileUploadForm = new GenericUploadForm(); button = new IButton(); layout.setLayoutMargin(25); layout.addMember(fileUploadForm); layout.addMember(button); window.addItem(layout); }
addMixinTypeWindow.setShowModalMask(true);
private Canvas createStyleToolsWindow() { this.styleChanger = new Window(); this.styleChanger.setShowModalMask(true); this.styleChanger.setWidth(250); this.styleChanger.setHeight(280);
changeNodeTypeWindow.setShowMinimizeButton(false); changeNodeTypeWindow.setIsModal(true); changeNodeTypeWindow.setShowModalMask(true); changeNodeTypeWindow.setTitle("Change Node Type Icon"); changeNodeTypeWindow.setCanDragReposition(true);
addNewNodeWindow.setShowMinimizeButton(false); addNewNodeWindow.setIsModal(true); addNewNodeWindow.setShowModalMask(true);
this.expertsWindow.setHeight(130); this.expertsWindow.setCanDragResize(true); this.expertsWindow.setShowModalMask(true);
editPropertyWindow.setShowModalMask(true); editPropertyWindow.centerInPage(); if (isNew)