I'm creating an Eclipse plugin that need to invoke the Eclipse "Refactor - Move" dialog box and pass the source file and destination location values dynamically. Since I already have the source file and destination location, I can skip the "Choose destination" page and directly go to the "Preview" page where the user will review the rafactored code caused by the move.
My questions is, how can I call the existing Eclipse dialog from my plugin? What are the extension points should I use?
If it helps, By examining the eclipse source code, I could chase the flow till:
org.eclipse.jdt.internal.ui.refactoring.reorg.ReorgMoveAction.run(IStructuredSelection) -> org.eclipse.jdt.internal.corext.refactoring.RefactoringExecutionStarter.startMoveRefactoring(IResource, IJavaElement, Shell)
[Updated on: Tue, 14 August 2012 18:05]
Report message to a moderator