The Hydra Project
XML-based Software Property Management Tool for Java
previous section:
Understanding Hydra 2.0
The Hydra API
next section:
Using Hydra 2.0
Integrating Hydra in Java applications

Using Hydra 2.0: Building a configuration file with the Hydra application

Content

The Hydra application

Go to the folder where you unzipped the release. Start the Hydra application by executing the hydra.bat file on Windows systems or the hydra.sh file on Linux systems. The graphical interface will show up. After creating a new configuration file, you will see the panel, which allows you to build a Hydra configuration with just a few clicks.

The properties of the logging console can be changed by opening "Edit -> Settings". This dialog actually shows the kind of panel you get, when you integrate Hydra into your applications.

Using the Hydra application, you can create a Hydra configuration without much effort. The value panel on the right hand side shows the ConfigValues of the currently selected node. Changing the active status of an element is done by double-clicking on it. Any errors resulting from an illegal selection will be shown via a popup.

The configuration, which we have created in earlier tutorial sections, looks like this:

Changing the key and value selection mode

The key and value selection mode can be change by right-clicking on a ConfigKey and choosing the new mode. The current key and value selection mode is displayed in blue and green, respectively, on the top of the popup menu.

Cut, copy and paste actions

Note: The cut, copy and paste actions of the toolbar and the edit menu, only apply to ConfigKeys. If you want to cut, copy or paste ConfigValues use the context-menu of the value panel.

If an edit action results in an illegal selection or and illegal labelling (remember: labels must be unique among siblings), you will be notified.

previous section:
Understanding Hydra 2.0
The Hydra API
next section:
Using Hydra 2.0
Integrating Hydra in Java applications
© 2003-2006 AIFB - OntoWare Team