Extension SDK 9.0.5

Package oracle.jdeveloper.externaltools

Contains interfaces and classes that allow the support for external tools in the JDeveloper IDE to be invoked, manipulated and extended by extensions.

See:
          Description

Interface Summary
ExternalToolOptionsEnvironment The options environment is provided to external tool options page to provide information about the environment in which the create or edit external tools dialog is invoked.
ExternalToolOptionsPage The external tools framework is extensible: you can register new external tool types.
ExternalToolType A type of external tool.
 

Class Summary
ExternalTool The base class for external tools in JDeveloper.
ExternalToolManager Manages external tools in JDeveloper.
 

Exception Summary
ToolRunException Exception thrown from ExternalTool.run() to indicate that the running of an external tool failed in some way.
 

Package oracle.jdeveloper.externaltools Description

Contains interfaces and classes that allow the support for external tools in the JDeveloper IDE to be invoked, manipulated and extended by extensions.

Obtaining an ExternalToolManager Instance

Obtain an instance of the ExternalToolManager class using the JNDI namespace jdeveloper/external-tool-manager, or using the utility method ExternalToolManager.getExternalToolManager().

External Tool Types

External tool types provide an extension mechanism whereby JDeveloper extensions can register customized types of external tool and plug into the existing external tools user interface in the IDE.

Each type of external tool is represented by an implementation of the ExternalToolType interface. You can register a new external tool type using the ExternalToolManager.registerType(ExternalToolType) method.

When a type is registered with the manager, the type will be available to the user when creating new external tools via the Define External Tool wizard.

Invoking the Wizard

The Define External Tool wizard for creating a new external tool can be programmatically invoked using the ExternalToolManager.invokeCreateWizard(Component, ExternalToolType) API. To invoke the Edit External Tool dialog for editing an existing tool, use the ExternalToolManager.invokeEditDialog(Component, ExternalTool) API.


Extension SDK

 

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