Getting Started with Developing Extensions
You can start developing extensions once you have downloaded and installed
Oracle9i JDeveloper 9.0.3. All samples in this guide are based on Oracle9i JDeveloper 9.0.3.
The complete kit is also available for download.
This kit includes all the samples and the accompanying documentation.
Understanding the basic framework
The first section of this guide will help you understand the basics of the Extensions
framework. This section contains a set of basic samples which clearly illustrate
the mechanisms of adding functionality to the IDE. Each sample provides information
on which interface you need to implement and exactly what code you need to write
to develop your extension. Each of these samples are included in the Extension SDK.
- The basic framework
The first sample explains the basic framework which you need to
understand to build extensions. This sample illustrates how you can call a
dialog box from three places: the Tools menu, the context menu of the Navigator
and from the File|New Gallery.
- Write to the Log
Window
This sample shows how to display a message in the Log Window. This
feature can be employed to give feedback to the user.
- Call an external
program
This sample explains how you can call an external process using some
parameters obtained from the IDE. In this example, we will select a database
table in the Database Browser and display the details of related database
connection in a Console Window. This sample will also show the way to restrict
addin access to a specific kind of object.
- What's in my IDE?
Here you will learn how to list the various objects contained in the
IDE starting at the very top level.
- What's in my workspace?
This example shows how to scan the contents of the selected workspace.
- What's in my project?
This sample shows how to list the various objects which belong to
a given project.
- Add a component
in a project
In this example you will learn to programatically add a java class
to the current project.
- How to build a
Wizard?
This example shows how you can build a multi-panel wizard to interact
with the user.
|