Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Removing ShelfItem from Shelf
Removing ShelfItem from Shelf [message #36982] Tue, 03 July 2007 06:54 Go to next message
Eclipse UserFriend
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 #37017 is a reply to message #36982] Tue, 03 July 2007 13:50 Go to previous messageGo to next message
Chris Gross is currently offline Chris GrossFriend
Messages: 253
Registered: July 2009
Senior Member
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 #37085 is a reply to message #37017] Wed, 04 July 2007 04:30 Go to previous message
Eclipse UserFriend
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 13:50 Go to previous message
Chris Gross is currently offline Chris GrossFriend
Messages: 471
Registered: July 2009
Senior Member
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 04:30 Go to previous message
Vipul is currently offline VipulFriend
Messages: 6
Registered: July 2009
Junior Member
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
Previous Topic:CDateTime and Multiple Monitors
Next Topic:Data inconsistency in Grid table
Goto Forum:
  


Current Time: Sun Dec 21 02:37:33 GMT 2014

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

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