Removing ShelfItem from Shelf [message #36982] |
Tue, 03 July 2007 06:54 |
Eclipse User |
|
|
|
Originally posted by: vlalan.csc.com
Hi,
I have created 5 shelf items in a shelf.
Now I want user to remove any of the created shelfitems from shelf, but I
am not able to do so as neither PShelf nor PShelfItem provides me with
such remove mehtods.
The PShelfItem takes the PShelf object in its constructor which I think is
creating the problem.
Please provide with your thoughts if faced the same problem
Thanks in Advance,
Vipul
|
|
|
|
Re: Removing ShelfItem from Shelf [message #37085 is a reply to message #37017] |
Wed, 04 July 2007 04:30 |
Eclipse User |
|
|
|
Originally posted by: vlalan.csc.com
Chris Gross wrote:
> Hi Vipul,
> You remove PShelfItems just as you would any item in an SWT widget.
> That is, call PShelfItem#dispose.
> Regards,
> -Chris
> Vipul wrote:
>> Hi,
>>
>> I have created 5 shelf items in a shelf.
>> Now I want user to remove any of the created shelfitems from shelf, but
>> I am not able to do so as neither PShelf nor PShelfItem provides me with
>> such remove mehtods.
>> The PShelfItem takes the PShelf object in its constructor which I think
>> is creating the problem.
>>
>> Please provide with your thoughts if faced the same problem
>>
>> Thanks in Advance,
>> Vipul
>>
Hi Chris,
Thanks for the suggestion.
Its working now
-Vipul
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03291 seconds