Community
Participate
Working Groups
I'd like to prevent a ViewPart from being closed by the user if a certain condition is true. To that effect, I'd like to be notified if a view is about to be closed and to veto that close. There are notification hooks in the framework which will tell me that a view had been closed, or is about to close, but I can't veto them. Worse, any type of activity to free resources must be currently done in that event handler, since after all event handlers are run, the view *will* be freed or closed. The editor framework does something like this already. If a resource has been modified, a dialog pops up and if you choose to cancel the operation (the close) , the editor will not close. I wanna do the same for views (ViewPart subclasses) and for Editors in a more general way then the dirty -> save -> quit pattern. It seems that this type of functionality is missing from the UI framework.
There is no plan to work on this feature at this time as it represents a significant behavioral change in part management
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.