org.netbeans.jellytools.actions

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 » jellytools » org.netbeans.jellytools.actions 
org.netbeans.jellytools.actions
Provides a set of classes to perform popup, main menu, IDE API and shortcut actions.

The recommended way how to invoke popup or main menu is through an {@link org.netbeans.jellytools.actions.Action} or {@link org.netbeans.jellytools.actions.ActionNoBlock} instance. Predefined actions in this package are descendants either of Action for non blocking operations or of ActionNoBlock for operations which may block further execution by a modal dialog showing.
An action can be performed in "main menu", "popup", "shortcut" or "API" modes. By default it is performed in the first available mode because not every action is defined for all four modes. An example of usage can be:

  // performs in default mode
  new CopyAction().perform();
  // performs in "menu" mode
  new CopyAction().performMenu();

It also possible to specify a node or component on which an action will be performed:

  // selects node first and then performs on it
  new FindAction().perform(myNode);
  // focuses component first and then performs action in "popup" mode
  new FindAction().performPopup(myComponentOperator);

If an action is not predefined, you can create and use your own action.

  // invokes main menu item "Edit|Copy"
  new Action("Edit|Copy", null).perform();
  // invokes popup menu item "Copy" on given node
  new Action(null, "Copy").perform(myNode);

  // invokes main menu item "Edit|Find" (first selects given node)
  new ActionNoBlock("Edit|Find", null).perform(myFolderNode);
  // invoke popup menu item "Find" on given component
  new ActionNoBlock(null, "Find").perform(myEditorOperator);

Java Source File NameTypeComment
Action.javaClass Ancestor class for all blocking actions.

It handles performing action through main menu (MENU_MODE), popup menu (POPUP_MODE), IDE SystemAction API call (API_MODE) or through keyboard shortcut (SHORTCUT_MODE).

Action can be performed in exact mode by calling performMenu(...), performPopup(...), performAPI(...) or performShortcut(...).

If exact mode is not supported by the action it throws UnsupportedOperationException.

Current implementation supports MENU_MODE when menuPath is defined, POPUP_MODE when popupPath is defined, API_MODE when systemActionClass is defined and SHORTCUT_MODE when shorcut is defined (see Action constructors).

Action also can be performed using runtime default mode by calling perform(...).

When default mode is not support by the action other modes are tried till supported mode found and action is performed.

