1 19 20 package org.netbeans.modules.refactoring.spi.ui; 21 22 import org.openide.util.Lookup; 23 50 public abstract class ActionsImplementationProvider { 51 52 56 public boolean canRename(Lookup lookup) { 57 return false; 58 } 59 60 63 public void doRename(Lookup lookup) { 64 throw new UnsupportedOperationException ("Not implemented!"); 65 } 66 67 71 public boolean canFindUsages(Lookup lookup) { 72 return false; 73 } 74 75 78 public void doFindUsages(Lookup lookup) { 79 throw new UnsupportedOperationException ("Not implemented!"); 80 } 81 82 86 public boolean canDelete(Lookup lookup) { 87 return false; 88 } 89 90 93 public void doDelete(Lookup lookup) { 94 throw new UnsupportedOperationException ("Not implemented!"); 95 } 96 97 101 public boolean canMove(Lookup lookup) { 102 return false; 103 } 104 105 108 public void doMove(Lookup lookup) { 109 throw new UnsupportedOperationException ("Not implemented!"); 110 } 111 112 116 public boolean canCopy(Lookup lookup) { 117 return false; 118 } 119 120 123 public void doCopy(Lookup lookup) { 124 throw new UnsupportedOperationException ("Not implemented!"); 125 } 126 } 127 | Popular Tags |