Re: [api-dev] Regarding XJobExecutor.

2006-07-21 Thread bharathy b
Hi Andreas i tried the method you suggested , again. It worked. Thank you. public void trigger(String sEvent) { String buttonName; buttonName=sEvent; if(buttonName.equals(button1)) yahoocom(); else if(buttonName.equals(button2)) googlecom(); } and in Addons.xcu node

Re: [api-dev] Regarding XJobExecutor.

2006-07-20 Thread Andreas Schlüns
bharathy b wrote: Hi Andreas thank you, i tried the solution you specified. In the Addons.xcu i made the following changes. node oor:name=m1 oor:op=replace prop oor:name=URL oor:type=xs:string valueservice:name.vojta.openoffice.wavelet.Wavelet?button1/value /prop node

Re: [api-dev] Regarding XJobExecutor.

2006-07-20 Thread bharathy b
Hi Andreas thank you, i agree i must have gone wrong somewhere. i will redo it and check the service implementation and registration. I tried the ProtocolHandlerAddon_java in SDK after reading the Dev Guide. but i didnt succeed.The buttons are grayed out. i have been trying to add a

Re: [api-dev] Regarding XJobExecutor.

2006-07-19 Thread bharathy b
Hi Mathias i am reading the Dev guide and i have refferred the SDK examples. I am getting confused as i read and i am getting a clear picture.I will go through them again. Thank you, With Regards, Bharathy B Mathias Bauer [EMAIL PROTECTED] wrote: bharathy b wrote: Hi Mathias

Re: [api-dev] Regarding XJobExecutor.

2006-07-18 Thread Andreas Schlüns
bharathy b wrote: Hi i wanted to know if the following is possible using the XJobExecutor. Is it possible to have more than one trigger method for an XJobExecutor? At present i have added a toolbar button to the writer document using an Addon. (Using an UNO Component in Java).

Re: [api-dev] Regarding XJobExecutor.

2006-07-18 Thread Mathias Bauer
bharathy b wrote: Hi i wanted to know if the following is possible using the XJobExecutor. Is it possible to have more than one trigger method for an XJobExecutor? At present i have added a toolbar button to the writer document using an Addon. (Using an UNO Component in Java). Onclick

Re: [api-dev] Regarding XJobExecutor.

2006-07-18 Thread Mathias Bauer
bharathy b wrote: Hi Mathias Thankyou... Regarding the ProtocolHandlerAddon method.. I want to know where should i define sayHello( ). You need to implement a ProtcolHandler, mainly its interface com.sun.star.frame.XDispatchProvider, as described in the DevGuide. Take the demo

[api-dev] Regarding XJobExecutor.

2006-07-17 Thread bharathy b
Hi i wanted to know if the following is possible using the XJobExecutor. Is it possible to have more than one trigger method for an XJobExecutor? At present i have added a toolbar button to the writer document using an Addon. (Using an UNO Component in Java). Onclick of the button