|
|
|
|
|
Re: Drag and select the GalleryItems in GalleryViewer [message #34396 is a reply to message #34296] |
Tue, 08 May 2007 08:08  |
Eclipse User |
|
|
|
Hi,
This is not supported right now, but it is definitely on my todo list.
Please open a bugzilla entry for this.
Thanks
--
Nicolas
Swetha a écrit :
> Hi,
> Thanks for the reply...
> I don't want the items to be dragged..
> I want if we drag the mouse on Gallery screen, all the gallery items
> which are in that area of mouse dragged area must be selected.. just
> like in windows if we drag the mouse all the icons within that area
> will be selected ..the same thing I wnat to implement for my Gallery View.
>
>
> Thanks,
> Swetha
>
>
>
>
>
|
|
|
|
|
Re: Drag and select the GalleryItems in GalleryViewer [message #581990 is a reply to message #34228] |
Mon, 07 May 2007 02:59  |
Eclipse User |
|
|
|
Hi,
If you want to drag items out of the gallery, just add a drag source on
the gallery, and use gallery.getSelection() within the dragsource
listener to get the items that are being dragged.
int operations = DND.DROP_COPY;
Transfer[] types = new Transfer[] { FileTransfer.getInstance() };
final DragSource source = new DragSource(gallery, operations);
source.setTransfer(types);
source.addDragListener(new DragSourceListener() {} );
There are several SWT drag and drop examples here :
http://www.eclipse.org/swt/snippets/
Currently, moving items in a single gallery is not supported.
--
Nicolas
Swetha a écrit :
> Hi,
>
> Can anyone please let me know.. how to get this feature..
>
> Thanks,
> Swetha
>
|
|
|
Re: Drag and select the GalleryItems in GalleryViewer [message #582009 is a reply to message #34262] |
Mon, 07 May 2007 07:50  |
Eclipse User |
|
|
|
Hi,
Thanks for the reply...
I don't want the items to be dragged..
I want if we drag the mouse on Gallery screen, all the gallery items
which are in that area of mouse dragged area must be selected.. just like
in windows if we drag the mouse all the icons within that area will be
selected ..the same thing I wnat to implement for my Gallery View.
Thanks,
Swetha
|
|
|
Re: Drag and select the GalleryItems in GalleryViewer [message #582063 is a reply to message #34296] |
Tue, 08 May 2007 08:08  |
Eclipse User |
|
|
|
Hi,
This is not supported right now, but it is definitely on my todo list.
Please open a bugzilla entry for this.
Thanks
--
Nicolas
Swetha a écrit :
> Hi,
> Thanks for the reply...
> I don't want the items to be dragged..
> I want if we drag the mouse on Gallery screen, all the gallery items
> which are in that area of mouse dragged area must be selected.. just
> like in windows if we drag the mouse all the icons within that area
> will be selected ..the same thing I wnat to implement for my Gallery View.
>
>
> Thanks,
> Swetha
>
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.06372 seconds