Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » How to handle closeable button of part
How to handle closeable button of part [message #1097707] Fri, 30 August 2013 04:13 Go to next message
bava 502 is currently offline bava 502
Messages: 6
Registered: August 2013
Junior Member
Hi ,

I am new to e4 RCP app development. I have a part with close button and i am displaying a table with data inside this part. I want to close the part and reopen it from menu button. Here i am facing a problem: Once i close the part and trying to show it again using "service.showPart(Part, PartState.VISIBLE);" empty part is displayed but its not able to display the Table content and giving "Widget disposed" exception. Please help me how can i handle this situation. I want to close and reopen the part with Table widget inside it.

Re: How to handle closeable button of part [message #1099156 is a reply to message #1097707] Sun, 01 September 2013 07:50 Go to previous messageGo to next message
Frank Benoit is currently offline Frank Benoit
Messages: 47
Registered: July 2009
Member
Hi

i would guess, you can hide widget and make them again visible. But once closed (and disposed), you can't reuse them. You need to recreate the view.

Frank
Re: How to handle closeable button of part [message #1099853 is a reply to message #1099156] Mon, 02 September 2013 09:59 Go to previous messageGo to next message
bava 502 is currently offline bava 502
Messages: 6
Registered: August 2013
Junior Member
No Message Body
Re: How to handle closeable button of part [message #1099857 is a reply to message #1099853] Mon, 02 September 2013 10:01 Go to previous message
bava 502 is currently offline bava 502
Messages: 6
Registered: August 2013
Junior Member
Thanks for the reply "Frank Benoit". I thought there should be a way. Anyways i will try to recreate it.
Previous Topic:LoginDialog in LifeCycleManager
Next Topic:How to register an Event Broker at startup
Goto Forum:
  


Current Time: Tue Sep 30 13:58:31 GMT 2014

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

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