1 19 package org.netbeans.modules.xml.refactoring.spi; 20 21 import java.io.IOException ; 22 import org.netbeans.modules.xml.refactoring.RefactorRequest; 23 import org.netbeans.modules.xml.refactoring.impl.RefactoringUtil; 24 import org.netbeans.modules.xml.xam.Referenceable; 25 26 35 public abstract class ChangeExecutor { 36 37 public abstract <T extends RefactorRequest> boolean canChange(Class <T> changeType, Referenceable target); 38 39 43 public void precheck(RefactorRequest request) { 44 } 45 46 51 public void doChange(RefactorRequest request) throws IOException { 52 } 53 54 59 public UIHelper getUIHelper() { 60 return new UIHelper(); 61 } 62 63 } 64 65 | Popular Tags |