jInfer

cz.cuni.mff.ksi.jinfer.projecttype
Class ActionProviderImpl

java.lang.Object
  extended by cz.cuni.mff.ksi.jinfer.projecttype.ActionProviderImpl
All Implemented Interfaces:
ActionProvider

public class ActionProviderImpl
extends Object
implements ActionProvider

Ability for the jInfer project to have various actions invoked on it.


Field Summary
 
Fields inherited from interface org.netbeans.spi.project.ActionProvider
COMMAND_BUILD, COMMAND_CLEAN, COMMAND_COMPILE_SINGLE, COMMAND_COPY, COMMAND_DEBUG, COMMAND_DEBUG_SINGLE, COMMAND_DEBUG_STEP_INTO, COMMAND_DEBUG_TEST_SINGLE, COMMAND_DELETE, COMMAND_MOVE, COMMAND_REBUILD, COMMAND_RENAME, COMMAND_RUN, COMMAND_RUN_SINGLE, COMMAND_TEST, COMMAND_TEST_SINGLE
 
Constructor Summary
ActionProviderImpl(JInferProject project)
           
 
Method Summary
 String[] getSupportedActions()
           
 void invokeAction(String action, Lookup lookup)
           
 boolean isActionEnabled(String action, Lookup lookup)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionProviderImpl

public ActionProviderImpl(JInferProject project)
Method Detail

getSupportedActions

public String[] getSupportedActions()
Specified by:
getSupportedActions in interface ActionProvider

invokeAction

public void invokeAction(String action,
                         Lookup lookup)
                  throws IllegalArgumentException
Specified by:
invokeAction in interface ActionProvider
Throws:
IllegalArgumentException

isActionEnabled

public boolean isActionEnabled(String action,
                               Lookup lookup)
                        throws IllegalArgumentException
Specified by:
isActionEnabled in interface ActionProvider
Throws:
IllegalArgumentException

jInfer

Generated on Fri Dec 9 00:01:25 CET 2011