@Override public void handleAction(Object sender, Object target) { if (window.isClosable()) { window.close(); } }
/** * Closes the principal select dialog window if present.<p> */ protected void closeWindow() { if (m_window != null) { m_window.close(); m_window = null; } }
/** * Closes the dialog window.<p> */ public void closeWindow() { if (m_window != null) { m_window.close(); m_window = null; } }
@Override protected void close() { try { m_userDTO = null; } finally { super.close(); } }
public static boolean closeDialog(AbstractComponent component) { while (component != null) { if (component instanceof Window) { ((Window)component).close(); return true; } } return false; }
ExtElement extElement = Ext.get("myWindow"); if (extElement != null && Ext.getCmp(extElement) != null && Ext.getCmp(extElement) instanceof Window) { Window window = (Window) Ext.getCmp(extElement); window.close(); }
/** * If the form is opened into a popup window using openInModalPopup(), you * you can use this method to close the popup. */ public void closePopup() { if (popup != null) { popup.close(); popup = null; } }
/** * Called on dialog close.<p> */ void onClose() { if (m_onClose != null) { m_onClose.run(); } if (m_window != null) { m_window.close(); } }
public void buttonClick(ClickEvent event) { window.close(); if (callback != null) { callback.run(); } } });
public void run() { if (cancelAction != null) { cancelAction.run(); } window.close(); } });
public void onSelection(CmsResource selected) { setResourceValue(selected); window.close(); } });
/** * Closes all opened dialog windows.<p> */ public void closeWindows() { for (Window window : getWindows()) { window.close(); } }
public void run() { window.close(); cancel(); } });
@Override public void close() { super.close(); orginalValues.clear(); removeListeners(); allComponents.clear(); this.saveButton.setEnabled(false); }
private void closePopup() { clearPreviousSessionData(); bulkUploadWindow.close(); eventBus.publish(this, BulkUploadPopupEvent.CLOSED); }
private void minimizeWindow() { bulkUploadWindow.close(); managementUIState.setBulkUploadWindowMinimised(true); eventBus.publish(this, BulkUploadPopupEvent.MINIMIZED); }
private void closePopup() { clearPreviousSessionData(); bulkUploadWindow.close(); eventBus.publish(this, BulkUploadPopupEvent.CLOSED); }
public void closePopup() { if (getPopup() != null) { getPopup().close(); } }
public void close() { m_maduraFieldGroup.destroy(); getMaduraSessionManager().getValidationSession().unbindAll(); getMaduraSessionManager().close(); super.close(); }