|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
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 UpdateHandler s and InvokeHandler s. |
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 Command
s, 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 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |