Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
12c (12.1.3)

E41664-01

Package javax.ide.command

Command execution classes.

See: Description

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.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
12c (12.1.3)

E41664-01

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