Hi Ariel,
Thanks for the pointer. But as in the mail thread I have the same problem that the "Add-on 1" doesn't change even after adding the WindowState.xcu file. I just tested it with WriterWindowState.xcu example file that you had provided and still no change. I've ensured that the node:name value in Addons.xcu and the name in the WriterWindowState.xcu are the same and the entry has been added to the manifest file as well. Is there anything else that I need to be looking into? Also if I need this toolbar in all the OOo modules, should I add one WindowState.xcu file for each module??

-Karthik

PS : I'll make sure that I start a new thread for every new issue from the next time :)

Ariel Constenla-Haile wrote:
Hi Karthik,

Karthik Sudarshan escribió:
Thanks Ariel for the help.

I was already using NB for development, and the debug was giving me problems,

why didn't you use then the OOo API plug-in for NB IDE?
Things are more easy with the plug-in, than just creating a new Java project with a custom ant build script.

but now it looks like they have been resolved (just needed to be patient since the message said "Listening to port ...." but the OpenOffice process was started after the deployment of extension , i.e., the Extension manager window would come and after closing that the main OpenOffice window would start and after this the breakpoint was hit).

I had given up and after your mail, gave it another shot, and it worked :)

I have another doubt though.

it would be nice a new thread for a new doubt :-)

When the project was created in NB, I added a Menu and a Toolbar. The Menu's name/title is appropriately picked up from Addons.xcu file and shows the name I've entered, but the Toolbar's name always comes as "Add-on 1". How can I fix this?

the toolbar title is specified in the window state configuration for the module (Writer, Calc, Base, etc.) where your toolbar is to be displayed. See http://api.openoffice.org/servlets/ReadMsg?list=dev&msgNo=19190

I don't know if there is an issue/RFE for this, but the toolbar title "should" be set in the Addons.xcu, it's more "logical".


Regards


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org

Reply via email to