@Override protected void configureShell(Shell shell) { super.configureShell(shell); shell.setText(title); }
@Override protected void configureShell(Shell shell) { super.configureShell(shell); shell.setText(title); }
protected void configureShell(Shell shell) { super.configureShell(shell); shell.setText(title); }
protected void configureShell(Shell shell) { super.configureShell(shell); shell.setText(title); }
protected void configureShell(Shell shell) { super.configureShell(shell); shell.setText(_title); }
protected void configureShell(Shell shell) { super.configureShell(shell); shell.setText(_title); }
@Override protected void configureShell(Shell shell) { super.configureShell(shell); if (title != null) { shell.setText(title); } if (titleImage != null) { shell.setImage(titleImage); } }
protected void configureShell(Shell shell) { super.configureShell(shell); if (title != null) { shell.setText(title); } if (titleImage != null) { shell.setImage(titleImage); } }
@Override protected void configureShell(Shell shell) { super.configureShell(shell); if (title != null) { shell.setText(title); } if (titleImage != null) { shell.setImage(titleImage); } }
@Override protected void configureShell(Shell shell) { super.configureShell(shell); shell.setText(ProgressMessages.BlockedJobsDialog_BlockedTitle); shell.setCursor(shell.getDisplay().getSystemCursor(SWT.CURSOR_WAIT)); }
@Override protected void configureShell(final Shell shell) { super.configureShell(shell); shell.setText(JFaceResources.getString("ProgressMonitorDialog.title")); //$NON-NLS-1$ shell.setCursor(shell.getDisplay().getSystemCursor(SWT.CURSOR_WAIT)); // Add a listener to set the message properly when the dialog becomes // visible shell.addListener(SWT.Show, event -> shell.getDisplay().asyncExec(() -> setMessage(message, true))); }
@Override protected void configureShell(final Shell shell) { super.configureShell(shell); shell.setText(JFaceResources.getString("ProgressMonitorDialog.title")); //$NON-NLS-1$ if (waitCursor == null) { waitCursor = new Cursor(shell.getDisplay(), SWT.CURSOR_WAIT); } shell.setCursor(waitCursor); // Add a listener to set the message properly when the dialog becomes // visible shell.addListener(SWT.Show, event -> shell.getDisplay().asyncExec(() -> setMessage(message, true))); }
protected void configureShell(final Shell shell) { super.configureShell(shell); shell.setText(JFaceResources.getString("ProgressMonitorDialog.title")); //$NON-NLS-1$ if (waitCursor == null) { waitCursor = new Cursor(shell.getDisplay(), SWT.CURSOR_WAIT); } shell.setCursor(waitCursor); // Add a listener to set the message properly when the dialog becomes // visible shell.addListener(SWT.Show, new Listener() { public void handleEvent(Event event) { // We need to async the message update since the Show precedes // visibility shell.getDisplay().asyncExec(new Runnable() { public void run() { setMessage(message, true); } }); } }); }