Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Close GraphicalEditor after init
Close GraphicalEditor after init [message #870815] Wed, 09 May 2012 14:50
John M. is currently offline John M.
Messages: 198
Registered: July 2010
Senior Member
Hello,

I am searching for a method to close a GraphicalEditor after init, because for example the source file is corrupt.
I have tried it with closeEditor in the init method, but it lead into a RuntimeException "Widget disposed too early".

I don't know which method is called, when the init process is finished.
But perhaps there is a better way to do that.

Thanks for any advices.
Previous Topic:Reload ZEST Tree in action
Next Topic:Refresh property view after setting another editpart
Goto Forum:
  


Current Time: Sat Aug 30 18:29:27 EDT 2014

Powered by FUDForum. Page generated in 0.01540 seconds