*/
public void run(IAction action) {
IWorkingCopyManager manager = JavaUI.getWorkingCopyManager();
IEditorInput editorInput = editor.getEditorInput();
try {
manager.connect(editorInput);
ICompilationUnit workingCopy = manager.getWorkingCopy(editorInput);
CreateDialog dialog = new CreateDialog(new Shell(), new BuilderGenerator());
dialog.show(workingCopy);