Community
Participate
Working Groups
JDT actions (e.g. org.eclipse.jdt.internal.ui.refactoring.reorg.DeleteAction) should check for ModelProvider's interested in the proposed resource changes, and invoke their validateChange method, like for example the core org.eclipse.ui.actions.DeleteResourceAction does. Currently after registering a ModelProvider that warns not to delete some model's resources, trying to delete a model's resource in the Navigator will generate a warning message while the same resource can be silently deleted in the JDT's package explorer.
Are you sure this doesn't work? All our refactorings call validateChange. Delete is implemented as refactoring as well and I just debugged it down to the call. Can you give a reproducible example?
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.