Removing ShelfItem from Shelf [message #36982] |
Tue, 03 July 2007 02: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 00: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
|
|
|
Re: Removing ShelfItem from Shelf [message #583374 is a reply to message #36982] |
Tue, 03 July 2007 09:50  |
Eclipse User |
|
|
|
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
>
|
|
|
Re: Removing ShelfItem from Shelf [message #583404 is a reply to message #37017] |
Wed, 04 July 2007 00:30  |
Eclipse User |
|
|
|
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.04376 seconds