/** * Retained for backward compatibility. * * Returns the title area composite. There is no composite in this * implementation so the shell is returned. * * @return Composite * @deprecated */ protected Composite getTitleArea() { return getShell(); }
/** * Retained for backward compatibility. * * Returns the title area composite. There is no composite in this * implementation so the shell is returned. * * @return Composite * @deprecated */ @Deprecated protected Composite getTitleArea() { return getShell(); }
/** * Retained for backward compatibility. * * Returns the title area composite. There is no composite in this * implementation so the shell is returned. * * @return Composite * @deprecated */ @Deprecated protected Composite getTitleArea() { return getShell(); }
private void handleStatusChanged() { if (dialog.getShell() == null || dialog.getShell().isDisposed()) return; String message = messageProvider.getMessage(currentStatusProvider); int type = messageProvider.getMessageType(currentStatusProvider); if (type == IMessageProvider.ERROR) { dialog.setMessage(null); dialog.setErrorMessage(uiChanged ? message : null); if (currentStatus != null && currentStatusHasException()) { handleStatusException(); } } else { dialog.setErrorMessage(null); dialog.setMessage(message, type); } }
getShell().addListener(SWT.Resize, event -> layoutForNewMessage(true)); return contents;
getShell().addListener(SWT.Resize, new Listener() { public void handleEvent(Event event) { layoutForNewMessage(true);
getShell().addListener(SWT.Resize, event -> layoutForNewMessage(true)); return contents;
dialog.getShell().addDisposeListener(new DisposeListener() { @Override public void widgetDisposed(DisposeEvent e) {
getShell().layout(); } else {
getShell().layout(); } else {
getShell().layout(); } else {