Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Package javax.ide.command

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.

 

Package javax.ide.command Description

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.


Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Copyright © 1997, 2012, Oracle. All rights reserved.