1 19 20 package org.netbeans.spi.project; 21 22 import org.openide.util.Lookup; 23 24 32 public interface ActionProvider { 33 34 37 String COMMAND_BUILD = "build"; 39 42 String COMMAND_COMPILE_SINGLE = "compile.single"; 44 47 String COMMAND_CLEAN = "clean"; 49 52 String COMMAND_REBUILD = "rebuild"; 54 57 String COMMAND_RUN = "run"; 59 62 String COMMAND_RUN_SINGLE = "run.single"; 64 67 String COMMAND_TEST = "test"; 69 72 String COMMAND_TEST_SINGLE = "test.single"; 74 77 String COMMAND_DEBUG = "debug"; 79 82 String COMMAND_DEBUG_SINGLE = "debug.single"; 84 87 String COMMAND_DEBUG_TEST_SINGLE = "debug.test.single"; 89 93 String COMMAND_DEBUG_STEP_INTO = "debug.stepinto"; 95 100 String COMMAND_DELETE = "delete"; 102 107 String COMMAND_COPY = "copy"; 109 114 String COMMAND_MOVE = "move"; 116 121 String COMMAND_RENAME = "rename"; 123 130 String [] getSupportedActions(); 131 132 142 void invokeAction(String command, Lookup context) throws IllegalArgumentException ; 143 144 154 boolean isActionEnabled(String command, Lookup context) throws IllegalArgumentException ; 155 156 } 157 | Popular Tags |