[Solved] Insert an xdl file in the OXT tree with NetBeans

Java, C++, C#, Delphi... - Using the UNO bridges
Post Reply
meaulnes
Posts: 77
Joined: Thu May 07, 2009 8:38 pm

[Solved] Insert an xdl file in the OXT tree with NetBeans

Post by meaulnes »

Hi
I am a beginner (in everything Java, OO, Netbeans) but I managed to write an extension to writer for Japanese learning purpose.
It works as I want but I now need to make the option dialog. I have done the dialog in the basic IDE and exported it as an xdl file.
I think I understand the litterature about the programing of the eventhandler associated with it an about the xcu and xcs file I have to had in order to add an entry in the menu option and to prepare a receiving data structure for the saved options.
But I am blocked by something which may be considered as trivial by experts, that is: "How to insert the xdl file in the OXT tree?"
I can see in the OptionPageDemo example that there is a folder just under OXT which name is Dialogs and which contents the xdl file.
I tried to create a folder Dialog under my OXT root with the intention of copying my xdl file into it, but I couldn't manage to do that? There is no way to create a folder in the OXT node directly.
Could somebody give me some hint?
Thanks.
Last edited by meaulnes on Sun May 31, 2009 9:25 pm, edited 1 time in total.
OOo 3.1 on Ubuntu 9.10
meaulnes
Posts: 77
Joined: Thu May 07, 2009 8:38 pm

Re: [Solved]How to insert an xdl file in the OXT tree with Netea

Post by meaulnes »

Was actually trivial. Don't try to make a folder under OXT node in the project window instead do it at the project's root.
What is misleading for a beginner is that the folder appears under the OXT node!?
OOo 3.1 on Ubuntu 9.10
Post Reply