| Close part programmatically [message #995244] |
Sat, 29 December 2012 09:07  |
Frank Benoit Messages: 40 Registered: July 2009 |
Member |
|
|
When I click to close a part, the associated contribution object @PreDestroy is called.
To close a part programmatically I found:
part.getParent().getChildren().remove(part);
This closes the part, but the @PreDestroy in the contribution object is not called. It is then called on application close.
How to make this right?
thanks
Frank
|
|
|
|
Powered by
FUDForum. Page generated in 0.05348 seconds