1 19 package org.netbeans.modules.xml.refactoring.ui.j.spi; 20 21 import org.netbeans.modules.xml.refactoring.ui.j.api.RefactoringElement; 23 import org.openide.filesystems.FileObject; 24 import org.openide.text.PositionBounds; 25 26 34 public interface RefactoringElementImplementation { 35 36 int NORMAL = RefactoringElement.NORMAL; 37 38 int WARNING = RefactoringElement.WARNING; 39 41 int GUARDED = RefactoringElement.GUARDED; 42 43 int READ_ONLY = RefactoringElement.READ_ONLY; 44 45 48 String getText(); 49 50 53 String getDisplayText(); 54 55 58 boolean isEnabled(); 59 60 63 void setEnabled(boolean enabled); 64 65 67 void performChange(); 68 69 72 74 77 FileObject getParentFile(); 78 79 81 PositionBounds getPosition(); 82 83 87 int getStatus(); 88 89 93 void setStatus(int status); 94 95 99 void openInEditor(); 100 } 101 | Popular Tags |