Add Java Classes
You add classes to your Isight extension via the Contents
tab by specifying the new class’s name, package, and type options.
Click the Contents tab on the right side of the
Isight Developer Perspective.
Click Add.
The Isight Class dialog box appears.
Select the simple implementation of the API class. For example, select
Basic Component Editor if you are creating a component
editor.
Click Next.
In the Class Name text box, type a name for the
class.
In the Package text box, specify a package for
the class.
Click Finish.
You return to the Contents tab, and the new class
is added to the list of existing classes.
Click the newly created class to select it.
Additional options appear on the right side of the tab.
Use the Type list to determine how the selected
class will be used by this extension in Isight. For example, you can
specify that the class will be an editor (as well as defining the specific
type of editor), executor, handler, etc.
Click to save your changes to the extension.
Edit Java Classes
Java classes that already existing in your extension can be edited either
by directly accessing the associated Java code or by altering the options
displayed on the Contents tab.
Click the Contents tab on the right side of the
Isight Developer Perspective.
Select the class you want to edit from the list of classes. The classes
are divided into subsections (Handler, Runtime, Editor, etc.).
The current settings for the selected class appear to the right of the
list of classes.
To edit the class Java code directly, click Edit.
A new Eclipse tab displays the associated Java code.
If desired, change how the class will be used by this extension in Isight
using the Type list.
If desired, change the class file associated with the specified type
by clicking Browse and selecting a different,
existing class. This option is useful if you are working with multiple
versions of a class and need to switch between versions.
Click to save your changes to the extension.
|