Java Doc for ActionProvider.java in  » IDE-Netbeans » project.ant » org » netbeans » spi » project » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » project.ant » org.netbeans.spi.project 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.spi.project.ActionProvider

ActionProvider
public interface ActionProvider (Code)
Ability for a project to have various actions (e.g. Build) invoked on it. Should be registered in a project's lookup and will be used by UI infrastructure.
See Also:   org.netbeans.api.project.Project.getLookup
See Also:    ActionUtils
See Also:    ProjectSensitiveActions.projectCommandAction(...)
author:
   Jesse Glick


Field Summary
 StringCOMMAND_BUILD
     Standard command to incrementally build the project.
 StringCOMMAND_CLEAN
     Standard command to clean build products.
 StringCOMMAND_COMPILE_SINGLE
    
 StringCOMMAND_COPY
     Standard command for deleting the project.
 StringCOMMAND_DEBUG
    
 StringCOMMAND_DEBUG_SINGLE
    
 StringCOMMAND_DEBUG_STEP_INTO
     Standard command for starting app in debugger and stopping at the beginning of app whatever that means.
 StringCOMMAND_DEBUG_TEST_SINGLE
    
 StringCOMMAND_DELETE
     Standard command for deleting the project.
 StringCOMMAND_MOVE
     Standard command for moving the project.
 StringCOMMAND_REBUILD
     Standard command to do a "clean" (forced) rebuild.
 StringCOMMAND_RENAME
     Standard command for renaming the project.
 StringCOMMAND_RUN
    
 StringCOMMAND_RUN_SINGLE
    
 StringCOMMAND_TEST
    
 StringCOMMAND_TEST_SINGLE
    


Method Summary
 String[]getSupportedActions()
     Get a list of all commands which this project supports.
 voidinvokeAction(String command, Lookup context)
     Run a project command. Will be invoked in the event thread. The context may be ignored by some commands, but some may need it in order to get e.g.
 booleanisActionEnabled(String command, Lookup context)
     Tells whether the command can be invoked in given context and thus if actions representing this command should be enabled or disabled. The context may be ignored by some commands, but some may need it in order to get e.g.

Field Detail
COMMAND_BUILD
String COMMAND_BUILD(Code)
Standard command to incrementally build the project.



COMMAND_CLEAN
String COMMAND_CLEAN(Code)
Standard command to clean build products.



COMMAND_COMPILE_SINGLE
String COMMAND_COMPILE_SINGLE(Code)
Standard command for compiling set of files



COMMAND_COPY
String COMMAND_COPY(Code)
Standard command for deleting the project.
since:
   1.7



COMMAND_DEBUG
String COMMAND_DEBUG(Code)
Standard command for running the project in debugger



COMMAND_DEBUG_SINGLE
String COMMAND_DEBUG_SINGLE(Code)
Standard command for running single file in debugger



COMMAND_DEBUG_STEP_INTO
String COMMAND_DEBUG_STEP_INTO(Code)
Standard command for starting app in debugger and stopping at the beginning of app whatever that means.



COMMAND_DEBUG_TEST_SINGLE
String COMMAND_DEBUG_TEST_SINGLE(Code)
Standard command for running one test in debugger



COMMAND_DELETE
String COMMAND_DELETE(Code)
Standard command for deleting the project.
since:
   1.6



COMMAND_MOVE
String COMMAND_MOVE(Code)
Standard command for moving the project.
since:
   1.7



COMMAND_REBUILD
String COMMAND_REBUILD(Code)
Standard command to do a "clean" (forced) rebuild.



COMMAND_RENAME
String COMMAND_RENAME(Code)
Standard command for renaming the project.
since:
   1.7



COMMAND_RUN
String COMMAND_RUN(Code)
Standard command for running the project



COMMAND_RUN_SINGLE
String COMMAND_RUN_SINGLE(Code)
Standard command for running one file



COMMAND_TEST
String COMMAND_TEST(Code)
Standard command for running tests on given projects



COMMAND_TEST_SINGLE
String COMMAND_TEST_SINGLE(Code)
Standard command for running one test file





Method Detail
getSupportedActions
String[] getSupportedActions()(Code)
Get a list of all commands which this project supports. a list of command names suitable for ActionProvider.invokeAction
See Also:   ActionProvider.COMMAND_BUILD
See Also:   ActionProvider.COMMAND_CLEAN
See Also:   ActionProvider.COMMAND_REBUILD



invokeAction
void invokeAction(String command, Lookup context) throws IllegalArgumentException(Code)
Run a project command. Will be invoked in the event thread. The context may be ignored by some commands, but some may need it in order to get e.g. the selected source file to build by itself, etc.
Parameters:
  command - a predefined command name (must be among ActionProvider.getSupportedActions)
Parameters:
  context - any action context, e.g. for a node selection(as in ContextAwareAction)
throws:
  IllegalArgumentException - if the requested command is not supported



isActionEnabled
boolean isActionEnabled(String command, Lookup context) throws IllegalArgumentException(Code)
Tells whether the command can be invoked in given context and thus if actions representing this command should be enabled or disabled. The context may be ignored by some commands, but some may need it in order to get e.g. the selected source file to build by itself, etc.
Parameters:
  command - a predefined command name (must be among ActionProvider.getSupportedActions)
Parameters:
  context - any action context, e.g. for a node selection(as in ContextAwareAction)
throws:
  IllegalArgumentException - if the requested command is not supported



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.