|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
Command execution classes.
See:
Description
| Interface Summary | |
|---|---|
| InvokeHandler | InvokeHandlers are responsible for performing an action in a specific context. |
| UpdateHandler | UpdateHandlers decide when actions are enabled or disabled based on a context. |
| Class Summary | |
|---|---|
| Command | The Command interface defines the interface of all command objects. |
| CommandProcessor | The CommandProcessor is responsible for managing the execution of the IDE commands and maintining the undo stack. |
| Context | The Context class provides information about the state of the IDE when a command is in the process of being executed. |
| Controller | Controllers encapulate extension defined UpdateHandlers and InvokeHandlers. |
Command execution classes. These include classes such as the Controller that gets called when an action is triggered by the user, and the command processing classes managing the undo/redo stack.
IDE service providers must provide an implementation of the CommandProcessor. This class is responsible for managing the execution of Commands, and for maintaining the undo stack.
When extension writers add new menus to an IDE, they must implement the Controller interface and declare their controller implementation in the actions section of the Extension Deployment Descriptor (EDD).
When one of these new menus is executed by the user, the IDE calls the Controller's handleAction method. There, the extension writers should instantiate the Command implementation that will carry out some action, and use the CommandProcessor to invoke that command.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||