Is it possible to cancel the creation of a view in the @PostConstruct
phase? I have:
@PostConstruct
public void createPartControl(Composite parent) {
try {
// do something where an exception is thrown
} catch (Exception e) {
// I want to cancel construction, close the view and show an error dialog
}
}