public ExtractInterfaceWizard(ExtractInterfaceProcessor processor, Refactoring refactoring) { super(refactoring, DIALOG_BASED_USER_INTERFACE); fProcessor= processor; setDefaultPageTitle(RefactoringMessages.ExtractInterfaceWizard_Extract_Interface); }
public static void startExtractInterfaceRefactoring(final IType type, final Shell shell) { ExtractInterfaceProcessor processor= new ExtractInterfaceProcessor(type, JavaPreferencesSettings.getCodeGenerationSettings(type.getJavaProject())); Refactoring refactoring= new ProcessorBasedRefactoring(processor); new RefactoringStarter().activate(new ExtractInterfaceWizard(processor, refactoring), shell, RefactoringMessages.OpenRefactoringWizardAction_refactoring, RefactoringSaveHelper.SAVE_REFACTORING); }
@Override protected void addUserInputPages(){ addPage(new ExtractInterfaceInputPage(fProcessor)); }
public static void startExtractInterfaceRefactoring(final IType type, final Shell shell) { ExtractInterfaceProcessor processor= new ExtractInterfaceProcessor(type, JavaPreferencesSettings.getCodeGenerationSettings(type.getJavaProject())); Refactoring refactoring= new ProcessorBasedRefactoring(processor); new RefactoringStarter().activate(new ExtractInterfaceWizard(processor, refactoring), shell, RefactoringMessages.OpenRefactoringWizardAction_refactoring, RefactoringSaveHelper.SAVE_REFACTORING); }
@Override protected void addUserInputPages(){ addPage(new ExtractInterfaceInputPage(fProcessor)); }
public ExtractInterfaceWizard(ExtractInterfaceRefactoring refactoring) { super(refactoring, DIALOG_BASED_USER_INTERFACE); setDefaultPageTitle(RefactoringMessages.ExtractInterfaceWizard_Extract_Interface); }
public static void startExtractInterfaceRefactoring(final IType type, final Shell shell) throws JavaModelException { final ExtractInterfaceRefactoring refactoring= new ExtractInterfaceRefactoring(new ExtractInterfaceProcessor(type, JavaPreferencesSettings.getCodeGenerationSettings(type.getJavaProject()))); new RefactoringStarter().activate(refactoring, new ExtractInterfaceWizard(refactoring), shell, RefactoringMessages.OpenRefactoringWizardAction_refactoring, RefactoringSaveHelper.SAVE_JAVA_ONLY_UPDATES); }
protected void addUserInputPages(){ addPage(new ExtractInterfaceInputPage()); }
public ExtractInterfaceWizard(ExtractInterfaceProcessor processor, Refactoring refactoring) { super(refactoring, DIALOG_BASED_USER_INTERFACE); fProcessor= processor; setDefaultPageTitle(RefactoringMessages.ExtractInterfaceWizard_Extract_Interface); }