Removing Items from Gallery [message #36485] |
Fri, 15 June 2007 22:13  |
Eclipse User |
|
|
|
Hi,
Is it possible to remove individual items from the Gallery. The
clear(int) function does not seem to be working at all.
-- Hamid
|
|
|
|
|
|
|
|
|
Re: Removing Items from Gallery [message #46608 is a reply to message #43806] |
Mon, 14 January 2008 14:42  |
Eclipse User |
|
|
|
Justin Dolezy a écrit :
> Hi,
>
> It seems to me that this has done a 180 and gone the other way now with
> the bugfix? ie you can't remove for virtual galleries, only for
> non-virtual.
>
> Is that right or am I missing something?!
>
> -- Justin
>
> Nicolas Richeton wrote:
>> Hi,
>>
>> No, dispose will not work.
>> As I always use Gallery in virtual, it some API may be missing when
>> the gallery is not virtual.
>>
>> I'll fix item removal asap.
Hi,
To remove an item from a virtual gallery, you just have to update item
count and clear data cache.
I don't think it can be done differently with SWT tables or trees but if
it can, please let me know.
--
Nicolas
|
|
|
Re: Removing Items from Gallery [message #583139 is a reply to message #36485] |
Mon, 18 June 2007 04:24  |
Eclipse User |
|
|
|
Hi,
You're right, clear( int item ) is only implemented for VIRTUAL
galleries at the moment.
Please open a buzilla entry for this. As the fix is easy, I should be
able to commit the fix soon (this week).
--
Nicolas
Syed Tirmizi a écrit :
> Hi,
>
> Is it possible to remove individual items from the Gallery. The
> clear(int) function does not seem to be working at all.
>
> -- Hamid
>
|
|
|
Re: Removing Items from Gallery [message #583219 is a reply to message #36485] |
Mon, 18 June 2007 11:03  |
Eclipse User |
|
|
|
Does GalleryItem.dispose() not work?
Syed Tirmizi wrote:
> Hi,
>
> Is it possible to remove individual items from the Gallery. The
> clear(int) function does not seem to be working at all.
>
> -- Hamid
>
|
|
|
Re: Removing Items from Gallery [message #583225 is a reply to message #36645] |
Mon, 18 June 2007 11:13  |
Eclipse User |
|
|
|
Hi,
No, dispose will not work.
As I always use Gallery in virtual, it some API may be missing when the
gallery is not virtual.
I'll fix item removal asap.
--
Nicolas
Matthew Hall a écrit :
> Does GalleryItem.dispose() not work?
>
> Syed Tirmizi wrote:
>> Hi,
>>
>> Is it possible to remove individual items from the Gallery. The
>> clear(int) function does not seem to be working at all.
>>
>> -- Hamid
>>
|
|
|
Re: Removing Items from Gallery [message #583242 is a reply to message #36507] |
Mon, 18 June 2007 12:42  |
Eclipse User |
|
|
|
I have added 'Bug 193139' to bugzilla. Thanks for your help.
On 2007-06-18 03:24:10 -0500, Nicolas Richeton
<nicolas.richeton@gmail.com> said:
> Hi,
>
> You're right, clear( int item ) is only implemented for VIRTUAL
> galleries at the moment.
> Please open a buzilla entry for this. As the fix is easy, I should be
> able to commit the fix soon (this week).
|
|
|
Re: Removing Items from Gallery [message #586572 is a reply to message #36679] |
Wed, 21 November 2007 19:20  |
Eclipse User |
|
|
|
Hi,
It seems to me that this has done a 180 and gone the other way now with
the bugfix? ie you can't remove for virtual galleries, only for non-virtual.
Is that right or am I missing something?!
-- Justin
Nicolas Richeton wrote:
> Hi,
>
> No, dispose will not work.
> As I always use Gallery in virtual, it some API may be missing when the
> gallery is not virtual.
>
> I'll fix item removal asap.
|
|
|
Re: Removing Items from Gallery [message #587657 is a reply to message #43806] |
Mon, 14 January 2008 14:02  |
Eclipse User |
|
|
|
Justin Dolezy a écrit :
> Hi,
>
> It seems to me that this has done a 180 and gone the other way now with
> the bugfix? ie you can't remove for virtual galleries, only for
> non-virtual.
>
> Is that right or am I missing something?!
>
> -- Justin
>
> Nicolas Richeton wrote:
>> Hi,
>>
>> No, dispose will not work.
>> As I always use Gallery in virtual, it some API may be missing when
>> the gallery is not virtual.
>>
>> I'll fix item removal asap.
Hi,
To remove an item from a virtual gallery, you just have to update item
count and clear data cache.
I don't think it can be done differently with SWT tables or trees but if
it can, please let me know.
--
Nicolas
|
|
|
Re: Removing Items from Gallery [message #587663 is a reply to message #43806] |
Mon, 14 January 2008 14:42  |
Eclipse User |
|
|
|
Justin Dolezy a écrit :
> Hi,
>
> It seems to me that this has done a 180 and gone the other way now with
> the bugfix? ie you can't remove for virtual galleries, only for
> non-virtual.
>
> Is that right or am I missing something?!
>
> -- Justin
>
> Nicolas Richeton wrote:
>> Hi,
>>
>> No, dispose will not work.
>> As I always use Gallery in virtual, it some API may be missing when
>> the gallery is not virtual.
>>
>> I'll fix item removal asap.
Hi,
To remove an item from a virtual gallery, you just have to update item
count and clear data cache.
I don't think it can be done differently with SWT tables or trees but if
it can, please let me know.
--
Nicolas
|
|
|
Powered by
FUDForum. Page generated in 0.06109 seconds