/** {@inheritDoc} */
 protected void configureShell(final Shell shell) {
   super.configureShell(shell);
   shell.setText(JarPackagerMessages.JarRefactoringDialog_dialog_title);
   PlatformUI.getWorkbench()
       .getHelpSystem()
       .setHelp(shell, IJavaHelpContextIds.JARPACKAGER_REFACTORING_DIALOG);
 }
 protected void configureShell(Shell newShell) {
   super.configureShell(newShell);
   String title = fWizard.getDefaultPageTitle();
   if (title == null) title = fWizard.getWindowTitle();
   if (title == null) title = ""; // $NON-NLS-1$
   newShell.setText(title);
   fWizard.getRefactoring().setValidationContext(newShell);
 }
 @Override
 protected void configureShell(Shell newShell) {
   super.configureShell(newShell);
   newShell.setText(JFaceResources.getString("PreferenceDialog.title")); // $NON-NLS-1$
   newShell.addShellListener(
       new ShellAdapter() {
         @Override
         public void shellActivated(ShellEvent e) {
           if (lastShellSize == null) {
             lastShellSize = getShell().getSize();
           }
         }
       });
 }
 @Override
 protected void configureShell(Shell newShell) {
   super.configureShell(newShell);
   newShell.setText(Messages.getString("dialogs.XmlConverterConfigurationDialog.title"));
 }
 @Override
 protected void configureShell(Shell newShell) {
   super.configureShell(newShell);
   newShell.setText(Messages.editExpression);
 }
Пример #6
0
 /* (non-Javadoc)
  * Method declared in Window.
  */
 @Override
 protected void configureShell(Shell shell) {
   super.configureShell(shell);
   if (title != null) shell.setText(title);
 }
Пример #7
0
 /*
  * @see org.eclipse.jface.window.Window#configureShell(Shell)
  */
 protected void configureShell(Shell shell) {
   super.configureShell(shell);
   PlatformUI.getWorkbench().getHelpSystem().setHelp(shell, IHelpContextIds.LOOP_DIALOG);
 }
 /*
  * (non-Javadoc) Method declared on Window.
  */
 protected void configureShell(Shell newShell) {
   super.configureShell(newShell);
   newShell.setText(NLS.bind("Details for ''" + field.getLabelText() + "''", null));
   // PlatformUI.getWorkbench().getHelpSystem().setHelp(newShell,
   //		IWorkbenchHelpContextIds.ABOUT_DIALOG);
 }