II - Development of Taxonomic Tool

        Taxonomic tool (TaxTool) aims to provide an easy way for non-computer skilled people to use taxonomic software.

        This global scheme shows where the TaxTool is located and its role in the architecture of the taxonomic software.

Fig xx: Location and role of TaxTool in taxonomic Software

        

        As we can see, TaxTool ensures the communication between the data and the user. This communication is done within an interface, which can call all the functions developed in the taxonomic service.

For presenting the TaxTool’s development work, I will first tackle the construction of the interface (component used, main classes of the interface), then I will raise the part of the communication between data and TaxTool, and I will finish by the…

Note: The present document is done for giving an overview of TaxTool but also for permitting to new developers to modify its quickly. That’s why classes and interface construction are described in details.

1 – TaxTool’s interface construction

        A good interface must be simple and easy to learn for the common user. That’s why we choose to develop an interface close to a classic files explorer (e.g. Windows explorer) because most of users know well this interface.

Here are the requirements we define in this goal:

  • Taxonomy elements (Taxon and Specimen) must appear as classic files for the user
  • Actions can be done in different ways
  • Users can see dynamically all the modifications he does

These requirements have obviously strongly influenced the choice of the components for developing the interface.

For building its, we have mainly use java swing library.

The Swing classes eliminate Java's biggest weakness: its relatively primitive user interface toolkit. Swing provides many new components and containers that allow building sophisticated user interfaces, far beyond what was possible with AWT. The old components have been greatly improved, and there are many new components, like trees, tables, and even text editors.

Note: This part presents the development of the standalone application of TaxTool. Indeed, the final goal for the interface is to be integrating into Netscape through an applet but for testing, it’s easiest to have a simple java application without applet communication.


The first thing to do has been to establish the base of the interface. How is the user is going to see data of the taxonomy, how can he trigger action?

Thus, the following part describes the components chosen for the interface, the reasons why, and the way to construct them.

1.1 - Windows construction

1.1.1 - TaxTool Main Window

Main window allows user to interact with taxonomy by using the followings elements:

        - a menu bar and a popup menu for choosing actions to do

        - a tree for displaying taxonomic elements

        - keyboard shortcut for special actions

The following picture shows the main window with the main elements which compose its.

fig xx: Main window of TaxTool

        The Main window is an instance of TaxtToolWindow class which call two other classes (TaxToolTreePanel, and TaxToolPanel) in order to build the final panel.

 The following scheme shows how this window is constructed by the cooperation of these three classes.

fig xx: Overview of classes for building main window

        

        1.1.2 – Action Windows

        Action windows are the windows displayed when the user selects an action. There are two types of action windows:

  • Those which need the user to enters argument (rename specimen, etc)
  • Those in which the user has just to confirm his choice (delete specimen, etc)

a) Action windows with argument

We also use three classes for the construction of this window. The class, NameOfActionAction is the class used for calling function of the taxonomic service and for modifying display of the tree.


Actions windows are built according to this global scheme.

b) Action windows with choice

There is only one class for this type of window. In this class, there is a Yes or No JDialog panel and in function of the choice, the action is done or not.

Join now!

Now that we know how the windows are constructed and the main classes used for that, it’s time to know more about the action component.


1.2 – Actions components and events management

        The user has many ways to do the same action.

For example, for adding a specimen, the user can use the menu bar, or the popup menu.

This part is going to describe what components are used for these actions, how we can build these components, and how we can handle the action.

1.2.1 - Menu Bar

        

        There is one menu ...

This is a preview of the whole essay