Gallery Item event listeners [message #47966] |
Mon, 28 January 2008 16:38  |
Eclipse User |
|
|
|
hi all
I'm trying listen to "mouse down" or/and other events on Nebula GalleryItem
<snip>
GalleryItem item = new GalleryItem(group, SWT.NONE);
....
....
item.addListener(SWT.MouseDown, new Listener(){
public void handleEvent(Event event) {
// TODO Auto-generated method stub
System.out.println("event on item handled...");
}
});
</snip>
unfortunately handleEvent is never called. My GalleryItem belongs to a group
where group
is a GalleryItem belongs to a Gallery
(GalleryItem group = new GalleryItem(gallery, SWT.NONE);)
Is somenthing i'm missing here or event handling is not yet implemented ?
thank you
Stavros
|
|
|
Re: Gallery Item event listeners [message #49571 is a reply to message #47966] |
Wed, 20 February 2008 03:35  |
Eclipse User |
|
|
|
Hi,
MouseDown is not yet implemented. You can use the Selection event to
track item selection in a gallery.
If you need a particular event, please open a bug.
--
Nicolas
Stavros Kounis a écrit :
> hi all
>
> I'm trying listen to "mouse down" or/and other events on Nebula GalleryItem
>
> <snip>
> GalleryItem item = new GalleryItem(group, SWT.NONE);
> ...
> ...
> item.addListener(SWT.MouseDown, new Listener(){
> public void handleEvent(Event event) {
> // TODO Auto-generated method stub
> System.out.println("event on item handled...");
> }
> });
> </snip>
>
> unfortunately handleEvent is never called. My GalleryItem belongs to a group
> where group
> is a GalleryItem belongs to a Gallery
> (GalleryItem group = new GalleryItem(gallery, SWT.NONE);)
>
> Is somenthing i'm missing here or event handling is not yet implemented ?
>
> thank you
>
> Stavros
>
>
|
|
|
Re: Gallery Item event listeners [message #588633 is a reply to message #47966] |
Wed, 20 February 2008 03:35  |
Eclipse User |
|
|
|
Hi,
MouseDown is not yet implemented. You can use the Selection event to
track item selection in a gallery.
If you need a particular event, please open a bug.
--
Nicolas
Stavros Kounis a écrit :
> hi all
>
> I'm trying listen to "mouse down" or/and other events on Nebula GalleryItem
>
> <snip>
> GalleryItem item = new GalleryItem(group, SWT.NONE);
> ...
> ...
> item.addListener(SWT.MouseDown, new Listener(){
> public void handleEvent(Event event) {
> // TODO Auto-generated method stub
> System.out.println("event on item handled...");
> }
> });
> </snip>
>
> unfortunately handleEvent is never called. My GalleryItem belongs to a group
> where group
> is a GalleryItem belongs to a Gallery
> (GalleryItem group = new GalleryItem(gallery, SWT.NONE);)
>
> Is somenthing i'm missing here or event handling is not yet implemented ?
>
> thank you
>
> Stavros
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02981 seconds