Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Removing Items from Gallery
Removing Items from Gallery [message #36485] Sat, 16 June 2007 02:13 Go to next message
Syed Tirmizi is currently offline Syed TirmiziFriend
Messages: 11
Registered: July 2009
Junior Member
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 #36507 is a reply to message #36485] Mon, 18 June 2007 08:24 Go to previous messageGo to next message
Nicolas Richeton is currently offline Nicolas RichetonFriend
Messages: 179
Registered: July 2009
Senior Member
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 #36645 is a reply to message #36485] Mon, 18 June 2007 15:03 Go to previous messageGo to next message
Matthew Hall is currently offline Matthew HallFriend
Messages: 368
Registered: July 2009
Senior Member
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 #36679 is a reply to message #36645] Mon, 18 June 2007 15:13 Go to previous messageGo to next message
Nicolas Richeton is currently offline Nicolas RichetonFriend
Messages: 179
Registered: July 2009
Senior Member
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 #36710 is a reply to message #36507] Mon, 18 June 2007 16:42 Go to previous messageGo to next message
Syed Tirmizi is currently offline Syed TirmiziFriend
Messages: 11
Registered: July 2009
Junior Member
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 #43806 is a reply to message #36679] Thu, 22 November 2007 00:20 Go to previous messageGo to next message
Justin Dolezy is currently offline Justin DolezyFriend
Messages: 68
Registered: July 2009
Member
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 #46584 is a reply to message #43806] Mon, 14 January 2008 19:02 Go to previous messageGo to next message
Nicolas Richeton is currently offline Nicolas RichetonFriend
Messages: 179
Registered: July 2009
Senior Member
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 #46608 is a reply to message #43806] Mon, 14 January 2008 19:42 Go to previous message
Nicolas Richeton is currently offline Nicolas RichetonFriend
Messages: 179
Registered: July 2009
Senior Member
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 08:24 Go to previous message
Nicolas Richeton is currently offline Nicolas RichetonFriend
Messages: 179
Registered: July 2009
Senior Member
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 15:03 Go to previous message
Matthew Hall is currently offline Matthew HallFriend
Messages: 368
Registered: July 2009
Senior Member
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 15:13 Go to previous message
Nicolas Richeton is currently offline Nicolas RichetonFriend
Messages: 179
Registered: July 2009
Senior Member
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 16:42 Go to previous message
Syed Tirmizi is currently offline Syed TirmiziFriend
Messages: 11
Registered: July 2009
Junior Member
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] Thu, 22 November 2007 00:20 Go to previous message
Justin Dolezy is currently offline Justin DolezyFriend
Messages: 68
Registered: July 2009
Member
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 19:02 Go to previous message
Nicolas Richeton is currently offline Nicolas RichetonFriend
Messages: 179
Registered: July 2009
Senior Member
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 19:42 Go to previous message
Nicolas Richeton is currently offline Nicolas RichetonFriend
Messages: 179
Registered: July 2009
Senior Member
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
Previous Topic:GridViewer and GridColumnGroup
Next Topic:Problem with shell closing after the grid drag detection mechanism being enabled and some grid colum
Goto Forum:
  


Current Time: Sun Nov 10 17:49:55 GMT 2024

Powered by FUDForum. Page generated in 0.07081 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top