incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fabian <>
Subject Re: [EXT] image double click
Date Wed, 15 Feb 2012 09:42:26 GMT
Hi Ariel,

thx, good to know! 

I just got back to the Dispatchinterceptor since I had to resolve other issues first.
As you mentioned I intercepted the events for:
".uno:GraphicDialog" and ".uno:InsertGraphic".

Now I want to only intercept the event if an image of interest was double-clicked. Am I right
that neither the call of querydipatch nor the actual dispatch call (within my interceptor)
gives me the source of the event, so what image was doublecklicked? 

I guess when query dispatch is called I have to check if one of the two uno commands above
was triggered and get the selected image (using xSelectionSupplier) to check if the image
is of interest to me, then I return my own dispatcher. Otherwise I return the slave dispatchPprovider.

Is that a proper way to do it?


On Feb 15, 2012, at 2:20 AM, Ariel Constenla-Haile wrote:

> On Tue, Feb 07, 2012 at 04:32:30PM -0300, Ariel Constenla-Haile wrote:
>> AFAIK if you use the wizard (right click on a package and choose New
>> - Other, in the "New File" dialog choose "" under
>> Categories and "Java UNO Object" under "File Types", then select the
>> type to implement) the class is added automatically (I can't tell now,
>> it does not work on Linux, the "Select Services" dialog shows "<No Types
>> Available>").
> Rebuilding the NB project turned out in a NB plugin without that issue.
> I only tested that it works on 6.9.1 (Linux and WinXP):
> Regards
> -- 
> Ariel Constenla-Haile
> La Plata, Argentina

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message