/** * Returns the refactoring associated with this wizard page. Returns * <code>null</code> if the page isn't been added to any refactoring * wizard yet. * * @return the refactoring associated with this refactoring wizard page * or <code>null</code> */ protected Refactoring getRefactoring() { RefactoringWizard wizard= getRefactoringWizard(); if (wizard == null) return null; return wizard.getRefactoring(); }
protected void configureShell(Shell newShell) { super.configureShell(newShell); String title= fWizard.getDefaultPageTitle(); if (title == null) title= ""; //$NON-NLS-1$ newShell.setText(title); fWizard.getRefactoring().setValidationContext(newShell); }
/** * {@inheritDoc} */ protected void configureShell(Shell newShell) { super.configureShell(newShell); getRefactoringWizard().getRefactoring().setValidationContext(newShell); }
throws InterruptedException { Assert.isNotNull(dialogTitle); final Refactoring refactoring = fWizard.getRefactoring(); final IJobManager manager = Job.getJobManager(); final int[] result = new int[1];
final Refactoring refactoring= fWizard.getRefactoring(); final IJobManager manager= Job.getJobManager(); final int[] result= new int[1];
int height= 400; String settingsSectionId= DIALOG_SETTINGS + '.'+ wizard.getRefactoring().getName(); fSettings= settings.getSection(settingsSectionId); if (fSettings == null) {