Skip to main content



      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 00:13 Go to next message
Eclipse UserFriend
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 03:50 Go to previous messageGo to next message
Eclipse UserFriend
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 05:59 Go to previous messageGo to next message
Eclipse UserFriend
No Message Body
Re: How to handle closeable button of part [message #1099857 is a reply to message #1099853] Mon, 02 September 2013 06:01 Go to previous message
Eclipse UserFriend
Thanks for the reply "Frank Benoit". I thought there should be a way. Anyways i will try to recreate it.
Previous Topic:Mixed Mode and E4 Command/Handler Error
Next Topic:How to register an Event Broker at startup
Goto Forum:
  


Current Time: Wed Jul 02 22:39:14 EDT 2025

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

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

Back to the top