ActionNoBlock.javaClass
ActionNoBlockTest.javaClass
ActionTest.javaClass Test of org.netbeans.jellytools.actions.Action.
AddLocaleAction.javaClass Used to call "Add Locale" popup menu item on properties node.
AddLocaleActionTest.javaClass
AttachWindowAction.javaClass Used to attach a window to a new position by IDE API.
AttachWindowActionTest.javaClass Test AttachWindowAction.
BuildProjectAction.javaClass Used to call "Build Project" popup menu item on project's root node.
BuildProjectActionTest.javaClass
CleanProjectAction.javaClass Used to call "Clean Project" popup menu item on project's root node.
CleanProjectActionTest.javaClass
CloneViewAction.javaClass Used to call "Clone Document" popup menu item, "Window|Clone Document" main menu item or "org.openide.actions.CloneViewAction".
CloseAllDocumentsAction.javaClass Used to call "Close All Documents" popup menu item, "Window|Close All Documents" main menu, "org.netbeans.core.windows.actions.CloseAllDocumentsAction" or Ctrl+Shift+F4 shortcut.
CloseViewAction.javaClass Used to call "Close Window" popup menu item, "Window|Close Window" main menu, "org.openide.actions.CloseViewAction" or Ctrl+F4 shortcut.
CompileAction.javaClass Used to call "Build|Compile File" main menu item, "Compile File" popup menu or F9 shortcut.
CompileActionTest.javaClass
CopyAction.javaClass Used to call "Copy" popup menu item, "Edit|Copy" main menu item, "org.openide.actions.CopyAction" or Ctrl+C shortcut.
CopyActionTest.javaClass
CustomizeAction.javaClass Used to call "Customize" popup menu item or "org.openide.actions.CustomizeAction".
CustomizeActionTest.javaClass Test org.netbeans.jellytools.actions.CustomizeAction.
CutAction.javaClass Used to call "Cut" popup menu item, "Edit|Cut" main menu item, "org.openide.actions.CutAction" or Ctrl+X shortcut.
CutActionTest.javaClass Test org.netbeans.jellytools.actions.CutAction.
DebugProjectAction.javaClass Used to call "Debug" popup menu item on project's root node, "Run|Debug Main Project" main menu item or Ctrl+F5 shortcut.
DebugProjectActionTest.javaClass
DeleteAction.javaClass Used to call "Delete" popup menu item, "Edit|Delete" main menu item, "org.openide.actions.DeleteAction" or Delete shortcut.
DeleteActionTest.javaClass
DocumentsAction.javaClass Used to call "Window|Documents" main menu item, "org.netbeans.core.windows.actions.DocumentsAction" or shortcut Shift+F4.
EditAction.javaClass Used to call "Edit" popup menu item or "org.openide.actions.EditAction".
EditActionTest.javaClass
ExploreFromHereAction.javaClass Used to call "Explore From Here" popup menu item, "org.openide.actions.OpenLocalExplorerAction".
ExploreFromHereActionTest.javaClass
FavoritesAction.javaClass Used to call "Window|Favorites" main menu item or CTRL+3 shortcut.
FilesViewAction.javaClass Used to call "Window|Files" main menu item.
FindAction.javaClass Used to call "Find" popup menu item, "Edit|Find" main menu item, "org.openide.actions.FindAction" or Ctrl+F shortcut.
FindActionTest.javaClass
FindInFilesAction.javaClass Used to call "Find" popup menu item, "Edit|Find in Projects" main menu item, "org.netbeans.modules.search.FindInFilesAction".
FindInFilesActionTest.javaClass Test of org.netbeans.jellytools.actions.FindInFilesAction.
HelpAction.javaClass Used to call "Help|Help Contents" main menu item, or F1 shortcut.
HelpActionTest.javaClass
MaximizeWindowAction.javaClass Used to call "Maximize Window" popup menu item, "Window|Maximize Window" main menu item, shortcut or maximize window by IDE API.
MaximizeWindowActionTest.javaClass Test org.netbeans.jellytools.actions.MaximizeWindowAction and org.netbeans.jellytools.actions.RestoreWindowAction.
NewFileAction.javaClass
NewFileActionTest.javaClass
NewProjectAction.javaClass
OpenAction.javaClass Used to call "Open" popup menu item or "org.openide.actions.OpenAction".
OpenActionTest.javaClass Test org.netbeans.jellytools.actions.OpenAction.
OptionsViewAction.javaClass Used to call "Tools|Options" main menu item or "org.netbeans.core.actions.OptionsAction".
OutputWindowViewAction.javaClass Used to call "Window|Output|Output" main menu item or "org.netbeans.core.output.OutputWindowAction".
OutputWindowViewActionTest.javaClass Test OutputWindowViewAction.
PaletteViewAction.javaClass Used to call "Window|Palette" main menu item.
PaletteViewActionTest.javaClass
PasteAction.javaClass Used to call "Paste" popup menu item, "Edit|Paste" main menu item, "org.openide.actions.PasteAction" or Ctrl+V shortcut.
PasteActionNoBlock.javaClass Used to no-blocking call "Paste" popup menu item, "Edit|Paste" main menu item, "org.openide.actions.PasteAction" or Ctrl+V shortcut.
PasteActionTest.javaClass
ProjectViewAction.javaClass Used to call "Window|Projects" main menu item.
ProjectViewActionTest.javaClass
PropertiesAction.javaClass Used to call "Properties" popup menu item, "Window|Properties" main menu item, "org.openide.actions.PropertiesAction" or Ctrl+Shift+7 shortcut.
PropertiesActionTest.javaClass Test of org.netbeans.jellytools.actions.PropertiesAction.
RenameAction.javaClass Used to call "Rename" popup menu item or "org.openide.actions.RenameAction".
RenameActionTest.javaClass
ReplaceAction.javaClass Used to call "Edit|Replace" main menu item, "org.openide.actions.ReplaceAction" or Ctrl+H shortcut.
ReplaceActionTest.javaClass
RestoreWindowAction.javaClass Used to call "Restore Window" popup menu item, "Window|Restore Window" main menu item, shortcut or restore window by IDE API.
RuntimeViewAction.javaClass Used to call "Window|Runtime" main menu item or "org.netbeans.core.actions.ViewRuntimeTabAction".
RuntimeViewActionTest.javaClass
SaveAction.javaClass Used to call "Save" popup menu item, "File|Save" main menu item, "org.openide.actions.SaveAction" or Ctrl+S shortcut.
SaveActionTest.javaClass Test of org.netbeans.jellytools.actions.SaveAction.
SaveAllAction.javaClass Used to call "File|Save All" main menu item or "org.openide.actions.SaveAllAction".
SaveAllActionTest.javaClass Test of org.netbeans.jellytools.actions.SaveAllAction.
SaveAsTemplateAction.javaClass Used to call "Save As Template" popup menu item or "org.openide.actions.SaveAsTemplateAction".
SaveAsTemplateActionTest.javaClass
ShowDescriptionAreaAction.javaClass Used to call "Show Description Area" popup menu item on a property sheet.
ShowDescriptionAreaActionTest.javaClass Test of ShowDescriptionAreaAction class.
SortByCategoryAction.javaClass Used to call "Sort by Category" popup menu item on a property sheet.
SortByCategoryActionTest.javaClass Test of SortByCategoryAction calss.
SortByNameAction.javaClass Used to call "Sort by Name" popup menu item on a property sheet.
SortByNameActionTest.javaClass Test of SortByNameAction class.
ViewAction.javaClass Used to call "View" popup menu item or "org.openide.actions.ViewAction".
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.