There are several ways to create a UNO project using the plugin:
the first one is the
menu entry and choose the Project item as shown by the illustration 6.the second one is the icon in the toolbar representing a blue folder with a star as shown by the illustration 7.
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.
is the component name, in our case, it will be Helloworld
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.
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).
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.
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.
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.