1 11 package org.eclipse.jdt.internal.corext.refactoring; 12 13 import java.util.Map ; 14 15 import org.eclipse.core.runtime.CoreException; 16 17 import org.eclipse.ltk.core.refactoring.Refactoring; 18 import org.eclipse.ltk.core.refactoring.RefactoringDescriptor; 19 20 import org.eclipse.jdt.core.refactoring.descriptors.JavaRefactoringContribution; 21 22 27 public abstract class JDTRefactoringContribution extends JavaRefactoringContribution { 28 29 32 public final RefactoringDescriptor createDescriptor(final String id, final String project, final String description, final String comment, final Map arguments, final int flags) { 33 return new JDTRefactoringDescriptor(id, project, description, comment, arguments, flags); 34 } 35 36 45 public abstract Refactoring createRefactoring(RefactoringDescriptor descriptor) throws CoreException; 46 } | Popular Tags |