Re: Not understanding how to link events to Extensions Options Page

2013-07-26 Thread Rajath Shashidhara
Hello,

One thing I don't understand is when is external_event triggered?



On Fri, Jul 26, 2013 at 7:22 PM, Rajath Shashidhara 
rajaths.raja...@gmail.com wrote:

 Hello,

 I have attached my options page design.
 I have three buttons, Edit, Delete and Add.
 I'm not understanding how to add events to identify these button clicks in
 my XContainerWindowEventHandler Implementation.

 Please help.

 --
 Rajath S,
 M.Sc(Hons.) Physics,
 Birla Institute of Technology and Science - Pilani,
 Pilani




-- 
Rajath S,
M.Sc(Hons.) Physics,
Birla Institute of Technology and Science - Pilani,
Pilani


Re: Not understanding how to link events to Extensions Options Page

2013-07-26 Thread Oliver Brinzing
Hi Rajath,

i am sending you an example extension via email

Regards

Oliver

-- 

GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45

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



Re: Not understanding how to link events to Extensions Options Page

2013-07-26 Thread Rajath Shashidhara
Hello Oliver,

Thank you..!


On Fri, Jul 26, 2013 at 8:08 PM, Oliver Brinzing oliver.brinz...@gmx.dewrote:

 Hi Rajath,

 i am sending you an example extension via email

 Regards

 Oliver

 --

 GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45

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




-- 
Rajath S,
M.Sc(Hons.) Physics,
Birla Institute of Technology and Science - Pilani,
Pilani


Re: Not understanding how to link events to Extensions Options Page

2013-07-26 Thread Rajath Shashidhara
Hello,
When I listening to button clicks using XActionListener,
I receive an ActionEvent.

ActionEvent has a string ActionCommand attribute.
What are the values that actionCommand string can take?
Any enumeration or constant group exists?

the api reference says:
he object that implements the
XActionListenerhttp://www.openoffice.org/api/docs/common/ref/com/sun/star/awt/XActionListener.html
interface
gets this ActionEvent when the event occurs. The listener is therefore
spared the details of processing individual mouse movements and mouse
clicks, and can instead process a meaningful (semantic) event like
button pressed.

so, should I check:
actionCommand.compareTo(button pressed)==0 ?


On Fri, Jul 26, 2013 at 8:17 PM, Rajath Shashidhara 
rajaths.raja...@gmail.com wrote:

 Hello Oliver,

 Thank you..!


 On Fri, Jul 26, 2013 at 8:08 PM, Oliver Brinzing 
 oliver.brinz...@gmx.dewrote:

 Hi Rajath,

 i am sending you an example extension via email

 Regards

 Oliver

 --

 GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45

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




 --
 Rajath S,
 M.Sc(Hons.) Physics,
 Birla Institute of Technology and Science - Pilani,
 Pilani




-- 
Rajath S,
M.Sc(Hons.) Physics,
Birla Institute of Technology and Science - Pilani,
Pilani