Creating the project

There are several ways to create a UNO project using the plugin:

Next you have to fill in a form (see illustration 8) to configure your project: the next lines will describe the different fields and their meaning to help you fill them.

New UNO-IDL project wizard page
Illustration 8: New UNO-IDL project wizard page
Project name

is the component name, in our case, it will be Helloworld

Directory

is the directory on your computer where the project will be created. You can change the default one by deselecting the Use default check box. The default location of each Eclipse project is a directory with your project name in the current Eclipse workspace.

Root package

is the name of the first module of your component. It generally composed of two parts: the vendor name (here org.openoffice) and the project name (here helloworld).

Used SDK

selects the OpenOffice.org SDK which will be used to develop the component. You generally will have only one SDK in the list, but you can add others in the preferences or by clicking on the Configure SDKs button.

Used OOo

selects the version of OpenOffice.org to use to develop the component. As for the SDK, you will generally have only one entry in the list, but you can add others in the preferences or by clicking on the OOo Installations button.

Programming language

selects the programming language for the component implementation. For the moment, there is only Java available, however C++ and python are planned.

You can now click on the Finish button or Next if you are eager to know a bit more on what will happen during the project's creation. For this tutorial we will go further to better understand what you will get after the wizard. In fact the next step in the wizard will consist in configuring an empty service for the component. The default name of this service is the project name and it implements the com.sun.star.uno.XInterface interface. However you can change the default interface by clicking on the Browse button which will provide you a list of the known interfaces.

As we will define a new interface for our Helloworld service, we will keep the default values and change the interface name when we will have created it.